Hallo liebe Community,
Nachdem ich den Shop mit Artikeln gefüllt habe und den Bestell- Zahlungsablauf testen wollte trat plötzlich, nach ein paar (3) Bestellungen der Fehler auf. Wohlgemerkt 3 Bestellungen gingen problemlos mit Email-Benachrichtigung. ich habe dann nur den smtp Server mit Zugangsdaten im Adminbereich ergänzt und danach gingen die Bestellungen nur noch bis zum letzten Schritt. Wenn ich dann auf "Zahlungspflichtig bestellen klicke, dauert es ein wenig und eine Weise Seite mit “Shop” offline kommt.
ich kann mir aber nicht vorstellen das es am Eintragen des smtp Servers liegt. da die exception_log folgendes ausspuckt:
oxConnectionException-oxException (time: 2016-08-08 13:12:45): [2006]: mysql error: [2006: MySQL server has gone away] in EXECUTE (select COUNT(*) from oxtplblocks where oxactive=1 and oxshopid='oxbaseshop' and oxmodule in ( 'invoicepdf', 'oepaypal' ) , Array) with user -----
den User habe ich entfernt im Code
Ich habe folgendes versucht:
- /tmp Ordner gelöscht
- Module deaktiviert (tmp Ordner-Inhalt) wieder gelöscht
- Module aktiviert (tmp Ordner-Inhalt wieder gelöscht
- Browsercache gelöscht
- Views neu upgedated (obwohl ich kaum Änderungen an Views vorgenommen habe)
Die php_error log vom Provider gibt keine Fehler diessbezüglich aus
ich hab dann in der config.inc.php den Debug Modus aktiviert um dort mehr zu erfahren.
Wenn ich debug auf 3 stelle kommt sofort folgende Fehlermeldung:
oxConnectionException-oxException (time: 2016-08-08 13:48:09): [1146]: mysql error: [1146: Table 'xb........adodb_logsql' doesn't exist] in EXECUTE (truncate table adodb_logsql, ) with user xb.... Stack Trace: #0 /home/www/trombonisme-shop/core/adodblite/adodbSQL_drivers/mysql/mysql_driver.inc(369): adodb_throw('mysql', 'EXECUTE', 1146, 'Table 'xb...._d...', 'truncate table ...', false, Object(object_ADOConnection)) #1 /home/www/trombonisme-shop/core/adodblite/adodb.inc.php(316): mysql_driver_ADOConnection->do_query('truncate table ...', -1, -1, false) #2 /home/www/trombonisme-shop/core/oxdb.php(298): ADOConnection->Execute('truncate table ...') #3 /home/www/trombonisme-shop/core/oxdb.php(441): oxDb->_setUp(Object(object_ADOConnection)) #4 /home/www/trombonisme-shop/core/oxdb.php(499): oxDb->_getDbInstance() #5 /home/www/trombonisme-shop/core/oxconfig.php(538): oxDb::getDb() #6 /home/www/trombonisme-shop/core/oxconfig.php(399): oxConfig->_loadVarsFromDb('oxbaseshop') #7 /home/www/trombonisme-shop/core/oxconfig.php(331): oxConfig->init() #8 /home/www/trombonisme-shop/core/oxconfig.php(1934): oxConfig->getConfigParam('blProductive') #9 /home/www/trombonisme-shop/core/oxshopcontrol.php(618): oxConfig->isProductiveMode() #10 /home/www/trombonisme-shop/core/oxshopcontrol.php(582): oxShopControl->_getErrorReportingLevel() #11 /home/www/trombonisme-shop/core/oxshopcontrol.php(121): oxShopControl->_runOnce() #12 /home/www/trombonisme-shop/core/oxid.php(40): oxShopControl->start() #13 /home/www/trombonisme-shop/index.php(26): Oxid::run() #14 {main} Connection Adress --> Connection Error -->
User und Tabellen habe ich im Code hier abgeändert.
Wenn ich den Debug Modus in der config.inc.php auf 1 Stelle komme folgende Fehlermeldung nachdem ich den Button geklickt habe (Zahlungspflichtig bestellen)
oxConnectionException-oxException (time: 2016-08-08 13:54:04): [2006]: mysql error: [2006: MySQL server has gone away] in EXECUTE (select `oxv_oxarticles_de`.`oxid` from oxv_oxarticles_de where oxv_oxarticles_de.oxid in ( '05848170643ab0deb9914566391c0c63','058de8224773a1d5fd54d523f0c823e0' ) and oxremindactive = '1' and oxstock <= oxremindamount, Array) with user xb... Stack Trace: #0 /home/www/trombonisme-shop/core/adodblite/adodbSQL_drivers/mysql/mysql_driver.inc(369): adodb_throw('mysql', 'EXECUTE', 2006, 'MySQL server ha...', 'select `oxv_oxa...', Array, Object(object_ADOConnection)) #1 /home/www/trombonisme-shop/core/adodblite/adodb.inc.php(316): mysql_driver_ADOConnection->do_query('select `oxv_oxa...', -1, -1, Array) #2 /home/www/trombonisme-shop/core/oxlegacydb.php(128): ADOConnection->Execute('select `oxv_oxa...', Array) #3 /home/www/trombonisme-shop/core/oxlist.php(386): oxLegacyDb->select('select `oxv_oxa...') #4 /home/www/trombonisme-shop/application/models/oxarticlelist.php(79): oxList->selectString('select `oxv_oxa...') #5 /home/www/trombonisme-shop/application/models/oxarticlelist.php(836): oxArticleList->selectString('select `oxv_oxa...') #6 /home/www/trombonisme-shop/core/oxemail.php(1268): oxArticleList->loadStockRemindProducts(Array) #7 /home/www/trombonisme-shop/application/controllers/thankyou.php(150): oxEmail->sendStockReminder(Array) #8 /home/www/trombonisme-shop/core/oxshopcontrol.php(479): Thankyou->render() #9 /home/www/trombonisme-shop/core/oxshopcontrol.php(361): oxShopControl->_render(Object(Thankyou)) #10 /home/www/trombonisme-shop/core/oxshopcontrol.php(126): oxShopControl->_process('thankyou', NULL, NULL, NULL) #11 /home/www/trombonisme-shop/core/oxid.php(40): oxShopControl->start() #12 /home/www/trombonisme-shop/index.php(26): Oxid::run() #13 {main} Connection Adress --> Connection Error -->
Das heisst für mich, dass er unmittelbar beim abschicken der letzten Daten im Bestellvorgang die Connection zur Datenbank verliert oder?
Aber warum? keine Ahnung. Außer Produkte einzupflegen, smtp Server zu ändern und Bestellvorgang durchzugehen habe ich nichts am Shop geändert.
Meine Shopversion ist:
Community Edition 4.10.1
PHP Version = 5.6.24
In der (Systemgesundheit) ist auch alles Grün
Ich bin wirklich ratlos.
A little help would be great?
Lieber Gruß
Jürgen