Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

My site has crashed, and I'm receiving the following error message whe

Status
Not open for further replies.

jacksonx

Technical User
Joined
Aug 5, 2003
Messages
1
Location
US
Last night, for reasons unbeknownst to me, my website took a fatal nosedive. I receive the following error message when I navigate to the website:

Fatal error: Call to undefined function: message_die() in /home/gonepost/public_html/db/db.php on line 88

db.php consists of the following code:

db_connect_id) {
message_die(CRITICAL_ERROR, "Could not connect to the database");
}

?>


It also seems to me that an index.php file should reside in the root, but I find none. If anyone has run across this or has any idea on how to get me back uo and running, I'd really appreciate your help. Thanks...

 
The script db.php is not well-formed. Do you have a backup?

Are you saying that you once had an index.php file in your document root and now you don't?

or are you saying you think there should be one, but you don't know whether there used to be one or not?

If it's the former, then you're going to have to look to backups to restore the file.

If it's the latter, there's nothing that requires an index.php.

Want the best answers? Ask the best questions: TANSTAAFL!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top