WordPress.org

Forums

3.1 upgrade; database update fails and loops (11 posts)

  1. mpclark
    Member
    Posted 4 years ago #

    I've upgraded to 3.1, but now am stuck in a loop when I try to access the back end.

    I get the "Database update required" screen, then when I press the update WordPress database button I get a new screen with just the WordPress logo; no success or failure message.

    The URL of that screen is [mydomain.com]/wp-admin/upgrade.php?step=1&backto=%2Fwp-admin%2F

    Any attempt to access any back end page takes me back to "Database update required"

    I don't think my database has been upgraded because the version in the wp_options table is shown as 15477.

    FWIW the site appears to be running fine from a visitor's point of view, but it's a bit limiting to not be able to post anything ;)

    Any ideas?

  2. esmi
    Forum Moderator
    Posted 4 years ago #

    Your upgrade may not have completed successfully. Try:
    - switching to the Twenty Ten theme by renaming your current theme's folder in wp-content/themes using FTP or whatever file management application your host provides. You may need to try logging into your site to get this to kick in fully.

    - resetting the plugins folder by FTP or phpMyAdmin.

    - re-running the upgrade manually.

  3. mpclark
    Member
    Posted 4 years ago #

    Thanks for the tip, Esmi. I tried that but had no joy.

    Some more investigation tracked down this bug report:

    http://core.trac.wordpress.org/ticket/16630

    ...which describes my issue exactly. Interestingly, like the reporter I also use W3 Total Cache.

    Commenting out the 'wp_cache_flush()' as mentioned in the Trac ticket did the trick for me -- though I've no idea if doing so will have any long-term implications.

  4. m00b
    Member
    Posted 4 years ago #

    The fix is much easier than that.

    If you're using memcached for object cache support, flush it and the upgrade message will be gone.

    I have never had this problem with apc or xcache though.

  5. en3r0
    Member
    Posted 4 years ago #

    I also had a similar problem. I was able to rename the W3 Total Cache plugin folder. Refreshed the page and there was an ok button. Click through and you will have a php error with the plugin, but rename it back to what it was and you are good to go.

    W3 Total Cache wasn't even enabled.

  6. graymerica
    Member
    Posted 4 years ago #

    I always turn off w3 cache when I do updates. Then turn it back on afterwards.

    No real harm to the traffic , and it has saved me a ton of problems like this,

    Andrew

  7. Frederick Townes
    Member
    Posted 3 years ago #

    Great insight, thanks all.

  8. Piyush Labs
    Member
    Posted 3 years ago #

    I faced the same problem while upgrading to 3.3
    I renamed the w3-total-cache folder, and reverted back after Database upgrade.
    Kudos to en3r0.

  9. miri
    Member
    Posted 3 years ago #

    I'm upgrading from 3.3 to 3.3.1 and am having this same problem. I can get to admin pages if if I skip the dashboard (aka, going straight to the posts page), but otherwise, I'm stuck. I've disabled w3-total-cache, deleted the folder, set caching to "false" in the wp-config file and deleted all the w3-total-cache files (db.php, etc) and still have the problem.

    I've also deactivated all plugins, then actually deleted all the plugins from the serve and am still having the problem. Any clues?

  10. jlautier
    Member
    Posted 3 years ago #

    good info i was looking for this as i had same probs

  11. Frederick Townes
    Member
    Posted 3 years ago #

    Sorry for the trouble, I'll look at improving this issue.

Topic Closed

This topic has been closed to new replies.

About this Topic