Urgent WordPress Automatic Upgrade Update

by Keith Dsouza | Translate | Print
Saturday, 29th Mar 2008 | Share


Share Urgent WordPress Automatic Upgrade Update on Twitter Share Urgent WordPress Automatic Upgrade Update on Facebook Save Urgent WordPress Automatic Upgrade Update To Delicious Favorites Stumble Urgent WordPress Automatic Upgrade Update Share Urgent WordPress Automatic Upgrade Update on Digg Get Instant Updates as RSS Feeds from Techie Buzz

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



Share

64 Responses so far | Share Your Opinions!

  1. 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:

    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

  2. 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:

    DT Yes that is the newest version which I released today.

    Reply to this comment

  3. 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

  4. 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

  5. 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

  6. 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

  7. 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

  8. 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:

    Plugin could not be activated because it triggered a fatal error.

    Parse error: syntax error, unexpected $end in /path/to/my/webroot/wp/wp-content/plugins/wordpress-automatic-upgrade/wordpress-automatic-upgrade.php on line 1228

    Reply to this comment

    Andy Reply:

    I too have this same problem. Any word on a fix?

    Reply to this comment

    Andy Reply:

    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 echo
    line 514: <? => <?php
    line 1027: <? => <?php

    Hope this helps.

    Reply to this comment

    Phil Gyford Reply:

    You star! Thanks so much for that. Now I’m ready for the next upgrade…

    Reply to this comment

  9. 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

  10. El
    March 30th, 2008 at 12:47 pm #

    thank you so much for the fast update :) love this plugin!

    Reply to this comment

  11. 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

  12. 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

  13. 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

  14. 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

  15. 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

  16. 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

  17. 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

  18. 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

  19. 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

  20. 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:

    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

  21. 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:

    Seems you have not completed the clean up process from last upgrade. Please click here to run the clean up process before continuing

    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

  22. 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

  23. 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

  24. 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

  25. eL
    April 26th, 2008 at 12:13 am #

    Is this plugin ready for WP 2.5.1 yet?

    Reply to this comment

  26. 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

  27. 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

  28. Will
    May 24th, 2008 at 1:33 am #

    Is it really necessary?

    Reply to this comment

  29. 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

  30. Work From Home Jobs
    August 21st, 2008 at 11:37 am #

    I just saw this now. Good thing I did!

    Reply to this comment

  31. 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:

    Problem solved: The issue was with the /wpau-backup directory permissions.

    Reply to this comment


Trackbacks

  1. Tutorial: Actualizar a Wordpress 2.5
  2. WordPress 2.5 is out and here are some of the precautions you need to take! | ReviewSaurus - The Techie Dino!
  3. Wordpress 2.5 Now Released - Simply Awesome | ZardozZ News and Satire
  4. Retour sur Wordpress 2.5 at Site Creation
  5. Actualizar a Wordpress 2.5 « Ubuntu Life
  6. enGeneral » Blog Archive » La forma mas rápida de actualizar a Wordpress 2.5
  7. The Back-up Brain Weblog | Novo Wordpress 2.5: Problemas e soluções
  8. Actualizando a WordPress 2.5 | wikijuanan
  9. WordPress Upgrade and Ideas! : URBANROXY.COM
  10. Aggiornamento a WordPress 2.5
  11. Upgraded to Wordpress 2.5
  12. WordPress 2.5 ist da! | blog-O-rama
  13. WordPress 2.5 ist da! | blog-O-rama
  14. Omeyas Web » Archivo del Blog » Wordpress 2.5
  15. Eche o que hai » Actualización a versión 2.5 de wordpress
  16. Actualizando WordPress | miguel ángel pelegrí
  17. OnlyinSilence.com » Blog Archive » How to Upgrade to WordPress2.5 Using WordPress Automatic Update Plugin
  18. OnlyinSilence.com » Blog Archive » How to Upgrade to WordPress2.5 Using WordPress Automatic Upgrade Plugin
  19. Actualizados a Wordpress 2.5 | Cacharr-OS.com
  20. Atualizando o WordPress para a versão 2.5 | Putz! Bloguei!
  21. Upgrade WP dengan 4 Klik Aje! - WangCyber.com - Komuniti Usahawan Internet Malaysia
  22. Desde el Palomar » Actualizado a Worpress 2.5.1
  23. Desde el Palomar » Actualizado a Worpress 2.5.1
  24. Desde el Palomar » Actualizado a Worpress 2.5.1
  25. Desde el Palomar » Actualizado a Worpress 2.5.1
  26. Liamngls

Leave a Comment

Note: We discourage users from using keywords in their names while posting comments, most of them get caught by spam, also it really would be more fruitful in knowing people who comment by their real name, rather than by using a name no one relates to. In future we reserve the right to delete comments from users using a name other than their own.

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>