Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Warning: mysql_pconnect(): User spellc2 has alread


gailA

Recommended Posts

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

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! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Link to comment
Share on other sites

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! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Link to comment
Share on other sites

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! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...