Trouble restore database from backup (3 posts)

  1. tontamoo
    Posted 10 years ago #

    I just moved my blog to a new server. And I'm using the instructions found at the WordPress Codex site (http://codex.wordpress.org/Restoring_your_database_from_backup).

    So, I run a clean install of WP 1.5 and everything is fine and dandy. Then I restore my backup file and I get warning messages like this:

    Warning: Invalid argument supplied for foreach() in C:\Inetpub\wwwroot\mt\tontamoo\wp-settings.php on line 113

    I've had those warning messages pop up for wp-functions.php and a whole slew of other files, with the common theme being C:\Inetpub\wwwroot\mt\. What does that directory mean? What does mt stand for? Is it something inherent in the database? How do I fix this problem?

    I should mention that my backup database was from WP 1.2 and I'm upgrading to 1.5 this time. Therefore, there are some differences in how the databases are set up. For instance, all the "option" tables found in 1.2 have been consolidated into one table called "option" and there are more cumbersome little differences in how the post tables are setup and whatnot.

    Is there some way to streamline my backup database so the structure of the coded information fits that of the new structure of WP 1.5?

  2. vkaryl
    Posted 10 years ago #

    You may have to install 1.2, restore the database to the new 1.2 install, and the upgrade to 1.5.

  3. tontamoo
    Posted 10 years ago #

    Yeah, that's what I was thinking too. I'm gonna give that a try for now.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.