Quantcast
Channel: Neueste Diskussionen - Shopware Community Forum
Viewing all articles
Browse latest Browse all 14594

ULinn

$
0
0

Durch einen Hardware-Defekt ist die Datenbank eines Shopware-Accounts vorübergehend nicht erreichbar. Shopware quittiert das mit folgender Fehlermeldung:

Fatal error: Uncaught exception 'Zend_Db_Adapter_Exception' with message 'SQLSTATE[HY000] [2002] No route to host' in /html/shopware/engine/Library/Enlight/Components/Db/Adapter/Pdo/Mysql.php:101 Stack trace: #0 /html/shopware/engine/Library/Zend/Db/Adapter/Abstract.php(316): Enlight_Components_Db_Adapter_Pdo_Mysql->_connect() #1 /html/shopware/engine/Library/Zend/Db/Adapter/Pdo/Abstract.php(263): Zend_Db_Adapter_Abstract->getConnection() #2 /html/shopware/engine/Shopware/Components/DependencyInjection/Bridge/Db.php(45): Zend_Db_Adapter_Pdo_Abstract->exec('SET @@session.s...') #3 /html/shopware/var/cache/production_201604081130/proxies/ShopwareProductionProjectContainer.php(376): Shopware\Components\DependencyInjection\Bridge\Db->factory('pdo_mysql', Array) #4 /html/shopware/vendor/symfony/dependency-injection/Container.php(327): ShopwareProductionProjectContainer->getDbService() #5 /html/shopware/engine/Shopware/Components/DependencyInjection/Container.php(253): Symfony\Component\DependencyInjection\Container->get('db') in /html/shopware/engine/Library/Enlight/Components/Db/Adapter/Pdo/Mysql.php on line 101
503 Service Unavailable

Gibt es eine Möglichkeit, wie ich solche Fehler elganter abfangen kann, so dass statt dessen eine statische Fehlerseite angezeigt wird?

Ich hätte eigentlich erwaretet, dass "out of the Box" eine für den Nutzer verständliche Fehlermeldung im Shopware-Design erscheint, die auf die fehlende Datenbankverbindung hinweist.

Vielen Dank für Eure Hilfe!

Uli


Viewing all articles
Browse latest Browse all 14594


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>