Guest Posted June 24, 2009 Share Posted June 24, 2009 Hi, We just purchased our SSL certificate, which was installed on our server by our host. I opened includes/configure.php and admin/includes/configure.php and changed: define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module to define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module Now, the store won't load at all and the following error message appears: Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /data/16/1/30/122/1845122/user/2002576/htdocs/store/includes/functions/database.php on line 19 Unable to connect to database server! Does anybody know A.) What I did wrong? B.) How to fix this? Thank you. Link to comment Share on other sites More sharing options...
bkellum Posted June 24, 2009 Share Posted June 24, 2009 Hi,We just purchased our SSL certificate, which was installed on our server by our host. I opened includes/configure.php and admin/includes/configure.php and changed: define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module to define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module Now, the store won't load at all and the following error message appears: Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /data/16/1/30/122/1845122/user/2002576/htdocs/store/includes/functions/database.php on line 19 Unable to connect to database server! Does anybody know A.) What I did wrong? B.) How to fix this? Thank you. Check with your host as this could be a number of server related issues, most likely your IP address being blocked. Also, you need to do more in your configure.php files than just enable SSL. Please read the KB article on this: http://www.oscommerce.info/kb/osCommerce/G...mon_Problems/75 Bill Kellum Sounds Good Productions STS Tutorials & more: STSv4.6, STS Add-ons (STS Power Pack), STS V4 Forum STS Forum FREE TEMPLATE Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.