OA01 Posted April 11, 2016 Report Share Posted April 11, 2016 Since moving over to SimPilots phpvms my cron jobs have failed with the following error: <br /> <b>Notice</b>: A non well formed numeric value encountered in <b>/home2/xxxxxx/public_html/core/common/StatsData.class.php</b> on line <b>171</b><br /> <br /> <b>Warning</b>: mysql_query() [<a href='function.mysql-query'>function.mysql-query</a>]: Access denied for user 'xxxxxx'@'localhost' (using password: NO) in <b>/home2/xxxxxx/public_html/admin/maintenance.php</b> on line <b>52</b><br /> <br /> <b>Warning</b>: mysql_query() [<a href='function.mysql-query'>function.mysql-query</a>]: A link to the server could not be established in <b>/home2/xxxxxx/public_html/admin/maintenance.php</b> on line <b>52</b><br /> Access denied for user 'xxxxxx'@'localhost' (using password: NO) My host claims that nothing has changed on their end but were of no further help as they "don't support Cron jobs" Quote Link to comment Share on other sites More sharing options...
Administrators simpilot Posted April 13, 2016 Administrators Report Share Posted April 13, 2016 I would try uploading the file again - there is not a line 52 in the github version. https://github.com/DavidJClark/phpvms_5.5.x/blob/master/admin/maintenance.php Quote Link to comment Share on other sites More sharing options...
OA01 Posted April 17, 2016 Author Report Share Posted April 17, 2016 File uploaded but error received is: <br /> <b>Notice</b>: A non well formed numeric value encountered in <b>/home2//public_html/core/common/StatsData.class.php</b> on line <b>171</b><br /> <br /> <b>Warning</b>: mysql_query() [<a href='function.mysql-query'>function.mysql-query</a>]: Access denied for user 'xxxxxx'@'localhost' (using password: NO) in <b>/home2//public_html/admin/maintenance.php</b> on line <b>52</b><br /> <br /> <b>Warning</b>: mysql_query() [<a href='function.mysql-query'>function.mysql-query</a>]: A link to the server could not be established in <b>/home2//public_html/admin/maintenance.php</b> on line <b>52</b><br /> Access denied for user 'xxxxxx'@'localhost' (using password: NO) Quote Link to comment Share on other sites More sharing options...
Administrators simpilot Posted April 23, 2016 Administrators Report Share Posted April 23, 2016 Access denied for user 'xxxxxx'@'localhost' (using password: NO) Generally that is simply the wrong credentials for the database but if the site is running on the same thing it doesnt make sense. Are you possibly running two databases, one as a test and one live or something? A link to the server could not be established This one leads me more to believe that the sql server was down or refusing connections when the script went to use it. Again, are there possibly multiple databases in operation? When you changed the system did you move and overwrite all files? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.