Quote:
Originally Posted by KCAutosound
silly question probably but when I go to the Testimonials on the Admin side I get the following message.
"Couldn't execute query. Access denied for user 'apache'@'localhost' (using password: NO) - SELECT * FROM testimonials WHERE 1=1 LIMIT 0"
Also it could be due to me being confused with the config for the testimonial_send.php file. I'm not quite sure how I'm actually supposed to input my settings.
$mysqlLink = @mysql_connect(
"localhost", // <- Database Hostname
"username", // <- Database Username
"password" // <- Database Password
);
if (mysql_errno() == 0) { @mysql_select_db("database", $mysqlLink); } // <- Database Name
Am I supposed to replace the "username" and the "password" with mine?
Another thing I noticed is when submitting a testimonial the Captcha code isn't displaying but does this have to do with the initial database settings problem.
|
Replace the Username with the Database username and same goes with the password.