View Single Post
  #30  
Old 08-31-2012, 02:19 AM
 
JacksmithxD JacksmithxD is offline
 

X-Adept
  
Join Date: Oct 2010
Posts: 400
 

Default Re: X-Cart Adapt Template

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.
__________________
Xcart 4.5.2
Reply With Quote