Uncaught PDOException: SQLSTATE[HY000]

Moin,

ich kann keine Rechnungen mehr erstellen, stattdessen bekomme ich nen error:

[Tue Aug 13 14:43:38.619527 2019] [php7:error] [pid 1693] [client 192.168.0.23:53558] PHP Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away in /home/WestcoastDK/web/westcoast-computer.dk/public_html/engine/Shopware/Components/Session/PdoSessionHandler.php:341\nStack trace:\n#0 /home/WestcoastDK/web/westcoast-computer.dk/public_html/engine/Shopware/Components/Session/PdoSessionHandler.php(341): PDOStatement->execute()\n#1 [internal function]: Shopware\\Components\\Session\\PdoSessionHandler->write('5c2c7c80a9aae89...', 'Shopware|a:8:{s...')\n#2 [internal function]: session_write_close()\n#3 {main}\n thrown in /home/WestcoastDK/web/westcoast-computer.dk/public_html/engine/Shopware/Components/Session/PdoSessionHandler.php on line 341, referer: https://westcoast-computer.dk/backend/
^X^C

Shopware production log

[2019-08-13 15:06:44] core.CRITICAL: Unable to create output file [] {"uid":"ab95e05"}
[2019-08-13 15:06:44] core.ERROR: Mpdf\MpdfException: Unable to create output file in /home/WestcoastDK/web/westcoast-computer.dk/public_html/vendor/mpdf/mpdf/src/Mpdf.php:9468 Stack trace: #0 /home/WestcoastDK/web/westcoast-computer.dk/public_html/engine/Shopware/Components/Document.php(310): Mpdf\Mpdf->Output(false, 'F') #1 /home/WestcoastDK/web/westcoast-computer.dk/public_html/engine/Shopware/Controllers/Backend/Order.php(1882): Shopware_Components_Document->render() #2 /home/WestcoastDK/web/westcoast-computer.dk/public_html/engine/Shopware/Controllers/Backend/Order.php(1168): Shopware_Controllers_Backend_Order->createDocument(936, 1) #3 /home/WestcoastDK/web/westcoast-computer.dk/public_html/engine/Library/Enlight/Controller/Action.php(192): Shopware_Controllers_Backend_Order->createDocumentAction() #4 /home/WestcoastDK/web/westcoast-computer.dk/public_html/engine/Library/Enlight/Controller/Dispatcher/Default.php(478): Enlight_Controller_Action->dispatch('createDocumentA...') #5 /home/WestcoastDK/web/westcoast-computer.dk/public_html/engine/Library/Enlight/Controller/Front.php(228): Enlight_Controller_Dispatcher_Default->dispatch(Object(Enlight_Controller_Request_RequestHttp), Object(Enlight_Controller_Response_ResponseHttp)) #6 /home/WestcoastDK/web/westcoast-computer.dk/public_html/engine/Shopware/Kernel.php(184): Enlight_Controller_Front->dispatch() #7 /home/WestcoastDK/web/westcoast-computer.dk/public_html/vendor/symfony/http-kernel/HttpCache/SubRequestHandler.php(102): Shopware\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #8 /home/WestcoastDK/web/westcoast-computer.dk/public_html/vendor/symfony/http-kernel/HttpCache/HttpCache.php(448): Symfony\Component\HttpKernel\HttpCache\SubRequestHandler::handle(Object(Shopware\Kernel), Object(Symfony\Component\HttpFoundation\Request), 1, true) #9 /home/WestcoastDK/web/westcoast-computer.dk/public_html/engine/Shopware/Components/HttpCache/AppCache.php(256): Symfony\Component\HttpKernel\HttpCache\HttpCache->forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL) #10 /home/WestcoastDK/web/westcoast-computer.dk/public_html/vendor/symfony/http-kernel/HttpCache/HttpCache.php(238): Shopware\Components\HttpCache\AppCache->forward(Object(Symfony\Component\HttpFoundation\Request), true) #11 /home/WestcoastDK/web/westcoast-computer.dk/public_html/engine/Shopware/Components/HttpCache/AppCache.php(99): Symfony\Component\HttpKernel\HttpCache\HttpCache->pass(Object(Symfony\Component\HttpFoundation\Request), true) #12 /home/WestcoastDK/web/westcoast-computer.dk/public_html/shopware.php(122): Shopware\Components\HttpCache\AppCache->handle(Object(Symfony\Component\HttpFoundation\Request)) #13 {main} [] {"uid":"ab95e05"}
[2019-08-13 15:09:32] core.CRITICAL: Unable to create output file [] {"uid":"101745a"}

 

Dein MySQL-Server läuft nicht mehr. Schau’ am besten mal ins MySQL-Error-Log und starte MySQL neu oder wende Dich an Deinen Hoster.

Timme Hosting - schnelles nginx-Hosting

www.timmehosting.de

Der läuft wie sau :smiley: sonst würde ich noch wegen anden dingen ärger bekommen. Tatsächlich habe ich mysql aber noch den fehler gefunden:

2019-08-13T12:43:38.443590Z 8 [Note] Aborted connection 8 to db: ‚WestcoastDK_shop‘ user: ‚WestcoastDK_shop‘ host: ‚localhost‘ (Got timeout reading communication packets

das habe ich aber gefixt aber nix PDF ausgabe

Kann zu, irgendwie liefen die PHP basedir sachen in der htaccess nicht