Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

I messed up


Recommended Posts



I was installing one of the contributions to password protect the admin part but I messed up. Some files got overwritten which shouldn't have been ( didn't know which files exactly ) so I re-uploaded the admin directory but now I get the following error when I try to enter the admin panel.


Warning: mysql_connect(): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in

public_html/adminstuff/includes/functions/database.php on line 19

Unable to connect to database server!


The front end is still working.

I'm assuming I have to change some settings in one of the files in the admin directory but I have no idea which one. Anyone able to help me with this ?

Link to comment
Share on other sites



NOTE: As of Oct 2006, I'm not as active in this forum as I used to be, but I still work with osC quite a bit.

If you have a question about any of my posts here, your best bet is to contact me though either Email or PM in my profile, and I'll be happy to help.

Link to comment
Share on other sites


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

  • Create New...