View Issue Details

IDProjectCategoryView StatusLast Update
0005638OXID eShop (all versions)4.01. Database handlingpublic2015-12-01 10:39
Reportermartinwegele 
PrioritylowSeverityminorReproducibilityhave not tried
Status acknowledgedResolutionopen 
Product Version4.8.3 / 5.1.3 
Target VersionFixed in Version 
Summary0005638: Setup uses mysql_ functions only
DescriptionThe 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.
TagsMySQL, PHP, Setup
ThemeNot defined
BrowserAll
PHP Version5.5
MySQL VersionNot defined

Relationships

related to 0005617 resolvedLinas Kukulskis Failure in diagnostics 

Activities

tomas_liubinas

2014-02-05 10:04

reporter   ~0009471

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.

michael_keiluweit

2014-02-06 12:04

developer   ~0009477

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

FibreFoX

2014-04-24 15:33

reporter   ~0009860

related to this: https://bugs.oxid-esales.com/view.php?id=4819 (because oxDB contains mysql_real_escape_string)