• Resolved rnrfowler

    (@rnrfowler)


    Tonight I finally set out to upgrade my blog from WordPress 2.2.2 to 2.7. First I backed up all my files, then I backed up my database. I assumed I would probably need to upgrade to 2.3, then 2.4 etc. all the way up to 2.7, but I figured with all my files and database backed up, it wouldn’t hurt to try to upgrade directly to 2.7. Also, instead of trying to upgrade my theme as I went (K2 Release Candidate 6), I figured I would switch back to the default theme, upgrade with that, then later download the most recent version of K2 and switch back to K2 at that time.

    When I finished upgrading to 2.7, I ended up with a blog with no posts or comments. I tried restoring my database at that time, but to no avail. So, I deleted the new files and uploaded my backup files, dropped the new database tables and restored the old database, but now I get this error message when I try to access my blog at https://www.rayfowler.org:

    Parse error: syntax error, unexpected $end in /home/rayffow2/public_html/blog/wp-settings.php on line 218

    I’m stuck. I have restored the original files that I started with and restored the database. Why am I getting this error message and what do I do next?

    Thanks,
    Ray Fowler

Viewing 2 replies - 16 through 17 (of 17 total)
  • Thread Starter rnrfowler

    (@rnrfowler)

    Thanks for all your help whooami. I am now officially backed up to 2.6.5. (Not quite ready to take the 2.7 plunge quite yet.)

    Thread Starter rnrfowler

    (@rnrfowler)

    Just an update. The reason why I was getting directed to the “install” page instead of the “upgrade” page was because of my wp-config.php file. Although I made the appropriate changes to DB_NAME, DB_USER, DB_PASSWORD, I neglected to change the WordPress Database Table prefix. The sample config file had a prefix of ‘wp_’ and my old wp-config had a different prefix. Once I substituted the right prefix back in, I got the “Upgrade Page” and everything worked fine. A big thanks to Whooami for all her help.

Viewing 2 replies - 16 through 17 (of 17 total)
  • The topic ‘Syntax error after backup and restore’ is closed to new replies.