zenacity Posted November 29, 2011 Posted November 29, 2011 Hi osCommerce Gurus! Please help... I have osCommerce running here https://www.parisianpeel.com/osCommerce/ This site has been up for a while (couple years) and I just started getting (or at least hearing about) this problem. Basically it is an intemittant problem that happens when viewing an item or just browsing. I will get this error message but then if I refresh the page it will work fine. It almost seems like a timing out issue to me (but it returns immediately). If you go to the link above and just click on a few items I almost guarantee that you will see this error. When you refresh the page the message will be gone. Any ideas?? Warning: mysql_connect() [function.mysql-connect]: Unknown MySQL server host 'mysql291.secureserver.net' (2) in /home/content/A/t/i/Atimed1/html/osCommerce/includes/functions/database.php on line 19 Unable to connect to database server!
♥geoffreywalton Posted November 30, 2011 Posted November 30, 2011 Do you have double quotes (") round the server name in the config files? If so, try changing them to single quotes ('). This has been known to cause this behaviour. G Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile Virus Threat Scanner My Contributions Basic install answers. Click here for Contributions / Add Ons. UK your site. Site Move. Basic design info. For links mentioned in old answers that are no longer here follow this link Useful Threads. If this post was useful, click the Like This button over there ======>>>>>.
zenacity Posted December 6, 2011 Author Posted December 6, 2011 Nope, they are single quotes. I changed the sql server to use an IP address and it seems to have made a difference. Thanks!
bensuba Posted October 3, 2012 Posted October 3, 2012 Nope, they are single quotes. I changed the sql server to use an IP address and it seems to have made a difference. Thanks! Thank you. This happens to me. I have pinged with command windows cmd.exe to get ip, and then changed both configuration.php You are saving my life My profile
Recommended Posts
Archived
This topic is now archived and is closed to further replies.