View Single Post
  #29  
Old 08-30-2012, 02:41 PM
  KCAutosound's Avatar 
KCAutosound KCAutosound is offline
 

eXpert
  
Join Date: Feb 2005
Posts: 220
 

Default Re: X-Cart Adapt Template

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.
__________________
X-Cart version 4.7.6 Gold
xcartmods.co.uk - Ultra Template
Reply With Quote