[resolved] Trying to move files/db from one domain to another and I get this error... (3 posts)

  1. cookies4breakfast
    Posted 6 years ago #

    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.

  2. 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

  3. cookies4breakfast
    Posted 6 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic