gailA Posted January 25, 2004 Share Posted January 25, 2004 I looked in database.php, line 17 and couldn't see anything that led me the right direction. Thanks Warning: mysql_pconnect(): User spellc2 has already more than 'max_user_connections' active connections in /home/spellc2/public_html/includes/functions/database.php on line 17 Unable to connect to database server! Link to comment Share on other sites More sharing options...
241 Posted January 25, 2004 Share Posted January 25, 2004 this relates to the use of prsistent connections No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes. Link to comment Share on other sites More sharing options...
gailA Posted January 25, 2004 Author Share Posted January 25, 2004 Thanks for the direction. It seems as though you are the ONLY one on the forums that adds replies to us that are less seasoned in OSC. I appreciate this! Link to comment Share on other sites More sharing options...
241 Posted January 25, 2004 Share Posted January 25, 2004 do you have this set true or false in your configure.php files define('USE_PCONNECT', 'true'); if set true set to false and try it No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes. Link to comment Share on other sites More sharing options...
gailA Posted January 25, 2004 Author Share Posted January 25, 2004 It was set to True in Configure.php (both files) and also in database.php I changed all three files to False. We'll give it a go! Thanks again Link to comment Share on other sites More sharing options...
241 Posted January 25, 2004 Share Posted January 25, 2004 Was this the line that you changed in the database.php file if (USE_PCONNECT == 'true') { I did not say to change this and if you do change it then you have just cancelled out the other changes as this code is an IF statement part which means IF true do this else do that when you change the statement to false you reverse the statement to IF false do this else do that. So this statement should not be changed, I advise that you change this back to true No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes. Link to comment Share on other sites More sharing options...
gailA Posted January 25, 2004 Author Share Posted January 25, 2004 ooOP's, changed back! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.