Soo there's this website which I sold someone... http://trendinglikes.com/ .... and now there's some error being shown on its homepage.... after I transferred all the files to it.... It'd be really appreciable if someone help me fix this... ^_^
It's a warning not an error and it looks like the issue is coming from 'Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/content/37/9677237/html/LIKES/inc/libs/MySQL_connection.php on line 36'. so your script cannot connect to the MySQL server for some reason. What you should check is that MySQL is running on the server and that the MySQL credentials your script is using are the correct ones. you can also use php's error_reporting() function to disable the warning from being displayed on the page.
As per the following logs, it seems to be that mysql setting is wrong in the file MySQL_connection.php, make sure that you have set the correct mysql server name in the file MySQL_connection.php, if everything is set correctly than make sure that mysql is up and running... : Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/content/37/9677237/html/LIKES/inc/libs/MySQL_connection.php on line 36
the problem is fixed the only thing the was wrong was the files was labeled wrong but thanks to all who tried to help
Did you see that this has been solved? If you want people to see your signature, there are a lot of posts that haven't been solved.
Well, since you asked you can tell whether it has been solved by reading the thread. That way, you would know that the OP related that he had transferred the database just a few posts before your comment that he needs to transfer the database. Just sayin' ...