Forums

Database Upgrade Required over and over (9 posts)

  1. sebrenner
    Member
    Posted 3 years ago #

    I just upgraded to 2.7. I am unsure of the previous version by it was pretty recent, last 6 months or so.

    When I logged in I prompted to upgrade the database— "Database Upgrade Required."

    I clicked "Upgrade WordPress" and got an "Upgrade Complete" message.

    I clicked "Continue" and ended was again prompted to upgrade the database. It seems to be stuck in an endless loop. I tried re-uploading the 2.7 files but I get the same result.

    I am not sure how to begin trouble shooting this. Any help would be appreciated.

    Scott

  2. Samuel B
    moderator
    Posted 3 years ago #

    look in version.php
    if anything other than 2.7 is there change it to 2.7
    message will go away until you really need an upgrade

  3. autismne
    Member
    Posted 3 years ago #

    I have the same problem. Where do I find 'version.php'?

  4. MichaelH
    Volunteer
    Posted 3 years ago #

    In the wp-includes folder.

    If it already says '2.7', trying changing to '2.70'

  5. autismne
    Member
    Posted 3 years ago #

    This is what I found:

    <?php
    /**
    * This holds the version number in a separate file so we can bump it without cluttering the SVN
    */

    /**
    * The WordPress version string
    *
    * @global string $wp_version
    */
    $wp_version = '2.7';

    /**
    * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
    *
    * @global int $wp_db_version
    */
    $wp_db_version = 9872;

    ?>

    I changed:

    $wp_version = '2.7'; to $wp_version = '2.70';

    and relaunched Firefox. Same problem.

  6. MichaelH
    Volunteer
    Posted 3 years ago #

    Hmm. Might try using phpMyAdmin to repair your database tables.

    You can change that back to 2.7 in version.php.

  7. autismne
    Member
    Posted 3 years ago #

    Been there, done that. Doesn't help.

  8. Richard Palace
    Member
    Posted 3 years ago #

    Before you try anything, try removing the object-cache in your wp-content folder if it exists.

    Hope this helps

  9. DiegoBretti
    Member
    Posted 3 years ago #

    Hi i need help! i have this version:

    $wp_version = '2.2.2';
    $wp_db_version = 5183;

    And i want to upgrade to 2.7.1

    And i get "Database Upgrade Required" when i clic on "Upgrade WordPress" i get:

    WordPress database error: [Duplicate entry '1' for key 1]
    ...
    WordPress database error: [Duplicate entry '21' for key 1]

    What can i do?
    Please i really need your help!

    Thx a lot!
    Blog: http://www.G0LF.com.ar

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags