Urgent WordPress Automatic Upgrade Update
To all those who are using WordPress Automatic Upgrade and may have upgraded to WordPress 2.5 there is a bug which was reported earlier which breaks automatic plugin updates which is a feature in WordPress 2.5.
This feature breaks because of a library we used to handle zip files which is also used by the plugin updater. Since the plugin updater does not need to check if the class in question has already been instantiated I have changed the code in the plugin to ensure that the PclZip library is not loaded while updating a plugin.
Anyway for those who do want to continue using WordPress Automatic Upgrade plugin please update to the latest version first or else if you are already using WordPress 2.5 first deactivate the plugin and then update and activate it.
I take immense pleasure in saying this too that WPAU has reached version 1.0 and actively supports upgrading from WordPress 2.5 to any new version that may be released.
Download: WordPress Automatic Upgrade v1.0





Mark A.
March 29th, 2008 at 3:37 pm #
Just for clarification purposes. I am still on WP 2.3.3, running WPAU 0.8
Can I run WPAU 0.8 to upgrade to WP 2.5 without breaking anything (except for some other plugins, maybe)?
Reply to this comment
Keith Dsouza Reply:
March 29th, 2008 at 3:43 pm
Mark yes you can upgrade the version from 2.3.3 to 2.5 without issues, the issues only crop up after you upgrade to 2.5 so whichever way you go upgrade and then run the automatic upgrade
Reply to this comment
DT
March 29th, 2008 at 3:37 pm #
What time was this post posted, as I just updated the WP Automatic Upgrade plugin with a new download. The Zip file is stamped with the time Sat, 29 Mar 2008 18:52:09. Is that the newest version?
Reply to this comment
Keith Dsouza Reply:
March 29th, 2008 at 3:42 pm
DT Yes that is the newest version which I released today.
Reply to this comment
Crystal Renaud
March 29th, 2008 at 5:23 pm #
i installed the plugin for the first time today. how will i know when the update takes place?
Reply to this comment
Patrix
March 29th, 2008 at 5:42 pm #
Thanks for the quick fix. However, there is a problem with reactivating the plugins. After upgrading the database, clicking on the next step link takes you to the first page of WPAU Manage screen. I had to go and manually reactivate the plugins. Based on twitter, few other people have also faced that issue.
Reply to this comment
venkat
March 30th, 2008 at 1:54 am #
Hi, Keith. I’am on WP 2.3.2, Should I first update to 2.3.3 and then to 2.5 or updating directly to 2.5 would cause any problem.
In case any plugin presently active under 2.3.2 doesnot work on 2.5, would it crash the WP installation/upgradation or would the plugin be automatically be disabled by 2.5 Causing no problem.
Reply to this comment
DazzlinDonna
March 30th, 2008 at 10:25 am #
Same here, Patrix. The upgrade is going very smoothly for all of my blogs, but each time it fails to re-activate the plugins. Not a huge issue, but one that should be noted. Otherwise, I’m loving the smooth upgrade process.
Reply to this comment
Phil Gyford
March 30th, 2008 at 10:31 am #
I’m using WP 2.3.2 and when I try to activate this plugin I get “Plugin could not be activated because it triggered a fatal error.” Any suggestions? Thanks.
Reply to this comment
Phil Gyford
March 30th, 2008 at 11:11 am #
In case it helps, I just manually upgraded to WP 2.5 and when I click ‘Activate’ for this plugin now I get this:
Reply to this comment
Andy Reply:
March 30th, 2008 at 10:04 pm
I too have this same problem. Any word on a fix?
Reply to this comment
Andy Reply:
March 30th, 2008 at 10:20 pm
I finally figured this one out.
This error message appears on servers with short tags disabled. I went through the wordpress-automatic-upgrade.php file and found three places where tags needed to be replaced:
line 470: <?= => <?php echoline 514: <? => <?phpline 1027: <? => <?phpHope this helps.
Reply to this comment
Phil Gyford Reply:
March 31st, 2008 at 4:52 pm
You star! Thanks so much for that. Now I’m ready for the next upgrade…
Reply to this comment
Christopher
March 30th, 2008 at 11:20 am #
Hi, Thanks for fixing that conflict so quickly. I am still however not getting my plugins re-enabled after doing the automatic upgrade.
I get a message asking if I’m sure I want to. I click on yes, but my plugins are not re-enabled. I’ve upgraded several blogs and the same thing happens to each one. Going from 2.3.3 to 2.5.
Even with out that I am still saving time with your plugin.
Reply to this comment
El
March 30th, 2008 at 12:47 pm #
thank you so much for the fast update
love this plugin!
Reply to this comment
Jeff
March 30th, 2008 at 5:59 pm #
Hi,
I’m getting this:
TASK OUTPUT
Oops we cannot run the WordPress Automatic Update on your site. We are currently trying to fix issues for systems like yours and will release a new version shortly.
After running v1.0
Reply to this comment
Fabio
March 30th, 2008 at 9:39 pm #
Wordpres.org says that WPAU requires WordPress Version: 1.5 or higher but it not works for WP 1.5.2, it reports an error:
Fatal error: Call to undefined function current_user_can() in /home/.carrie/ksensei/ksensei.com/blog/wp-content/plugins/wordpress-automatic-upgrade/wordpress-automatic-upgrade.php on line 626
current_user_can it is not implemented in this version, isn’t it?
Reply to this comment
F1Wold
March 31st, 2008 at 12:40 am #
I upgraded to version 1.0 of this plugin, but I still have same problem as with the old version – all is fine up to the FILES BACKUP. But when I continue to the DATABASE BACK UP, everything stops there, I get blank screen, no download prompt message nothing … what may be the problem ?
Reply to this comment
Razvan Antonescu
March 31st, 2008 at 5:00 am #
Is this version working with 2.2? I am trying to use it but the upgrade page gives no links to continue the process and no errors either
Reply to this comment
Leo
March 31st, 2008 at 10:02 am #
I have the following problem…..I can’t connect to mi ftp with your plugin. It shows this message:
Staring FTP client class without PORT mode support UMASK 022 Transfer type: auto ASCII Timeout 30 Passive mode on Host “ftp.webcindario.com(89.17.220.55):21″ Local OS : UNIX Creating socket _connect: socket connect failed ( ()) Error : Cannot connect to remote host “ftp.webcindario.com :21″
I put the data in the form correctly
Reply to this comment
IYan Writer
March 31st, 2008 at 11:18 am #
Upgrade from 2.3.3 to 2.5 worked without a glitch for me.
Thanks for a great plugin!
Reply to this comment
John Watts
March 31st, 2008 at 4:44 pm #
Howdy…
Even using the new WPAU v 1.1, I get the following message:
“Oops!!!!! We are unable to connect to the ftp site with the data your provided, could you cross check and give us the data again”
I’m 99.9% sure I’m entering the correct info, even by going so far as copying and pasting from my FTP program, Fetch…
Trying to upgrade from 2.3.3 to 2.5…
HELP!!!!
Reply to this comment
dicky
March 31st, 2008 at 6:52 pm #
I am still using Wordpress 2.3.1, can i upgrade it to 2.5 directly? Or i need to 2.3.3 first? Thanks.
Reply to this comment
mitch
March 31st, 2008 at 7:10 pm #
ok so I updated using WPAU before seeing this info..and like the others I got the DB issue…now the WP is upgraded to 2.5 but I dont see any of my menus at all. I went into the DB using phpmyadmin and how do I activate the plug-ins manually..they are working on the site (like mygallery works fine) but the plugins tab is gone..do I change the 1 to a 0 in the wpau_active_plugins_info table?? please help
Mitch
Reply to this comment
John Watts
April 1st, 2008 at 10:58 am #
Howdy…
Even using the new WPAU v 1.1, I get the following message:
“Oops!!!!! We are unable to connect to the ftp site with the data your provided, could you cross check and give us the data again”
I’m 99.9% sure I’m entering the correct info, even by going so far as copying and pasting from my FTP program, Fetch…
Trying to upgrade from 2.3.3 to 2.5, using Network Solutions as my host…
HELP!!!!
Reply to this comment
Fizfaz Reply:
May 4th, 2008 at 9:06 pm
Yes I also having same problem like this (wrong ftp data but I’m very sure I filled up the correct data).
I realized that the problem is only happened at my blog which is installed at root. Others blog I installed at subdomain no problem with it. Only cannot automatically re-activate the plugin issue.
Reply to this comment
Rosina Lippi
April 1st, 2008 at 1:11 pm #
This is a really useful plugin, especially for those of us who are not comfortable rummaging around in the innards of a wp installation.
However, this time (upgrading to 2.5) I can’t get it to work. I get the message:
Which I do. Click the link, wait while the wheel spins — and then the very same message pops up again.
Any thoughts? Hints? And thanks again.
Reply to this comment
Rosina Lippi
April 1st, 2008 at 8:41 pm #
I thought I had posted this question already, but it seems to have disappeared.
When I go to the automatic upgrade page, I get the message that the last installation needs to be cleaned up. So I click that button and watch the wheel spin. When it’s done, it takes me right back to the same message — former installation needs to be cleaned up before you can proceed.
Is there a way around this? Any help much appreciated.
Reply to this comment
John Watts
April 5th, 2008 at 11:41 am #
See my above post – I STILL cannot get this to work – PLEASE – ANYBODY!!!
Reply to this comment
Tim
April 7th, 2008 at 9:07 am #
Hi
just tried this and keep getting the following in the automatic process:
Fatal error: Call to undefined function: add_filter() in /home/booksfor/public_html/wordpress/wp-includes/default-filters.php on line 4
Restored the backup and tried doing it manually and got a page of error faults.
Any clues?
Reply to this comment
eL
April 26th, 2008 at 12:13 am #
Is this plugin ready for WP 2.5.1 yet?
Reply to this comment
Duncan
April 28th, 2008 at 2:03 pm #
I’ve just updated several blogs from 2.3.3 to 2.5.1 using this plugin. All completed in record time. Only issue was not reactivating the plugins. But that’s only takes a few extra clicks on the plugin page (and also gave me the option to update some of those plugins whilst there. I will definitely be adding a recommendation to this Plugin on my Learn-how-2.net Wordpress “Getting Started” Blog.
Reply to this comment
Anna
April 30th, 2008 at 7:13 pm #
Keith-I tried to update it to 2.5.1 and it is stuck in updating the database. All my plug-ins are gone including the comment features. I have looked all over your site and wordpress support to see what to do. Any suggestions? Anna
Reply to this comment
Will
May 24th, 2008 at 1:33 am #
Is it really necessary?
Reply to this comment
icubyx
June 21st, 2008 at 6:29 am #
Keith,
It has been a pleasure using this plugin. Thank you for it. I have used it successfully in all my installations except this one. Any pointers as to why this happens will be appreciated.
I recently upgraded WP from 2.3.3 to 2.5 and then migrated from Apache to litespeed based hosting (facilitated by my provider – Steadfast) The site works well, but for some reason I can’t upgrade to 2.5.1
I am using WPAU 1.1 and get the following message after the plugin starts putting the site in maintenance mode:
“Warning: copy(/hsphere/local/home/saplingindia/mahasldc.in/index.php.wpau.bak): failed to open stream: Permission denied in /hsphere/local/home/saplingindia/mahasldc.in/wp-content/plugins/wordpress-automatic-upgrade/wpau_upgrade.class.php on line 321 We could not complete the upgrade please try again later, click here to check the logs.”
Any idea where I am going wrong?
Thanks a ton.
Reply to this comment
Work From Home Jobs
August 21st, 2008 at 11:37 am #
I just saw this now. Good thing I did!
Reply to this comment
g33kg0dd3ss
August 13th, 2009 at 10:50 am #
I’m having the same problem as Rosina above; I keep getting looped through the “cleanup” process. Is there a way to do the cleanup manually (FTPing to a directory and deleting files directly from the server)?
Reply to this comment
g33kg0dd3ss Reply:
August 13th, 2009 at 11:11 am
Problem solved: The issue was with the /wpau-backup directory permissions.
Reply to this comment