Interesting. The wp-config.php file only contains the following: <html> <head> <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"> </head> <body> <br> </body> </html> Not sure where to go from here. Thanks for the input. Any more input is appreciated. Rod -----Original Message----- From: James Yerge [mailto:james@xxxxxxxxxxxxxxx] Sent: Sunday, October 09, 2011 5:46 PM To: rod@xxxxxxxxxxxxxxx Cc: php-general@xxxxxxxxxxxxx Subject: Re: Need help Wth PHP On 10/09/2011 08:41 PM, Rod Lindgren wrote: > I have a hosting account and am trying to get a friend's website up and > running. We downloaded his existing site from his current host and uploaded > it to my host. It is currently under a subdomain, www.egypt.aragren.com > <http://www.egypt.aragren.com/> . When I go there, I get an error message > that says, "Error establishing a database connection." What causes this and > how can I fix it? > > > > > Sensei Rod Lindgren > > > > Sent from my Gateway computer > > > > > > This issue isn't related to PHP but the cause of the error is due to the scripts' inability to make a connection to the database. The error looks like it's coming from WordPress, I could be wrong but if that's the case then you need to update the wp-config.php file to reflect the proper credentials to log into the database. ----- No virus found in this message. Checked by AVG - www.avg.com Version: 10.0.1410 / Virus Database: 1520/3943 - Release Date: 10/07/11 ----- No virus found in this message. Checked by AVG - www.avg.com Version: 10.0.1410 / Virus Database: 1520/3943 - Release Date: 10/07/11 ----- No virus found in this message. Checked by AVG - www.avg.com Version: 10.0.1410 / Virus Database: 1520/3943 - Release Date: 10/07/11 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php