• Hi

    I’ve been trying to upgrade from 2.3 to 2.6 but every time I try it (3 times now), all the posts disappear, as though it was a new installation (ie I get the ‘hello world’ post).

    The original posts are still in the database, and when I reload the back up 2.3 files everything goes back to normal.

    I’ve deactivated all plugins after a bit of googling said it might be that, and have been following the wordpress extended upgrading guide to the letter.

    Can anybody suggest a way forward please? Many thanks!

Viewing 13 replies - 1 through 13 (of 13 total)
  • Then you are not upgrading… you are installing a new WP blog.

    Thread Starter abisti

    (@abisti)

    Thanks Moshu – so what am I doing wrong?

    I do this:

    # Backup your database. Read Backing Up Your Database for a detailed explanation.
    # Backup ALL your WordPress files in your WordPress directory. Don’t forget your .htaccess file.
    # Verify the backups you created are there and usable. This is essential.
    # Deactivate ALL your Plugins.
    # Ensure first four steps are completed. Do not attempt the upgrade unless you have completed the first four steps.
    # Download and extract the WordPress package from http://wordpress.org/download/.
    # Delete the old WordPress files on your site, but DO NOT DELETE

    * wp-config.php file;
    * wp-content folder; Special Exception: the wp-content/cache and the wp-content/plugins/widgets folders should be deleted.
    * wp-images folder;
    * wp-includes/languages/ folder–if you are using a language file do not delete that folder;
    * .htaccess file–if you have added custom rules to your .htaccess, do not delete it;
    * robots.txt file–if your blog lives in the root of your site (ie. the blog is the site) and you have created such a file, do not delete it.

    # Upload the new files from your computer’s hard drive to the appropriate WordPress folder on your site.

    but then get the problem as described rather than any prompt to upgrade…?

    Honestly, I have no idea what are you doing.

    Did you try to go directly to example.com/wp-admin/upgrade.php ?

    Thread Starter abisti

    (@abisti)

    Yes, and I get this:

    No Upgrade Required

    Your WordPress database is already up-to-date!

    And after getting the message above and logging in, what does WP say in Dashboard? Which version is running?

    I had some similar craziness the other day on a site with trying to update from a machine: it was something wrong with the ftp client. Although it showed me the new files uploaded, actually, it never uploaded them and couldn’t upgrade until I tried from a different machine.

    Thread Starter abisti

    (@abisti)

    Hi Moshu

    It’s the new version

    Thread Starter abisti

    (@abisti)

    … I don’t know if it’s relevant but I guess I should mention I’m running 2 separate blogs on the same site & off the same database…. it’s always behaved before though (for over a year)

    If they have their own table prefixes defined in the wp-config file – then it should be OK. I have database with 4 blogs in it and still running fine.

    I have upgraded to 2.6 with the following directions:

    1. Delete your old WP files, saving ones you’ve modified.
    2. Upload the new files.
    3. Point your browser to /wp-admin/upgrade.php.

    When I point to …upgrade.php I get the following error:

    Fatal error: Call to undefined function: require_wp_db() blah blah line xxx.

    The wp-config.php file was not deleted and correctly refers to the db, which is intact. Any suggestions?

    That always tells missing or corrupted files.

    Okay, upgrade.php has the following line: require_once(ABSPATH . 'wp-admin/includes/upgrade.php');

    There is no ‘includes’ folder in wp-admin, and no ‘upgrade.php’ in the ‘includes’ folder, but it is located at ‘wp-admin/upgrade.php’. Any suggestions?

    That’s simply not true. There is /includes/ folder inside wp-admin and yes, there is upgrade.php in it.

    You’re right, must be blind. sorry.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Posts disappear Upgrading to 2.6’ is closed to new replies.