• Resolved Alan Scott

    (@alan-scott)


    I am a relative newbie to WordPress, so please keep that in mind.

    There is a website I am running with 60 pages and 15 plugins.
    I was using the 3.1 version of WordPress and needed to upgrade. I backed up the database and files.

    I did the following:

    1) Downloaded the newest version of WordPress 3.5.2

    2) created a new public_html folder

    3) upzipped 3.5.2 into the new folder

    3) created a new database and

    4) modified the wp-config file to connect the database

    So now I have a 3.5.2 dashboard. Now I need to upload the backup files from 3.1.

    To reduce any issues that may come up, after reading:

    https://codex.www.ads-software.com/Updating_WordPress

    It appears that there are a number of files I need to delete and/or modify before transferring them.

    Can anyone comment if what I am doing is correct?

    Or should I just go back to the old version of 3.1 and use the automatic updating feature?

    The reason why I have not done the automatic update feature, is to mitigate issues that may come up in files update from 3.1 to 3.5.2.

    Again, this is my first time doing this, so mistakes are more likely.

    Thanks ahead to any respones.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Is the old site still up & running?

    Thread Starter Alan Scott

    (@alan-scott)

    No.

    To give some more background, the site is a development area so is not overly critical.

    So to clarify, you have a 3.5.2 site and a 3.1 database backup, yes?.

    Thread Starter Alan Scott

    (@alan-scott)

    Yes.

    I went ahead and linked the old database with the new site, modifying wp-config.

    That worked.

    Then I conducted a reverse upload of the old files. Instead of replacing the old files on the host server with new ones in WordPress 3.5.2, I only uploaded the old files and kept the new ones.

    To do that, I uploaded the old files using Filezilla into the host server (except for the files that need to be new, like wp-includes and
    wp-admin as outlined in https://codex.www.ads-software.com/Updating_WordPress.)

    I then went back into the site, and noticed the pages are all there, but they do not work correctly.

    I think the moral of the story is to just automatically upgrade WordPress, instead of creating a new folder and database and migrating the old ones.

    Then I conducted a reverse upload of the old files.

    Sorry? I don’t follow you. You need to re-upload a complete copy of WordPress 3.1. You cannot run a 3.1 database with 3.5.2 core scripts.

    Thread Starter Alan Scott

    (@alan-scott)

    Sorry? I don’t follow you. You need to re-upload a complete copy of WordPress 3.1. You cannot run a 3.1 database with 3.5.2 core scripts.

    I am learning that the hard way.

    So the only way to upgrade WordPress is with the older version in place?

    I understand that other posts in support deal with specific circumstances, however I went by the following from this post:

    The “wp-config.php” file will be located in the root folder of your WP installation. Open it in a code editor, and verify the database login details match those of your new account.

    https://www.ads-software.com/support/topic/restoring-my-blog-after-database-upgrade?replies=4

    So the only way to upgrade WordPress is with the older version in place?

    Yes. The upgrade(s) affect both the core scripts and the database in most cases. If you re-read that topic, you’ll see that the OP”s hosts made some database changes for him. As you have such an old version of WordPress, you may need to carry out a series of smaller manual upgrades. See Upgrading_WordPress_Extended for the full details.

    Thread Starter Alan Scott

    (@alan-scott)

    Thank you very much for your assistance. I hope this can help others.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Upgraded to 3.5.2 from 3.1; now will backup database and files work’ is closed to new replies.