Fatal error: main()
I am uploading a website with wordpress to a new host
The site is up and running now but transferring the files(everything in the full backup) to Godaddy
Nothing changed except the Host but I am getting an error that is driving me crazy: The site is up on the other host when I go back to it.
Can anyone shares some ideas with me on this:
Warning: main(/home/content/j/o/u/jouvert/html/wp-includes/wp-db.php): failed to open stream: No such file or directory in /home/content/j/o/u/jouvert/html/wp-settings.php on line 100
Fatal error: main(): Failed opening required '/home/content/j/o/u/jouvert/html/wp-includes/wp-db.php' (include_path='.:/usr/local/lib/php') in /home/content/j/o/u/jouvert/html/wp-settings.php on line 100
Not w/o knowing what line 100 of the script looks like and whether
that file actually exists in that location. Or somewhere else, for
that matter, so you could adjust the script.
Sorry about that
I just received a reply from the new host and below is their reply
If you notice the second line, the path that is failing '/home/content/j/o/u/jouvert/html/wp-includes/wp-db.php' is incorrect.
You will need to include the aliased domain directory in the path, so it should be:
Now I am a Newbie: Should I just copy and paste or add the above script into
what is now in line 100 in the wp-settings.php?
Here is line 100 of the wp-settings.php
require_once (ABSPATH . WPINC . '/wp-db.php');
|All times are GMT -5. The time now is 03:58 PM.|