Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Problem with database.php?


Guest

Recommended Posts

Posted

Hi,

I'm working in a web store and sometimes is very difficult to visit this store or buy something because you only see this code

Warning: mysql_connect() [function.mysql-connect]: User isqxxzf_nemesis has already more than 'max_user_connections' active connections in /home/isqxxzf/public_html/catalog/includes/functions/database.php on line 19

Unable to connect to database server!

 

I believe is something on line 19 of database.php.

on that line have this

$$link = mysql_connect($server, $username, $password);

 

Visit My Website

 

Can someone please, tell me how can I fix that problem?

Thanks

Posted
troj.jpg

 

How can I fix that? Can you please, help me?

Posted
I think that is a trouble of your hosting provider. Try to contact it.

Hi antonaq,

 

Thanks for your answer.

I already contacted my hosting provider and they told me that the problem is my site and not the server.

I believe its something in database.php

Maybe a database connection is not closed, I don't know

 

I don't know how to fix that, I need help.

 

Thanks in advance

Posted

Clear down your osCommerce directories and restore from a backup (bit of a problem if you don't back up your site)

 

Or

 

Check each individual file for malicious code (not a viable option for most people)

 

or

 

Reinstall and rebuild site (can take ages).

 

 

Make sure you follow the instruction in the oscommerce documentation on how to secure your web site.

 

Enjoy

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 ======>>>>>.

Archived

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

×
×
  • Create New...