View Issue Details

IDProjectCategoryView StatusLast Update
0006641OXID eShop (all versions)5. ------ UpdateApp / Update ------public2017-05-23 09:08
Reportermichael_keiluweit 
PrioritynormalSeverityminorReproducibilityalways
Status acknowledgedResolutionopen 
Product Version4.7.0 / 5.0.0 revision 51243 
Target VersionFixed in Version 
Summary0006641: UTF-8 update script runs into an endless loop
DescriptionWhile executing the update script to change the charset from ISO to UTF-8 it runs into an endless loop.
Steps To Reproduce1. Install the shop 5.0.0 (and do not check the checkbox to install with the charset UTF-8)
2. Get the fitting update package from this page: https://www.oxid-esales.com/de/support-services/dokumentation-und-hilfe/oxid-eshop/installation/oxid-eshop-aktualisieren/auf-utf-8-umstellen.html
3. Follow the instructions and begin the update.
4. At the step "done convertConfigData," it will loop.
Additional InformationAlso experienced with the script for the shop version 5.1.0.

MySQL Server version: 5.5.55-0ubuntu0.14.04.1-log (Ubuntu)


Suggested fix:

update.php

\update_utf8::convertConfigData

Search for

    $iUpdateCnt = 0;
    $oRs = oxDb::getDb(true)->Execute( $sQ );

Replace with

    $iUpdateCnt = 0;
    $oRs = oxDb::getDb(oxDb::FETCH_MODE_ASSOC)->Execute( $sQ );
TagsSolution Provided, UTF-8
ThemeNot defined
BrowserNot defined
PHP Version5.6
MySQL Version5.5

Activities

There are no notes attached to this issue.