I am no PHP genius but I can complete a config file. I have checked and rechecked. It is just on my test domain so I use very basic usr names and pw. Anyway, here is what I am getting: Here is line 169 - 171
Have you set each of these variables to the proper values? $host $login $pass $database Code (markup): Is the varabiles being set before you try to connect to the database through php? From the error message it said you are not using a PASSWORD (using password: NO) . This means that you are not setting at least the password before trying to connect. So, something is wrong with your variables at least. If the variables are properly set. Well, the letter.php is what the error is reported in. So, makes sure config.php is included properly before the script makes the call to connect to the mysql database. .