I am getting this error a lot, I noticed it happens whenever I run a certain script on a site. I've checked stderr.log and it has revealed many lines like the following:
Any ideas?
Thanks in advanced
Code:
Access denied for user 'apache'@'localhost' (using password: NO) in /home/xxxxxxx/domains/xxxxxxx.com/public_html/vote/pages/vote.php on line 16PHP Warning: mysql_query() [<a href='function.mysql-query'>function.mysql-query</a>]: A link to the server could not be established in /home/xxxxxxx/domains/xxxxxxx.com/public_html/vote/pages/vote.php on line 16PHP Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/xxxxxxx/domains/xxxxxxx.com/public_html/vote/pages/vote.php on line 17PHP Warning: mysql_close(): supplied argument is not a valid MySQL-Link resource in /home/xxxxxxx/domains/xxxxxxx.com/public_html/vote/pages/vote.php on line 38PHP Warning: mysql_select_db() [<a href='function.mysql-select-db'>function.mysql-select-db</a>]: Access denied for user 'apache'@'localhost' (using password: NO) in /home/xxxxxxx/domains/xxxxxxx.com/public_html/vote/pages/vote.php on line 15PHP Warning: mysql_select_db() [<a href='function.mysql-select-db'>function.mysql-select-db</a>]: A link to the server could not be established in /home/xxxxxxx/domains/xxxxxxx.com/public_html/vote/pages/vote.php on line 15PHP Warning: mysql_query() [<a href='function.mysql-query'>function.mysql-query</a>]: Access denied for user 'apache'@'localhost' (using password: NO) in /home/xxxxxxx/domains/xxxxxxx.com/public_html/vote/pages/vote.php on line 16PHP Warning: mysql_query() [<a href='function.mysql-query'>function.mysql-query</a>]: A link to the server could not be established in /home/xxxxxxx/domains/xxxxxxx.com/public_html/vote/pages/vote.php on line 16PHP Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/xxxxxxx/domains/xxxxxxx.com/public_html/vote/pages/vote.php on line 17PHP Warning: mysql_close(): supplied argument is not a valid MySQL-Link resource in /home/xxxxxxx/domains/xxxxxxx.com/public_html/vote/pages/vote.php on line 38PHP Warning: mysql_select_db() [<a href='function.mysql-select-db'>function.mysql-select-db</a>]: Access denied for user
Any ideas?
Thanks in advanced