Support » Fixing WordPress » Trying to move files/db from one domain to another and I get this error…

  • Resolved cookies4breakfast

    (@cookies4breakfast)


    So I followed this tutorial here, did the first 3 steps and now when I go to the login page I get this error:

    Warning: require(/home/mysite/public_html/wp-includes/compat.php) [function.require]: failed to open stream: No such file or directory in /home/mysite/public_html/wp-settings.php on line 246

    I tried going to my PhpMyAdmin to change the url in the wp_options table but there is no such table. I’m not sure if this could be the problem or its the fact that I’m missing this ‘compat.php’ file in my includes folder.

    Or maybe I did something wrong while doing the first 3 steps of the tutorial?

    Help is much appreciated, I could not come up with the answer on my own.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator Mark Ratledge

    (@songdogtech)

    Forum Moderator

    Don’t change your URL in the database just yet. That could cause more problems right now. The error sounds like all your WP files didn’t get moved. Reupload them again, starting with the wp-includes folder. There is a more complete guide to moving wordpress at Moving WordPress « WordPress Codex

    Thanks! Yes some files didn’t transfer when I downloaded them. I got it all figured out finally.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Trying to move files/db from one domain to another and I get this error…’ is closed to new replies.