Quantcast
Channel: Allgemein - Shopware Community Forum
Viewing all articles
Browse latest Browse all 4666

CSRF-Token ungültig?

$
0
0

Guten Tag,

 

ich habe einen Shop (Shop A) dort haben ich einen Sprachshop zu Shop A (Shop AS) dann noch einen Sub-Shop  (Shop B).

Ich habe als Template:

Bare
Responsive
Shop-B

Das Shop B ist ein Responsive Template in dem ich den Ordner Kopiert und unbenannt habe und die theme.php bearbeitet habe ist es nun Shop B template.

 

Das funkioniert ohne Probleme. 

Nun möchte ich noch Sub-Shop C einrichten, das klappt auch alles. Aber wenn ich nun das Template Shop-B kopiere und umbenne dann schmuckt er mir ein Error beim Template Menü aus.

 

Folgendes habe ich ausgelesen:

 

Ups! Ein Fehler ist aufgetreten!

Die nachfolgenden Hinweise sollten Ihnen weiterhelfen.

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

Stack trace:

#0 [internal function]: Shopware\Components\CSRFTokenValidator->checkBackendTokenValidation(Object(Enlight_Controller_ActionEventArgs))
#1 engine/Library/Enlight/Event/Handler/Default.php(91): call_user_func(Array, Object(Enlight_Controller_ActionEventArgs))
#2 engine/Library/Enlight/Event/EventManager.php(214): Enlight_Event_Handler_Default->execute(Object(Enlight_Controller_ActionEventArgs))
#3 engine/Library/Enlight/Controller/Action.php(143): Enlight_Event_EventManager->notify('Enlight_Control...', Object(Enlight_Controller_ActionEventArgs))
#4 engine/Library/Enlight/Controller/Dispatcher/Default.php(523): Enlight_Controller_Action->dispatch('themeCacheWarmU...')
#5 engine/Library/Enlight/Controller/Front.php(223): Enlight_Controller_Dispatcher_Default->dispatch(Object(Enlight_Controller_Request_RequestHttp), Object(Enlight_Controller_Response_ResponseHttp))
#6 engine/Shopware/Kernel.php(176): Enlight_Controller_Front->dispatch()
#7 vendor/symfony/http-kernel/HttpCache/HttpCache.php(487): Shopware\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#8 engine/Shopware/Components/HttpCache/AppCache.php(255): Symfony\Component\HttpKernel\HttpCache\HttpCache->forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL)
#9 vendor/symfony/http-kernel/HttpCache/HttpCache.php(258): Shopware\Components\HttpCache\AppCache->forward(Object(Symfony\Component\HttpFoundation\Request), true)
#10 engine/Shopware/Components/HttpCache/AppCache.php(103): Symfony\Component\HttpKernel\HttpCache\HttpCache->pass(Object(Symfony\Component\HttpFoundation\Request), true)
#11 shopware.php(101): Shopware\Components\HttpCache\AppCache->handle(Object(Symfony\Component\HttpFoundation\Request))
#12 {main}

 

Das genau muss ich nun tun um den Fehler zu behebn?

 

Danke :)


Viewing all articles
Browse latest Browse all 4666


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