WordPress.org

Ready to get started?Download WordPress

Forums

Upgrade to 2.5.1 and Database Issue & Blank Page (15 posts)

  1. greentalk
    Member
    Posted 6 years ago #

    Hi everyone,

    I just wanted to report a fix that my host, Aiso.net, helped me with. I upgraded from WP 2.5 to WP 2.5.1 using the automatic upgrade plug-in. I got stuck in the "you must upgrade your database" loop. When I would click upgrade, the page would go blank.

    Steve discovered that it was the following line with help from the following topic on the forums:

    http://wordpress.org/support/topic/172244

    and line deleted: ALTER TABLE comments ADD KEY comment_approved (comment_approved)

    I assume although I can't verify now since the line is gone that it is in the following file: wwp-admin/upgrade.php.

    When I go back to my back-up to look at the 2.5 upgrade file, that language is not there. Perhaps it is drawn into 2.5.1. from somewhere or is new code?

    In an event, by deleting that line, my site is up and running.

    Should this be reported as a bug or is it only my blog having this problem? (Caution, copy the file before you delete the line so in case this fix does not work for you.)

    Can anyone with a lot of wordpress experience comment if this is a viable fix so it can help others? Anna

  2. JimmyTheMod
    Member
    Posted 6 years ago #

    I had this issue today and it was a combination of things

    1) I didn't disable my plugins which is a necessary step (renamed it too pluginsxxx)
    2) Created an empty folder called plugins
    3) Ran 755 from my blog top directory
    4) Refreshed the upgrade page and got a wordpress page to continue
    5) clicked continue and completed
    6) Moved my pluginsxxx back to plugins then deletedmy empty pluginsxxx
    7) emptied the cache and closed my browser
    8) logged back into my admin and upgraded all 25 plugins with no issue
    9) SUCCESS upgrade from 2.3.3 to 2.5.1 with no bugs or issues with previous 200+ posts.

    Hope this helps. once I calmly worked through the logic and read a few of others posts, I realised that my problem was not disabling the plugins first and having a maintenence page block the upgrade all was well.

    I am running a very complex media site with nextgen gallery, xspf, wordtube and mango orange template running on Bluehost shared server.

    Grateful too the community for posting detail on issues...

  3. greentalk
    Member
    Posted 6 years ago #

    Jimmy,

    I am using a the automatic upgrade plug-in which disables all of the plug-ins for me. Any idea why this happened to me given what I told you above? Anna

  4. bobstevens
    Member
    Posted 6 years ago #

    Well, I didn't deactivate my plugins, tried to use maintenance mode and did a manual update. Got it all up but, have a blank plugins page.

    I renamed the old plugins page to pluginsx, created a new plugins page, set it to 755, copied the plugins to the new plugins page and deleted the old pluginsx page. Still got a blank plugins page.

    Suggestions?

  5. bobstevens
    Member
    Posted 6 years ago #

    Well, the plugins are active, just the admin plugin page is blank. Weird. Clearly, by doing the "5 minute upgrade", I missed the note to deactivate the plugins. Now, they are active, I just can't control them!

    Oh, the joys of open source ;-}

  6. whooami
    Member
    Posted 6 years ago #

    I renamed the old plugins page to pluginsx, created a new plugins page, set it to 755, copied the plugins to the new plugins page and deleted the old pluginsx page. Still got a blank plugins page.

    huh?

    why are you recreating pages???

    Just delete the plugins out of wp-content/plugins/

    http://www.village-idiot.org/broke/deactive.gif

  7. bobstevens
    Member
    Posted 6 years ago #

    Because that's what the troubleshooting forum suggested.

    The problem is that while the plugins are working, the admin plugins page is blank. Therefore, they cannot be administered and no new ones can be added and activated.

  8. whooami
    Member
    Posted 6 years ago #

    Because that's what the troubleshooting forum suggested.

    The correct way to troubleshoot upgrade issues is to revert to the default theme, and then disable plugins.

  9. bobstevens
    Member
    Posted 6 years ago #

    I'm using the default theme. No joy.

  10. whooami
    Member
    Posted 6 years ago #

    The correct way to troubleshoot upgrade issues is to revert to the default theme, and then disable plugins.

  11. bobstevens
    Member
    Posted 6 years ago #

    Yeah. I got that. I'm using the default theme. I even changed to the classic theme and tried it there.

    Again, the plugins work while they are in the plugins directory, they just can't be activated/deactivate. There is no way to disable the plugins beyond deleting them from the plugins directory. The admin plugins page is completely blank even if you look at the source of the page in a browser. It is completely blank as in no html code at all.

  12. whooami
    Member
    Posted 6 years ago #

    You have yet to indicate whether or not you deactivated ALL of your plugins. This doesnt need to be like pulling teeth, does it?

    Apparently.

    Ill spell it out for you: Blank pages are caused by PHP errors.

    1. revert to the default theme.
    2. disable plugins, even if that means ALL Plugins
    3. Look at any error_logs that might be being created. If they arent, then you need to turn on error reporting in your PHP configuration.

    You might also want to take a look at your server logs.

    Im not banging my head on this thread anymore. Good luck.

  13. bobstevens
    Member
    Posted 6 years ago #

    Thanks for your time.

  14. bobstevens
    Member
    Posted 6 years ago #

    Yes. I deactivated all the plugins when I deleted them all from the plugins directory. When I put them back in the directory, the ones that were active before, activated themselves.

    I realize a blank page is a PHP error. The question is where. I'll check the logs again to see if there is any guidance there.

  15. bobstevens
    Member
    Posted 6 years ago #

    The problem was a broken plugins.php in the wp-admin directory. The new version got "stuck" during the update.

Topic Closed

This topic has been closed to new replies.

About this Topic