Hello, I can see the following errors logged in the error_log file, I can't really understand why they are generating, support insisting that its related to code. Below please find the error_log file content In /home/site/public_html/ads/ads.php on line 3 we have the following coding $connection = mysql_connect("localhost","dbuser","db"); PHP: Please suggest why this is happening further more on my server /et/my.cnf has the following content in it: Please suggest
Your mysql_connect statement isn't connecting to the database. Why? No idea. Bad username? Bad password? The database isn't on the same computer as the web server? The database is down? We can't tell from here. All the other errors come from the fact that you're not connected to a database.
It is related to the code. Something is wrong. Using the clues in the log, you should be able to track it down. Only fix the first few and rerun. It's just standard PHP debugging. Code errors show up right away. Run time errors show up when the code is ran. Some sort of disconnect between the php code and the database setup. User names, passwords, etc. If it was working go back to the last changes made. They "broke" it. If you have earlier working code, compare the working code with the current code. You mentioned support. Who's support?