View Issue Details

IDProjectCategoryView StatusLast Update
0006422OXID eShop (all versions)4.01. Database handlingpublic2016-07-14 16:43
Reporterflowcontrol Assigned To 
PrioritynormalSeverityblockReproducibilityalways
Status resolvedResolutionfixed 
PlatformallOSallOS Versionall
Product Version4.10.0 / 5.3.0 
Fixed in Version4.10.1 / 5.3.1 
Summary0006422: Missing DIRECTORY_SEPARATOR in mysqli Driver leads to 500
DescriptionPHP message: PHP Warning: require_once(/var/www/html/core/adodblite/adodbSQL_drivers/mysqli../../../interface/ResultSetInterface.php): failed to open stream: No such file or directory in /var/www/html/core/adodblite/adodbSQL_drivers/mysqli/mysqli_driver.inc on line 394
Steps To Reproduce- Update 5.2.9 EE to 5.3.0
- we already had mysqli as the mysql driver before that update
- open shop in browser
- 500
Additional InformationPatch

--- a/core/adodblite/adodbSQL_drivers/mysqli/mysqli_driver.inc
+++ b/core/adodblite/adodbSQL_drivers/mysqli/mysqli_driver.inc
@@ -391,7 +391,7 @@ class mysqli_driver_ADOConnection extends ADOConnection
        }
 }
 
-require_once __DIR__ . '..' . DIRECTORY_SEPARATOR. '..' . DIRECTORY_SEPARATOR. '..' . DIRECTORY_SEPARATOR. 'interface' . DIRECTORY_SEPARATOR. 'ResultSetInterface.php';
+require_once __DIR__ . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR. '..' . DIRECTORY_SEPARATOR. '..' . DIRECTORY_SEPARATOR. 'interface' . DIRECTORY_SEPARATOR. 'ResultSetInterface.php';
TagsNo tags attached.
ThemeNot defined
BrowserNot defined
PHP VersionNot defined
Database VersionNot defined

Activities

alfredbez

2016-07-05 13:06

reporter   ~0011661

https://github.com/OXID-eSales/oxideshop_ce/pull/426

heinrich.franz

2016-07-07 23:53

reporter   ~0011669

I have same bug when upgrading right now. After I've fixed it, seeing that a bug report for that issue is already submitted.

BTW: error is only in mysqli_driver.inc, not in mysql_driver.inc.

anton.fedurtsya

2016-07-14 16:42

administrator   ~0011701

Thank you for the pull request. Just merged to 5.3.