View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0005617 | OXID eShop (all versions) | 2.8. Service | public | 2014-01-22 10:41 | 2014-07-30 16:38 |
Reporter | mpienkny | Assigned To | |||
Priority | normal | Severity | major | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 4.8.1 / 5.1.1 | ||||
Target Version | 4.8.8 / 5.1.8 | Fixed in Version | 4.8.8 / 5.1.8 | ||
Summary | 0005617: Failure in diagnostics | ||||
Description | When diagnostics ran, there is a failure reported: Warning: mysql_get_server_info(): Access denied for user 'www-data'@'localhost' (using password: NO) in /var/www/../application/models/oxdiagnostics.php on line 518 Warning: mysql_get_server_info(): A link to the server could not be established in /var/www/../application/models/oxdiagnostics.php on line 518 | ||||
Steps To Reproduce | Reduce database access to only known users with passwords (like it is in most productive environment) | ||||
Additional Information | Failure may a result because of function call of mysql_get_server_info() without any database resource. | ||||
Tags | No tags attached. | ||||
Theme | Both | ||||
Browser | All | ||||
PHP Version | any | ||||
Database Version | any | ||||
|
Reminder sent to: mpienkny Hi, Sorry we can't reproduce the issue. Could you please check if you have mySql connection, are mySql credentials correct in config.inc.php? What driver do you use - mysql or mysqli ? Please give more details about your production environment (versions, configurations)? Best regards, |
|
Hi, thanks for looking. I tested now diffent machines - the first still sends the warning, the second suppresses the warning (maybe there is no php_admin_value set for error_reporting). But in both cases the function "oxDiagnostics::_getMySqlServerInfo()" return false, because there is no connection. Could you confirm this? Kind regards |
|
replaced with mysql guery |