Support » Installing WordPress » 3.1 upgrade; database update fails and loops

  • 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 []/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?

Viewing 10 replies - 1 through 10 (of 10 total)
  • 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.

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

    Some more investigation tracked down this bug report:

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

    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.

    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.

    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,


    Great insight, thanks all.

    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.

    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?

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

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

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘3.1 upgrade; database update fails and loops’ is closed to new replies.