Invalides Formular-Token!

Liebes Forum :slight_smile: :slight_smile:

Ich bekomme bei Formularen eine Fehlermeldung. Zum Beispiel wenn das Kontaktformular abgesendet werden soll oder man sich als Kunde einloggt.

Fehlermeldung im Frontend:

Invalides Formular-Token!

Die Aktion konnte aufgrund eines invaliden Formular-Tokens nicht durchgeführt werden.
Ein neues Token wurde bereits generiert.

Bitte gehen Sie in Ihrem Browser eine Seite zurück und starten die Aktion erneut.

 

Und als Fehlermail erhalte ich

exception ‚Shopware\Components\CSRFTokenValidationException‘ with message ‚The provided X-CSRF-Token for path „/stripetest/account/login/sTarget/checkout/sTargetAction/confirm“ is invalid. Please go back, reload the page and try again.‘ in /var/www/vhosts/meinshop.de/httpdocs/stripetest/engine/Shopware/Components/CSRFTokenValidator.php:155
Stack trace:
#0 [internal function]: Shopware\Components\CSRFTokenValidator->checkFrontendTokenValidation(Object(Enlight_Controller_ActionEventArgs))
#1 /var/www/vhosts/meinshop.de/httpdocs/stripetest/engine/Library/Enlight/Event/Handler/Default.php(91): call_user_func(Array, Object(Enlight_Controller_ActionEventArgs))
#2 /var/www/vhosts/meinshop.de/httpdocs/stripetest/engine/Library/Enlight/Event/EventManager.php(214): Enlight_Event_Handler_Default->execute(Object(Enlight_Controller_ActionEventArgs))
#3 /var/www/vhosts/meinshop.de/httpdocs/stripetest/engine/Library/Enlight/Controller/Action.php(143): Enlight_Event_EventManager->notify(‚Enlight_Control…‘, Object(Enlight_Controller_ActionEventArgs))
#4 /var/www/vhosts/meinshop.de/httpdocs/stripetest/engine/Library/Enlight/Controller/Dispatcher/Default.php(523): Enlight_Controller_Action->dispatch(‚loginAction‘)
#5 /var/www/vhosts/meinshop.de/httpdocs/stripetest/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/vhosts/meinshop.de/httpdocs/stripetest/engine/Shopware/Kernel.php(182): Enlight_Controller_Front->dispatch()
#7 /var/www/vhosts/meinshop.de/httpdocs/stripetest/vendor/symfony/http-kernel/HttpCache/HttpCache.php(491): Shopware\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#8 /var/www/vhosts/meinshop.de/httpdocs/stripetest/engine/Shopware/Components/HttpCache/AppCache.php(266): Symfony\Component\HttpKernel\HttpCache\HttpCache->forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL)
#9 /var/www/vhosts/meinshop.de/httpdocs/stripetest/vendor/symfony/http-kernel/HttpCache/HttpCache.php(258): Shopware\Components\HttpCache\AppCache->forward(Object(Symfony\Component\HttpFoundation\Request), true)
#10 /var/www/vhosts/meinshop.de/httpdocs/stripetest/vendor/symfony/http-kernel/HttpCache/HttpCache.php(275): Symfony\Component\HttpKernel\HttpCache\HttpCache->pass(Object(Symfony\Component\HttpFoundation\Request), true)
#11 /var/www/vhosts/meinshop.de/httpdocs/stripetest/engine/Shopware/Components/HttpCache/AppCache.php(141): Symfony\Component\HttpKernel\HttpCache\HttpCache->invalidate(Object(Symfony\Component\HttpFoundation\Request), true)
#12 /var/www/vhosts/meinshop.de/httpdocs/stripetest/vendor/symfony/http-kernel/HttpCache/HttpCache.php(206): Shopware\Components\HttpCache\AppCache->invalidate(Object(Symfony\Component\HttpFoundation\Request), true)
#13 /var/www/vhosts/meinshop.de/httpdocs/stripetest/engine/Shopware/Components/HttpCache/AppCache.php(114): Symfony\Component\HttpKernel\HttpCache\HttpCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#14 /var/www/vhosts/meinshop.de/httpdocs/stripetest/shopware.php(117): Shopware\Components\HttpCache\AppCache->handle(Object(Symfony\Component\HttpFoundation\Request))
#15 {main}
2017-05-12T18:22:55.972285+0200
core
{
    „uri“: „/stripetest/account/login/sTarget/checkout/sTargetAction/confirm“,
    „method“: „POST“,
    „query“: {
        „module“: „frontend“,
        „controller“: „account“,
        „action“: „login“,
        „sTarget“: „checkout“,
        „sTargetAction“: „confirm“
    },
    „post“: {
        „sTarget“: „checkout“,
        „email“: „…“,
        „Submit“: „“,
        „__csrf_token“: „“
    }
}
No session data available
1
Stripetest

Was könnte das sein ?

Es ist sw 5.2.22 und die letzte Änderung war, dass ich stripe installiert habe.

Liebe Grüße

Kerstin