Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Not sure what i have done, please help!!

supra tt myster

Recommended Posts

Hi there


I was just looking at some source by FTPing the files to change the text in the search help box and i know i havent changed anything as i was just looking for now but now when i go to my website it comes up with this


Warning: mysql_connect(): Can't connect to local MySQL server through socket '/var/tmp/mysql.sock' (13) in /home/emin2/public_html/store/includes/functions/database.php on line 19

Unable to connect to database server


Can anyone help me? what has happened???

Link to comment
Share on other sites

Did you download any files and open them in an editor such as WordPad, and then upload them again? Basically, if you download files you should only open them in a plain text editor such as NotePad - WordPad applies text formatting (which you don't see) which screws up the file. If you then upload it back to the server - BINGO you've got problems.


Best advice - get original copes of any files you've uploaded to the server, and reinstall those files. When you FTP them also make sure that page files are sent in ASCII mode and not Binary Mode. Image files should be sent in Binary Mode and not ASCII.



Link to comment
Share on other sites


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

  • Create New...