Wenn ich auf Caches /Performance gehe bekomme ich folgenden Fehler:
Ups! Ein Fehler ist aufgetreten! Die nachfolgenden Hinweise sollten Ihnen weiterhelfen. RecursiveDirectoryIterator::__construct(/var/www/clients/client2/web4/web/var/cache/production_201611281529/html/md/b1/cc): failed to open dir: No such file or directory in engine/Shopware/Components/CacheManager.php on line 406 Stack trace: #0 [internal function]: RecursiveDirectoryIterator->__construct(’/var/www/client…’, 4096) #1 engine/Shopware/Components/CacheManager.php(406): RecursiveDirectoryIterator->getChildren() #2 engine/Shopware/Components/CacheManager.php(239): Shopware\Components\CacheManager->getDirectoryInfo(’/var/www/client…’) #3 engine/Shopware/Controllers/Backend/Cache.php(66): Shopware\Components\CacheManager->getHttpCacheInfo(Object(Enlight_Controller_Request_RequestHttp)) #4 engine/Library/Enlight/Controller/Action.php(159): Shopware_Controllers_Backend_Cache->getInfoAction() #5 engine/Library/Enlight/Controller/Dispatcher/Default.php(523): Enlight_Controller_Action->dispatch(‚getInfoAction‘) #6 engine/Library/Enlight/Controller/Front.php(223): Enlight_Controller_Dispatcher_Default->dispatch(Object(Enlight_Controller_Request_RequestHttp), Object(Enlight_Controller_Response_ResponseHttp)) #7 engine/Shopware/Kernel.php(178): Enlight_Controller_Front->dispatch() #8 vendor/symfony/http-kernel/HttpCache/HttpCache.php(487): Shopware\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #9 engine/Shopware/Components/HttpCache/AppCache.php(255): Symfony\Component\HttpKernel\HttpCache\HttpCache->forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL) #10 vendor/symfony/http-kernel/HttpCache/HttpCache.php(258): Shopware\Components\HttpCache\AppCache->forward(Object(Symfony\Component\HttpFoundation\Request), true) #11 engine/Shopware/Components/HttpCache/AppCache.php(103): Symfony\Component\HttpKernel\HttpCache\HttpCache->pass(Object(Symfony\Component\HttpFoundation\Request), true) #12 shopware.php(113): Shopware\Components\HttpCache\AppCache->handle(Object(Symfony\Component\HttpFoundation\Reques
Was könnte das sein?
Sind eventuell die Berechtigungen auf das Verzeichnis var/cache nicht ausreichend für den Shop um Dateien und Verzeichnisse zu erstellen? Haben Sie den Cache schon einmal geleert?
Gassem
10. Mai 2018 um 09:53
3
War tatsächlich eine Berechtigung. Nächste Frage wäre ob man den Cache immer über den Shop leeren muss oder ob das auch via FTP geht?
Cache Fehler scheint weg zu sein. Aber per Email bekomme ich einen anderen Fehler:
Die Emailadresse die in der Fehlermeldung enthalten ist habe ich natürlich geändert bevor ich das hier poste (DSGVO)
exception 'Shopware\Components\CSRFTokenValidationException' with message 'The provided X-CSRF-Token is invalid. Please go back, reload the page and try again.' in /var/www/clients/client2/web4/web/engine/Shopware/Components/CSRFTokenValidator.php:161 Stack trace: #0 [internal function]: Shopware\Components\CSRFTokenValidator-\>checkFrontendTokenValidation(Object(Enlight\_Controller\_ActionEventArgs)) #1 /var/www/clients/client2/web4/web/engine/Library/Enlight/Event/Handler/Default.php(91): call\_user\_func(Array, Object(Enlight\_Controller\_ActionEventArgs)) #2 /var/www/clients/client2/web4/web/engine/Library/Enlight/Event/EventManager.php(214): Enlight\_Event\_Handler\_Default-\>execute(Object(Enlight\_Controller\_ActionEventArgs)) #3 /var/www/clients/client2/web4/web/engine/Library/Enlight/Controller/Action.php(143): Enlight\_Event\_EventManager-\>notify('Enlight\_Control...', Object(Enlight\_Controller\_ActionEventArgs)) #4 /var/www/clients/client2/web4/web/engine/Library/Enlight/Controller/Dispatcher/Default.php(523): Enlight\_Controller\_Action-\>dispatch('indexAction') #5 /var/www/clients/client2/web4/web/engine/Library/Enlight/Controller/Front.php(223): Enlight\_Controller\_Dispatcher\_Default-\>dispatch(Object(Enlight\_Controller\_Request\_RequestHttp), Object(Enlight\_Controller\_Response\_ResponseHttp)) #6 /var/www/clients/client2/web4/web/engine/Shopware/Kernel.php(178): Enlight\_Controller\_Front-\>dispatch() #7 /var/www/clients/client2/web4/web/vendor/symfony/http-kernel/HttpCache/HttpCache.php(487): Shopware\Kernel-\>handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #8 /var/www/clients/client2/web4/web/engine/Shopware/Components/HttpCache/AppCache.php(255): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL) #9 /var/www/clients/client2/web4/web/vendor/symfony/http-kernel/HttpCache/HttpCache.php(258): Shopware\Components\HttpCache\AppCache-\>forward(Object(Symfony\Component\HttpFoundation\Request), true) #10 /var/www/clients/client2/web4/web/vendor/symfony/http-kernel/HttpCache/HttpCache.php(275): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>pass(Object(Symfony\Component\HttpFoundation\Request), true) #11 /var/www/clients/client2/web4/web/engine/Shopware/Components/HttpCache/AppCache.php(133): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>invalidate(Object(Symfony\Component\HttpFoundation\Request), true) #12 /var/www/clients/client2/web4/web/vendor/symfony/http-kernel/HttpCache/HttpCache.php(206): Shopware\Components\HttpCache\AppCache-\>invalidate(Object(Symfony\Component\HttpFoundation\Request), true) #13 /var/www/clients/client2/web4/web/engine/Shopware/Components/HttpCache/AppCache.php(114): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #14 /var/www/clients/client2/web4/web/shopware.php(113): Shopware\Components\HttpCache\AppCache-\>handle(Object(Symfony\Component\HttpFoundation\Request)) #15 {main} Channel:
core
request:
{ "uri": "/newsletter", "method": "POST", "query": { "module": "frontend", "controller": "newsletter", "action": "index" }, "post": { "subscribeToNewsletter": "1", "newsletter": "test@testgmail.com" } }
session:
No session data available --------------------------------------------------------------------------------------------
Gassem
11. Mai 2018 um 17:29
5
Danke. Dachte schon da läuft was schief. Dann schaue ich mal woher das kam.