squerley Posted July 18, 2005 Share Posted July 18, 2005 Hello All, Im having a little problem loging on to my sight that is a osCommerce site I had a put in a log on script for my admin page and has been working fine till now its giving me a this warrning mesage: Warning: mysql_connect(): Access denied for user: '[email protected]' (Using password: YES) in /home/content/s/q/u/squerley/html/catalog/includes/functions/database.php on line 19 Unable to connect to database server! I took out all the code I put in and still nothing, and the person who put the site together for me cant figure it out can anyone help :sweating: :sweating: :sweating: THanks :-" :-" Link to comment Share on other sites More sharing options...
♥Vger Posted July 18, 2005 Share Posted July 18, 2005 Make sure that the setting 'use_pconnect' is set to 'false' in both of your configure.php files. Many servers are set not to allow persistent connections. Vger Link to comment Share on other sites More sharing options...
squerley Posted July 18, 2005 Author Share Posted July 18, 2005 Make sure that the setting 'use_pconnect' is set to 'false' in both of your configure.php files. Many servers are set not to allow persistent connections. Vger <{POST_SNAPBACK}> Thanks for the reply, I dont want to sound to stupped but were is the 2 configure.php files Im new at this html,php,ect coding? I didnt set up this site so im going into this blind :lol: I see one configure file in the sub cat of catilog\admin but I cant find a value 'use_pconnect'? Thanks :thumbsup: Link to comment Share on other sites More sharing options...
♥Vger Posted July 18, 2005 Share Posted July 18, 2005 define('USE_PCONNECT', 'false'); // use persisstent connections? It's in both catalog/includes/configure.php and in catalog/admin/includes/configure.php Vger Link to comment Share on other sites More sharing options...
squerley Posted July 18, 2005 Author Share Posted July 18, 2005 define('USE_PCONNECT', 'false'); // use persisstent connections? It's in both catalog/includes/configure.php and in catalog/admin/includes/configure.php Vger <{POST_SNAPBACK}> Ok Got it, there both set to false. squerley Link to comment Share on other sites More sharing options...
squerley Posted July 19, 2005 Author Share Posted July 19, 2005 Ok Got it, there both set to false. squerley <{POST_SNAPBACK}> Sorry but I mis typed there bolth false but still no luck, what if I changed the if (USE_PCONNECT == 'true') { to false in the catalog/admin/includes/functions/database.php :wacko: :wacko: Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.