has anyone else got this appearing in their log files?
[13-Aug-2015 21:13:57 UTC] PHP Warning: mysql_query(): Access denied for user ''@'localhost' (using password: NO) in /xxx/admin/orders.php on line 1217
[13-Aug-2015 21:13:57 UTC] PHP Warning: mysql_query(): A link to the server could not be established in /xxx/admin/orders.php on line 1217
[13-Aug-2015 21:13:57 UTC] PHP Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /xxx/admin/orders.php on line 1218
its generated a huge amount of log files - 1000's per day
looked like the wrong SQL code was being used
so locate admin/orders.php line 1215-1222
<!-- BOF added to get currency type and value for totals -->
<?php $dbc="select currency, currency_value from " . TABLE_ORDERS . " where orders_id ='" . $_GET['oID'] . "'";
$result = mysql_query($dbc);
$row = mysql_fetch_array ($result, MYSQL_NUM);
$cu = $row[0];
$cv = $row[1];
?>
<!-- EOF added to get currency type and value for totals -->
and replace with
<!-- BOF added to get currency type and value for totals -->
<?php $db="select currency, currency_value from " . TABLE_ORDERS . " where orders_id ='" . $_GET['oID'] . "'";
$result = mysql_query($db);
$row = mysql_fetch_array ($result, MYSQL_NUM);
$cu = $row[0];
$cv = $row[1];
?>
<!-- EOF added to get currency type and value for totals -->
seems to be it didn't like $dbc instead of $db
no idea if this is just mine of anyone elses :) but in case hope this helps
Thanks
Sarah