View Issue Details

IDProjectCategoryView StatusLast Update
0005296OXID eShop (all versions)5. ------ UpdateApp / Update ------public2013-11-06 19:48
ReporterSvenDeichmann Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionunable to reproduce 
Product Version4.6.6 revision 54646 
Target Version4.7.10 / 5.0.10 
Summary0005296: updateApp from 4.4.8->4.6.6 fails if iDebug in config.inc.php 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/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
TagsUpdate App
ThemeBoth
BrowserAll
PHP Versionany
Database Versionany

Activities

user915

2013-11-05 10:01

  ~0009222

QA please check if still valid with new CUPS generator.

jurate.baseviciene

2013-11-06 19:47

reporter   ~0009240

Hi,

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

Best regards