• Resolved joh123

    (@joh123)


    Hi,
    I cannot get my website to work after migrating to a new host and domain.

    I copied the files to the new server, exported my MySQL database and imported it into the new server. Changed the database information in the config file ( according to this https://www.siteground.com/tutorials/wordpress/transfer-wordpress/ ) and added the lines for the new domain to functions.php ( according to this https://www.siteground.com/tutorials/wordpress/change-url.htm ) and when I go to the website, I get:

    Warning: require(/data02/virt54464/domeenid/www.railvegrupp.ee/htdocs/wp-includes/option.php): failed to open stream: No such file or directory in /data02/virt54464/domeenid/www.railvegrupp.ee/htdocs/wp-includes/functions.php on line 8

    Fatal error: require(): Failed opening required ‘/data02/virt54464/domeenid/www.railvegrupp.ee/htdocs/wp-includes/option.php’ (include_path=’.:/opt/zone/lib/php’) in /data02/virt54464/domeenid/www.railvegrupp.ee/htdocs/wp-includes/functions.php on line 8

    What is wrong ??

    Thank you in advance!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter joh123

    (@joh123)

    Hum, okay, I checked and for some reason I didn’t have the option.php file it needed. Fixed that, now I have a new error:

    Fatal error: Call to undefined function wp_load_alloptions() in /data02/virt54464/domeenid/www.railvegrupp.ee/htdocs/wp-includes/functions.php on line 1287

    and the line is:

    $alloptions = wp_load_alloptions();

    Thread Starter joh123

    (@joh123)

    Eh, didn’t manage to fix it. Reinstalled and started from scratch.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Can't get WP to work after migration to new host/domain’ is closed to new replies.