Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-03-2008, 05:23 PM   #1
LQ Newbie
Registered: May 2008
Posts: 10

Rep: Reputation: 0
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
Old 06-03-2008, 09:08 PM   #2
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
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.
Old 06-03-2008, 09:55 PM   #3
LQ Newbie
Registered: May 2008
Posts: 10

Original Poster
Rep: Reputation: 0
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');


error, fatal, files, php, upload

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Putty fatal error: Network error: connection refused (ubunty server 6.06.1) gerardnijboer Ubuntu 2 03-18-2010 04:46 PM
apache 1.3.27, https url returns error -12263 in Firefox, fatal error (40) in Opera leo22838 Linux - Server 0 04-04-2008 02:51 PM
grotty:/tmp/zmani0ORFG:46844:fatal error: output error fakie_flip Linux - Software 1 12-25-2007 01:29 AM
Sound Server Fatal Error: Error - artsmessage: /tmp/mcop-root is accessible owned... m07hm4n Linux - Software 1 08-14-2006 02:01 PM
MDK 9.1 Fatal Error in Stage 1: Exec Format Error Beano Mandriva 5 09-12-2004 04:04 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:58 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration