• Resolved gboudreau

    (@gboudreau)


    I updated (automatically, then manually) to WordPress 3.2, from 3.1.4.
    Now, when I try to go in /wp-admin/, I get redirected to:
    wp-admin/upgrade.php?_wp_http_referer=%2Fblog%2Fwp-admin%2F
    which says:

    “No Update Required
    Your WordPress database is already up-to-date!”

    Clicking Continue sends me back to my blog’s homepage, and trying to access wp-admin again does the same.

    Any idea how I can debug what’s happening ?

    Thanks.

    Blog URL: https://www.pommepause.com/blog/

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

    resetting the plugins folder by FTP or phpMyAdmin.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Also flush your browser cache.

    Thread Starter gboudreau

    (@gboudreau)

    I excluded the possible browser cause by using curl:

    $ curl -i "https://www.pommepause.com/blog/wp-admin/index.php"
    HTTP/1.1 302 Found
    X-Powered-By: PHP/5.3.3
    Location: https://www.pommepause.com/blog/wp-admin/upgrade.php?_wp_http_referer=%2Fblog%2Fwp-admin%2Findex.php

    I tried to rename my theme folder, but that didn’t help.
    I tried to rename my plugins folder too, and that didn’t help either.
    I’m always redirected to upgrade.php

    Thread Starter gboudreau

    (@gboudreau)

    I also tried emptying the active_plugins options in MySQL (to a:0:{}), and that didn’t help either.
    I guess I’ll debug the PHP code to find why it redirects, when it shouldn’t (or why it thinks there’s nothing to update when there is).
    I use another prefix that wp_ for my tables; maybe it’s related.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Are you also using MultiSite?

    Thread Starter gboudreau

    (@gboudreau)

    No.

    I found that in ./wp-admin/admin.php:42
    get_option(‘db_version’) == 17516
    $wp_db_version == 18226

    But in ./wp-admin/upgrade.php:58, both get_option( ‘db_version’ ) and $wp_db_version == 18226

    I’ll continue to investigate why get_option(‘db_version’) in admin.php seems to be wrong… (MySQL options table where option_name = ‘db_version’ == 18226)

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Try re-applying the upgrade manually. You may have caught a bad download.

    Thread Starter gboudreau

    (@gboudreau)

    I already did. I did an automatic upgrade first, and when I noticed that issue, I manually downloaded the tgz from the website, and unpacked over.

    I now found that the values returned by wp_cache_get( ‘alloptions’, ‘options’ ) seems to be outdated.
    Not sure what should trigger the cache to become invalid, but that seems to have failed… Continuing debugging.

    Thread Starter gboudreau

    (@gboudreau)

    I’m pretty sure the problem comes from the memcached plugin I have installed…
    No idea why the problem would persist even with the plugins folder renamed though!

    Thread Starter gboudreau

    (@gboudreau)

    Ah, I see… Part of the memcached plugin install was to copy a file into ./wp-content/object-cache.php!
    Renaming this file to object-cache.php.bak fixed the issue.

    I guess I should contact that plugin’s author, to tell him his cache wasn’t properly reset when it should have been?

    Thread Starter gboudreau

    (@gboudreau)

    Also, a simple restart of the memcached process fixed this permanently, since that empty the memcache cache!

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Yeah, do let the plugin dev know ??

    Which one is this? I’m keeping a running list ??

    Thread Starter gboudreau

    (@gboudreau)

    Plugin Name: Memcached
    Description: Memcached backend for the WP Object Cache.
    Version: 2.0
    Plugin URI: https://dev.wp-plugins.org/browser/memcached/
    Author: Ryan Boren
    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Thread Starter gboudreau

    (@gboudreau)

    Indeed. Just did when I noticed I was using an older version.
    Thanks for your time.

Viewing 15 replies - 1 through 15 (of 18 total)
  • The topic ‘Upgrade from 3.1 to 3.2: Endless "Your WordPress database is already up-to-date"’ is closed to new replies.