Hallo itnic, so geht es nicht?
//wegen Problem mit mySql 5.7
$oDb = oxDb::getDb();
$sQ = “SET SESSION optimizer_switch = ‘derived_merge=off’”;
$oDb->execute($sQ, array());
//Starts the shop
OXID::run();
Ich habe mich entschieden, derived_merge=off’ wieder wegzunehmen, weil der shop sehr langsam wird.
Ich habe jetzt wieder das Problem, daß keine Versandart angeboten wird. Folgendes hat dann geholfen: Alle Länder aus Zugeordnete Länder löschen, Views updaten, wieder alles Länder zu Zugeordnete Länder hinzufügen, dann geht es wieder für eine Weile, bis man zu viel navigiert oder sich mit anderem Konto anmeldet. (Alle Länder zuordnen und keine Land zuordnen ist äquivalent, normaleweise ordnet man gar kein Land zu. So steht es in der Bedienungsanleitung: “Benutzer und Benutzergruppen können, müssen aber nicht zugeordnet sein. Fehlt letztere Zuordnung, gilt die Versandart für alle Benutzer.”)
Das ist natürlich noch keine Lösung, weil es nur für kurz hilft. Aber es zeigt, daß man nicht etwas bei den Regeln falsch eingestellt haben muß, und daß es wohl mit mysql 5.7 zu tun hat.
Mich würde interessieren, was für OXID-Shop-Versionen Ihr besitzt. Ich habe 4.9.7. CE. Das Problem scheinen ja nur wenige zu haben. Weiß jemand, ob ein Update hilft? Und wer weiß, wie es mit mysql 5.8 sein wird?
Und sind nur shops bei Alfahosting betroffen?
Anhang:
Leider funktioniert jetzt das backend nicht mehr. Erst ging es noch eine Weile. Die Drop-Down-Boxen sprechen nicht mehr an. Hier ist der Errorlog:
oxSystemComponentException-oxException (time: 2016-11-18 11:08:34): [0]: ERROR_MESSAGE_SYSTEMCOMPONENT_FUNCTIONNOTFOUND
Stack Trace: #0 /var/www/x/html/core/oxutilsobject.php(188): oxUtilsObject->_getObject(‘oxsystemcompone…’, 0, Array)
#1 [internal function]: oxUtilsObject->oxNew(‘oxSystemCompone…’)
#2 /var/www/x/html/core/oxfunctions.php(371): call_user_func_array(Array, Array)
#3 /var/www/x/html/core/oxview.php(532): oxNew(‘oxSystemCompone…’)
#4 /var/www/x/html/core/oxshopcontrol.php(347): oxView->executeFunction(‘recommlists’)
#5 /var/www/x/html/core/oxshopcontrol.php(126): oxShopControl->_process(‘oxwcookienote’, ‘recommlists’, Array, Array)
#6 /var/www/x/html/core/oxwidgetcontrol.php(73): oxShopControl->start(‘oxwcookienote’, NULL, Array, Array)
#7 /var/www/x/html/core/smarty/plugins/function.oxid_include_widget.php(56): oxWidgetControl->start(‘oxwcookienote’, NULL, Array, Array)
#8 /var/www/x/html/tmp/smarty/08cd8ec20b6974b71f3e344beaab3f34^%%93^93D^93D6031B%%header.tpl.php(10): smarty_function_oxid_include_widget(Array, Object(Smarty))
#9 /var/www/x/html/core/smarty/Smarty.class.php(1870): include(‘/var/www/x…’)
#10 /var/www/x/html/tmp/smarty/08cd8ec20b6974b71f3e344beaab3f34^%%36^366^366ECF91%%page.tpl.php(23): Smarty->_smarty_include(Array)
#11 /var/www/x/html/core/smarty/Smarty.class.php(1870): include(‘/var/www/x…’)
#12 /var/www/x/html/tmp/smarty/08cd8ec20b6974b71f3e344beaab3f34^%%DA^DA0^DA07DFA9%%err_404.tpl.php(21): Smarty->_smarty_include(Array)
#13 /var/www/x/html/core/smarty/Smarty.class.php(1264): include(‘/var/www/x…’)
#14 /var/www/x/html/core/oxutilsview.php(104): Smarty->fetch(‘message/err_404…’)
#15 /var/www/x/html/core/oxutils.php(1489): oxUtilsView->getTemplateOutput(‘message/err_404…’, Object(oxUBase))
#16 /var/www/x/html/core/oxfunctions.php(236): oxUtils->handlePageNotFoundError(‘’)
#17 /var/www/x/html/application/controllers/rss.php(196): error_404_handler()
#18 /var/www/x/html/core/oxview.php(522): Rss->recommlists()
#19 /var/www/x/html/core/oxshopcontrol.php(347): oxView->executeFunction(‘recommlists’)
#20 /var/www/x/html/core/oxshopcontrol.php(126): oxShopControl->_process(‘rss’, ‘recommlists’, NULL, NULL)
#21 /var/www/x/html/core/oxid.php(40): oxShopControl->start()
#22 /var/www/x/html/index.php(26): OXID::run()
#23 /var/www/x/html/oxseo.php(44): require(‘/var/www/x…’)
#24 {main}
Faulty component –> recommlists
Im Moment ist es eher ein Rumbasteln als Mauern. Mit derived merge off meckert Alfahosting, daß die Last zu groß sei. Ohne derived merge off, wie beschrieben! Ich werde vielleicht mal fragen, ob ich auf mysql 5.6 downgraden kann.
Entschuldigung! Es muß ein Java-Problem mit dem Browser sein. Ich melde mich nochmal, welches Problem eigentlich durch das fehlende derived merge off gemacht wird