Working but getting a warning.
-
Hi,
I’ve got this installed and it appears to be working fine, but I keep getting errors in the apache log file:-[Thu Jan 29 01:13:50.552664 2015] [:error] [pid 23031] [client xx.xxx.xx.xxx:15171] PHP Warning: mysql_real_escape_string(): Access denied for user 'www-data'@'localhost' (using password: NO) in /var/www/wp-content/plugins/network-latest-posts/network-latest-posts-widget.php on line 106 [Thu Jan 29 01:13:50.552902 2015] [:error] [pid 23031] [client xx.xxx.xx.xxx:15171] PHP Warning: mysql_real_escape_string(): A link to the server could not be established in /var/www/wp-content/plugins/network-latest-posts/network-latest-posts-widget.php on line 106
I dont really know why it would be trying to access the database using www-data instead of the wordpress credentials?
I’ve ignored it until now as it’s still working. but tonight I had to do some diagnostics and these errors shooting up the screen really caused problems troubleshooting something else.Any suggestions?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Working but getting a warning.’ is closed to new replies.