View Issue Details

IDProjectCategoryView StatusLast Update
0005296OXID eShop (all versions)5. ------ UpdateApp / Update ------public2013-11-06 19:48
Status resolvedResolutionunable to reproduce 
Product Version4.6.6 revision 54646 
Target Version4.7.10 / 5.0.10Fixed in Version 
Summary0005296: updateApp from 4.4.8->4.6.6 fails if iDebug in is -1
DescriptionupdateApp 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/
Stack trace:
#0 /var/www/dpag_abnahme/core/adodblite/adodbSQL_drivers/mysql/ adodb_throw('mysql', 'EXECUTE', 1054, 'Unknown column ...', 'select oxvarnam...', false, Object(object_ADOConnection))
#1 /var/www/dpag_abnahme/core/adodblite/ 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/ on line 84

This error only occurs when setting iDebug to -1 in of the updated shop beforehand.
Steps To Reproduce- install a shop version 4.4.8
- change iDebug in to -1
- run 4.6.6 update as usual
  (- copy copy_this from installer
   - run updateApp (console preferably))
- update will fail
TagsUpdate App
PHP Versionany
MySQL Versionany



2013-11-05 10:01

administrator   ~0009222

QA please check if still valid with new CUPS generator.


2013-11-06 19:47

reporter   ~0009240


Bug is not valid with new CUPS generator. updateApp from 5.0.0... does not fail if iDebug in is -1.

Best regards