View Issue Details

IDProjectCategoryView StatusLast Update
0004004OXID eShop (all versions)4.07. Source code, Testpublic2012-05-11 14:26
Status resolvedResolutionfixed 
Product Version 
Target VersionFixed in Version4.6.1 revision 45706 
Summary0004004: No MySQLi Support in unittests
DescriptionI started OXID 4.6.0 with the mysqli-Driver and my unittests started to fail:

Warning: mysql_real_escape_string(): A link to the server could not be established in /var/www/project/unittests/unit/dbMaintenance.php on line 322

PHP Warning: mysql_real_escape_string(): Access denied for user 'root'@'localhost' (using password: NO) in /var/www/project/unittests/unit/dbMaintenance.php on line 322

After switching back to the "normal" mysql everything just went fine. Is the mysqli-Driver supported in the tests?
TagsNo tags attached.
PHP Versionany
Database Version6.0


Linas Kukulskis

2012-05-11 14:26

reporter   ~0006574

fixed in dbMaintenance: function call changed to oxdb::escape string;
test exist in oxDB tests