View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0005296 | OXID eShop (all versions) | 5. ------ UpdateApp / Update ------ | public | 2013-07-15 14:58 | 2013-11-06 19:48 |
Reporter | SvenDeichmann | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | unable to reproduce | ||
Product Version | 4.6.6 revision 54646 | ||||
Target Version | 4.7.10 / 5.0.10 | ||||
Summary | 0005296: updateApp from 4.4.8->4.6.6 fails if iDebug in config.inc.php is -1 | ||||
Description | updateApp has a problem when running with already updated shop sources (following the update instruction suggests that) because it tries to load configuration values from the database while referencing the not yet existing "oxmodule" column: PHP Fatal error: Uncaught exception 'ADODB_Exception' with message 'mysql error: [1054: Unknown column 'oxmodule' in 'where clause'] in EXECUTE("select oxvarname, oxvartype, DECODE( oxvarvalue, 'fq45QS09_fqyx09239QQ') as oxvarvalue from oxconfig where oxshopid = '1' and oxmodule='' ") ' in /var/www/dpag_abnahme/core/adodblite/adodb-exceptions.inc.php:84 Stack trace: #0 /var/www/dpag_abnahme/core/adodblite/adodbSQL_drivers/mysql/mysql_driver.inc(369): adodb_throw('mysql', 'EXECUTE', 1054, 'Unknown column ...', 'select oxvarnam...', false, Object(object_ADOConnection)) #1 /var/www/dpag_abnahme/core/adodblite/adodb.inc.php(316): mysql_driver_ADOConnection->do_query('select oxvarnam...', -1, -1, false) #2 /var/www/dpag_abnahme/core/oxlegacydb.php(191): ADOConnection->Execute('select oxvarnam...', false) #3 /var/www/dpag_abnahme/core/oxconfig.php(613): oxLegacyDb->select('select oxvarnam...') #4 /var/www/dpag_abnahme/core/oxconfig.php(456): oxConfig->_loadVarsFromDb('1') #5 /var/www/dpag_abnahme/core/oxconfig.php(541): oxConfig in /var/www/dpag_abnahme/core/adodblite/adodb-exceptions.inc.php on line 84 This error only occurs when setting iDebug to -1 in config.inc.php of the updated shop beforehand. | ||||
Steps To Reproduce | - install a shop version 4.4.8 - change iDebug in config.inc.php to -1 - run 4.6.6 update as usual (- copy copy_this from installer - run updateApp (console preferably)) - update will fail | ||||
Tags | Update App | ||||
Theme | Both | ||||
Browser | All | ||||
PHP Version | any | ||||
Database Version | any | ||||