Liebes Forum
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