View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0005638 | OXID eShop (all versions) | 4.01. Database handling | public | 2014-02-05 00:39 | 2023-11-24 10:37 |
Reporter | martinwegele | Assigned To | |||
Priority | low | Severity | minor | Reproducibility | have not tried |
Status | resolved | Resolution | fixed | ||
Product Version | 4.8.3 / 5.1.3 | ||||
Fixed in Version | 6.0.0-beta.1 | ||||
Summary | 0005638: Setup uses mysql_ functions only | ||||
Description | The setup routine does not make use of the oxDb-class or AdoDbLite but instead uses the mysql_-functions which are deprecated as of PHP 5.5.0: http://de3.php.net/ChangeLog-5.php#5.5.0 Therefore simply changing the dbType in config.inc.php does not help and you cannot install OXID eShop on a server where the "oldschool" mysql_-functions are not available. If I saw it correctly this fact is pointed out in the official system requirements but it may become a problem in the future when the mysql_-functions are not available in every PHP installation by default. | ||||
Tags | MySQL, PHP, Setup | ||||
Theme | Not defined | ||||
Browser | All | ||||
PHP Version | Not defined | ||||
Database Version | Not defined | ||||
related to | 0005617 | resolved | Linas Kukulskis | Failure in diagnostics |
|
MySQL system requirements (displayed during setup) is green when at least one of the following extensions are installed: mysql, mysqli or pdo_mysql. However our setup process as you mentioned explicitly uses mysql extension. This is not consistent. |
|
A mysql_* function (mysql_get_server_info()) is also used in oxDiagnostics::_getMySqlServerInfo(). More information and alternative functions: http://php.net/manual/en/function.mysql-get-server-info.php |
|
related to this: https://bugs.oxid-esales.com/view.php?id=4819 (because oxDB contains mysql_real_escape_string) |
|
AdoDbLite was removed from the framework in version 6.0 |