# Shop statt 404 ein HTTP Error 500, trotz eingestellter 404 Seite

**URL:** <https://forum.shopware.com/t/shop-statt-404-ein-http-error-500-trotz-eingestellter-404-seite/56958>\
**Category:** Allgemein\
**Created:** [8. Dezember 2018 um 15:24 UTC](https://forum.shopware.com/t/shop-statt-404-ein-http-error-500-trotz-eingestellter-404-seite/56958 "2018-12-08T15:24:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![parts4repair](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/parts4repair/32/13379_2.png) [@parts4repair](https://forum.shopware.com/u/parts4repair)\
**Post date:** [8. Dezember 2018 um 15:24 UTC](https://forum.shopware.com/t/shop-statt-404-ein-http-error-500-trotz-eingestellter-404-seite/56958/1 "2018-12-08T15:24:11Z")

</div>

Hallo  
ich mein Shop spuckt bei einer nicht gefundenen Seite, [parts4repair.de/beispiel](http://parts4repair.de/beispiel) einen HTTP error 500 aus anstatt ein 404 Fehler. Ich hab eine Einkaufswelt für die 404 Seite angelegt und die Einstellung entsprechend eingerichtet. Der Serverlog&nbsp;sieht folgendermaßen aus:

[08-Dec-2018 16:19:49 Europe/Berlin] PHP Fatal error: &nbsp;Uncaught Enlight\_Controller\_Exception: Controller „asd“ not found in /www/htdocs/w123456/parts4repair.de/engine/Library/Enlight/Controller/Dispatcher/Default.php:507  
Stack trace:  
#0 /www/htdocs/w123456/parts4repair.de/engine/Library/Enlight/Controller/Front.php(222): Enlight\_Controller\_Dispatcher\_Default-\>dispatch(Object(Enlight\_Controller\_Request\_RequestHttp), Object(Enlight\_Controller\_Response\_ResponseHttp))  
#1 /www/htdocs/w123456/parts4repair.de/engine/Shopware/Kernel.php(202): Enlight\_Controller\_Front-\>dispatch()  
#2 /www/htdocs/w123456/parts4repair.de/vendor/symfony/http-kernel/HttpCache/SubRequestHandler.php(102): Shopware\Kernel-\>handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)  
#3 /www/htdocs/w123456/parts4repair.de/vendor/symfony/http-kernel/HttpCache/HttpCache.php(448): Symfony\Component\HttpKernel\HttpCache\SubRequestHandler::handle(Object(Shopware\Kernel), Object(Symfony\Component\HttpFoundation\Request), 1, true)  
#4 /www/htdocs/w123456/parts4repair.de/engine/Shopware/Componen in /www/htdocs/w123456/parts4repair.de/engine/Library/Enlight/Controller/Dispatcher/Default.php on line 507

&nbsp;

&nbsp;

&nbsp;

Hätte jemand einen Tipp für mich?

---

<div class="post-metadata">

**Author:** ![Moritz\_Naczenski](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/moritz_naczenski/32/7792_2.png) [@Moritz\_Naczenski](https://forum.shopware.com/u/Moritz_Naczenski)\
**Post date:** [8. Dezember 2018 um 15:56 UTC](https://forum.shopware.com/t/shop-statt-404-ein-http-error-500-trotz-eingestellter-404-seite/56958/2 "2018-12-08T15:56:53Z")

</div>

Du musst die Debug Ausgabe aus der config.php entfernen.

---

<div class="post-metadata">

**Author:** ![parts4repair](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/parts4repair/32/13379_2.png) [@parts4repair](https://forum.shopware.com/u/parts4repair)\
**Post date:** [9. Dezember 2018 um 10:02 UTC](https://forum.shopware.com/t/shop-statt-404-ein-http-error-500-trotz-eingestellter-404-seite/56958/3 "2018-12-09T10:02:25Z")

</div>

[@Moritz Naczenski]([http://forum.shopware.com/profile/14574/Moritz](http://forum.shopware.com/profile/14574/Moritz) Naczenski „Moritz Naczenski“)‍ danke hat funktioniert.

Heute dann neues Problem. Ich komm nicht mehr ins Backend. Hier der Log

&nbsp;

Ups! Ein Fehler ist aufgetreten!

Die nachfolgenden Hinweise sollten Ihnen weiterhelfen.

The provided CSRF-Token is invalid. If you’re sure that the request to path „/backend/Login“ should be valid, the called controller action needs to be whitelisted using the CSRFWhitelistAware interface. in engine/Shopware/Components/CSRFTokenValidator.php on line 109

Stack trace:

```
 #0 engine/Library/Enlight/Event/Handler/Default.php(91): Shopware\Components\CSRFTokenValidator-\>checkBackendTokenValidation(Object(Enlight\_Controller\_ActionEventArgs)) #1 engine/Library/Enlight/Event/EventManager.php(220): Enlight\_Event\_Handler\_Default-\>execute(Object(Enlight\_Controller\_ActionEventArgs)) #2 engine/Library/Enlight/Controller/Action.php(176): Enlight\_Event\_EventManager-\>notify('Enlight\_Control...', Object(Enlight\_Controller\_ActionEventArgs)) #3 engine/Library/Enlight/Controller/Dispatcher/Default.php(549): Enlight\_Controller\_Action-\>dispatch('indexAction') #4 engine/Library/Enlight/Controller/Front.php(222): Enlight\_Controller\_Dispatcher\_Default-\>dispatch(Object(Enlight\_Controller\_Request\_RequestHttp), Object(Enlight\_Controller\_Response\_ResponseHttp)) #5 engine/Shopware/Kernel.php(202): Enlight\_Controller\_Front-\>dispatch() #6 vendor/symfony/http-kernel/HttpCache/SubRequestHandler.php(102): Shopware\Kernel-\>handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #7 vendor/symfony/http-kernel/HttpCache/HttpCache.php(448): Symfony\Component\HttpKernel\HttpCache\SubRequestHandler::handle(Object(Shopware\Kernel), Object(Symfony\Component\HttpFoundation\Request), 1, true) #8 engine/Shopware/Components/HttpCache/AppCache.php(268): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL) #9 vendor/symfony/http-kernel/HttpCache/HttpCache.php(238): Shopware\Components\HttpCache\AppCache-\>forward(Object(Symfony\Component\HttpFoundation\Request), true) #10 engine/Shopware/Components/HttpCache/AppCache.php(105): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>pass(Object(Symfony\Component\HttpFoundation\Request), true) #11 shopware.php(122): Shopware\Components\HttpCache\AppCache-\>handle(Object(Symfony\Component\HttpFoundation\Request)) #12 {main}

```

&nbsp;

&nbsp;

Das komische ist ich komme im Inkognitomodus&nbsp;und im Safari problemlos rein nur nicht. Browser cache gelöscht, shopware cache manuell gelöscht aber im normalen chrome Browser keine chance. Hast du da auch einen Tipp

 ![](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/2X/f/fd6bb6c0cd71018f237b9738ce02926f2819e136.jpeg)

&nbsp;

&nbsp;

&nbsp;
