WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] question about upgrade.php (9 posts)

  1. syncbox
    Member
    Posted 6 years ago #

    I have a question about upgrading and the example.com/wp-admin/upgrade.php file and results...

    My admin pages say I need to upgrade. upgrade.php says

    "No Upgrade Required Your WordPress database is already up-to-date!"

    Which is the truth? I think I have 2.3.1 so I think I do need to upgrade, but that upgrade.php file isn't cooperating ;)

  2. whooami
    Member
    Posted 6 years ago #

    did you upload a new wp-includes/version.php ?

    unless you didnt, youre going to see that message -- thats where it looks.

  3. syncbox
    Member
    Posted 6 years ago #

    Here's what it shows:

    <?php
    
    // This holds the version number in a separate file so we can bump it without cluttering the SVN
    
    $wp_version = '2.3.1';
    $wp_db_version = 6124;
    
    ?>

    is that what it should show?

  4. syncbox
    Member
    Posted 6 years ago #

    I am happy to keep this in one place, but thought it a separate question. I've seen just as many requests to NOT use the same thread for other questions.

    Sorry. Just trying to follow the rules ;)

  5. moshu
    Member
    Posted 6 years ago #

    <?php
    // This holds the version number in a separate file so we can bump it without cluttering the SVN
    
    $wp_version = '2.3.2';
    $wp_db_version = 6124;
    ?>

    This should be in WP 2.3.2.
    As you can see the DB version is the same - so the message that you do NOt need to run the upgrade thingy was correct: no changes to the database structure.
    However, the WP files have been updated... at least some of them.

  6. syncbox
    Member
    Posted 6 years ago #

    So, is there a single place to go look at what files need to be uploaded? I don't have that version.php file (among others I've seen in fresh installs). This particular site is hosted where WordPress is auto-installed (which has been fine at least until now)... and this site was one that was upgraded recently rather than a fresh install of WordPress.

    Would uploading the wp-admin folder cover things? Or everything except the themes and the usual config .htaccess, etc?

    I just want to be sure to cover the security fixes...

  7. whooami
    Member
    Posted 6 years ago #

    oops, I misread.

    This much I can tell you -- I recently upgraded someone's 2.3 install to 2.3.2.

    I removed the old wp-includes files, and uploaded new ones. I removed all the wp-admin files and uploaded fresh ones. I removed all the core wp files in their web root (except for wp-config.php, of course), and uploaded new ones.

    The "you need to upgrade" message went away. upgrade.php told me there was nothing to do.

    In other words, done "right" the new system works. :)

    I believe the changed files are at the top of this page, if you just want to deal with those:

    http://trac.wordpress.org/changeset?old_path=tags%2F2.3.1&old=6528&new_path=tags%2F2.3.2&new=6528

  8. Charles Frees-Melvin
    Member
    Posted 6 years ago #

    WordPress version 2.3, 2.3.1, 2.3.2, and the current trunk are using the same Database version at the moment.

  9. mabekeke
    Member
    Posted 6 years ago #

    I had WordPress v.2.3.2 but I had to updgrade to 2.3.3. After installing the new WordPress version 2.3.3, I got the same message too "No Upgrade Required Your WordPress database is already up-to-date!", and in the admin it was saying I still have 2.3.2 and need to update. I realized I was still logged in to the admin while I was uploading the new files. So I logged out; then log back in and refresh the page..VOILA... it says version 2.3.3 now. It was that easy.

Topic Closed

This topic has been closed to new replies.

About this Topic