ERROR
Message:
Shopware\Components\CSRFTokenValidationException: The provided X-CSRF-Token for path "/ticket/index/id/5" is invalid. Please go back, reload the page and try again. in /var/www/clients/client2846/web5799/web/engine/Shopware/Components/CSRFTokenValidator.php:155
Stack trace:
#0 /var/www/clients/client2846/web5799/web/engine/Library/Enlight/Event/Handler/Default.php(91): Shopware\Components\CSRFTokenValidator->checkFrontendTokenValidation(Object(Enlight_Controller_ActionEventArgs))
#1 /var/www/clients/client2846/web5799/web/engine/Library/Enlight/Event/EventManager.php(214): Enlight_Event_Handler_Default->execute(Object(Enlight_Controller_ActionEventArgs))
#2 /var/www/clients/client2846/web5799/web/engine/Library/Enlight/Controller/Action.php(142): Enlight_Event_EventManager->notify('Enlight_Control...', Object(Enlight_Controller_ActionEventArgs))
#3 /var/www/clients/client2846/web5799/web/engine/Library/Enlight/Controller/Dispatcher/Default.php(530): Enlight_Controller_Action->dispatch('indexAction')
#4 /var/www/clients/client2846/web5799/web/engine/Library/Enlight/Controller/Front.php(223): Enlight_Controller_Dispatcher_Default->dispatch(Object(Enlight_Controller_Request_RequestHttp), Object(Enlight_Controller_Response_ResponseHttp))
#5 /var/www/clients/client2846/web5799/web/engine/Shopware/Kernel.php(189): Enlight_Controller_Front->dispatch()
#6 /var/www/clients/client2846/web5799/web/vendor/symfony/http-kernel/HttpCache/HttpCache.php(491): Shopware\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#7 /var/www/clients/client2846/web5799/web/engine/Shopware/Components/HttpCache/AppCache.php(268): Symfony\Component\HttpKernel\HttpCache\HttpCache->forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL)
#8 /var/www/clients/client2846/web5799/web/vendor/symfony/http-kernel/HttpCache/HttpCache.php(258): Shopware\Components\HttpCache\AppCache->forward(Object(Symfony\Component\HttpFoundation\Request), true)
#9 /var/www/clients/client2846/web5799/web/vendor/symfony/http-kernel/HttpCache/HttpCache.php(275): Symfony\Component\HttpKernel\HttpCache\HttpCache->pass(Object(Symfony\Component\HttpFoundation\Request), true)
#10 /var/www/clients/client2846/web5799/web/engine/Shopware/Components/HttpCache/AppCache.php(143): Symfony\Component\HttpKernel\HttpCache\HttpCache->invalidate(Object(Symfony\Component\HttpFoundation\Request), true)
#11 /var/www/clients/client2846/web5799/web/vendor/symfony/http-kernel/HttpCache/HttpCache.php(206): Shopware\Components\HttpCache\AppCache->invalidate(Object(Symfony\Component\HttpFoundation\Request), true)
#12 /var/www/clients/client2846/web5799/web/engine/Shopware/Components/HttpCache/AppCache.php(116): Symfony\Component\HttpKernel\HttpCache\HttpCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#13 /var/www/clients/client2846/web5799/web/shopware.php(118): Shopware\Components\HttpCache\AppCache->handle(Object(Symfony\Component\HttpFoundation\Request))
#14 {main}
Time:
2018-12-11T08:28:31.763088+0100
Channel:
core
request:
{
"uri": "/ticket/index/id/5",
"method": "POST",
"query": {
"module": "frontend",
"controller": "ticket",
"action": "index",
"id": "5"
},
"post": {
"forceMail": "0",
"anrede": "Herr",
"vorname": "RamonIdeniUB",
"nachname": "RamonIdeni",
"email": "i.nd.i.c.a.to.rcegg@gmail.com",
"telefon": "85298314664",
"betreff": "Finde eine heiГџe Frau fГјr guten Sex in deiner Stadt",
"kommentar": "HeiГџe Frauen fГјr Sex in deiner Stadt: http://www.lookweb.it/bestsexofferinyourcity54257",
"Submit": "submit"
}
}
session:
No session data available
shopId:
1
Hallo Leute
Wir sind erst vor kurzem auf Shopware umgestiegen und total begeistert vom Shopsystem.
Das einzige was ich etwas komisch finde, ich bekomme ständig Fehlermeldungen von Shopware per EMAIL zugeschickt.
Der Shop funktioniert aber einwandfrei, kann mir bitte jemand erklären was das für Fehlermeldungen sind ?
ERROR
Message:
Shopware\Components\CSRFTokenValidationException: The provided X-CSRF-Token for path "/register/saveRegister/sTarget/checkout/sTargetAction/shippingPayment" is invalid. Please go back, reload the page and try again. in /var/www/clients/client2846/web5799/web/engine/Shopware/Components/CSRFTokenValidator.php:155
Stack trace:
#0 /var/www/clients/client2846/web5799/web/engine/Library/Enlight/Event/Handler/Default.php(91): Shopware\Components\CSRFTokenValidator->checkFrontendTokenValidation(Object(Enlight_Controller_ActionEventArgs))
#1 /var/www/clients/client2846/web5799/web/engine/Library/Enlight/Event/EventManager.php(214): Enlight_Event_Handler_Default->execute(Object(Enlight_Controller_ActionEventArgs))
#2 /var/www/clients/client2846/web5799/web/engine/Library/Enlight/Controller/Action.php(142): Enlight_Event_EventManager->notify('Enlight_Control...', Object(Enlight_Controller_ActionEventArgs))
#3 /var/www/clients/client2846/web5799/web/engine/Library/Enlight/Controller/Dispatcher/Default.php(530): Enlight_Controller_Action->dispatch('saveRegisterAct...')
#4 /var/www/clients/client2846/web5799/web/engine/Library/Enlight/Controller/Front.php(223): Enlight_Controller_Dispatcher_Default->dispatch(Object(Enlight_Controller_Request_RequestHttp), Object(Enlight_Controller_Response_ResponseHttp))
#5 /var/www/clients/client2846/web5799/web/engine/Shopware/Kernel.php(189): Enlight_Controller_Front->dispatch()
#6 /var/www/clients/client2846/web5799/web/vendor/symfony/http-kernel/HttpCache/HttpCache.php(491): Shopware\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#7 /var/www/clients/client2846/web5799/web/engine/Shopware/Components/HttpCache/AppCache.php(268): Symfony\Component\HttpKernel\HttpCache\HttpCache->forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL)
#8 /var/www/clients/client2846/web5799/web/vendor/symfony/http-kernel/HttpCache/HttpCache.php(258): Shopware\Components\HttpCache\AppCache->forward(Object(Symfony\Component\HttpFoundation\Request), true)
#9 /var/www/clients/client2846/web5799/web/vendor/symfony/http-kernel/HttpCache/HttpCache.php(275): Symfony\Component\HttpKernel\HttpCache\HttpCache->pass(Object(Symfony\Component\HttpFoundation\Request), true)
#10 /var/www/clients/client2846/web5799/web/engine/Shopware/Components/HttpCache/AppCache.php(143): Symfony\Component\HttpKernel\HttpCache\HttpCache->invalidate(Object(Symfony\Component\HttpFoundation\Request), true)
#11 /var/www/clients/client2846/web5799/web/vendor/symfony/http-kernel/HttpCache/HttpCache.php(206): Shopware\Components\HttpCache\AppCache->invalidate(Object(Symfony\Component\HttpFoundation\Request), true)
#12 /var/www/clients/client2846/web5799/web/engine/Shopware/Components/HttpCache/AppCache.php(116): Symfony\Component\HttpKernel\HttpCache\HttpCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#13 /var/www/clients/client2846/web5799/web/shopware.php(118): Shopware\Components\HttpCache\AppCache->handle(Object(Symfony\Component\HttpFoundation\Request))
#14 {main}
Time:
2018-12-10T20:00:25.789213+0100
Channel:
core
request:
{
"uri": "/register/saveRegister/sTarget/checkout/sTargetAction/shippingPayment",
"method": "POST",
"query": {
"module": "frontend",
"controller": "register",
"action": "saveRegister",
"sTarget": "checkout",
"sTargetAction": "shippingPayment"
},
"post": {
"register": {
"personal": {
"customer_type": "private",
"salutation": "ms",
"firstname": "zensiert",
"lastname": "zensiert",
"accountmode": "1",
"email": "zensiert",
"phone": "zensiert",
"dpacheckbox": "1"
},
"billing": {
"street": "zensiert",
"zipcode": "zensiert",
"city": "zensiert",
"country": "2"
},
"shipping": {
"company": "",
"department": "",
"firstname": "",
"lastname": "",
"street": "",
"zipcode": "",
"city": ""
}
},
"captchaName": "nocaptcha",
"Submit": "",
"__csrf_token": ""
}
}
session:
No session data available
shopId:
1
Und auch diese Fehlermeldung.
Hi,
beim Ersten handelt es sich um Spam:
“betreff”: “Finde eine heiГџe Frau fГјr guten Sex in deiner Stadt”,
Und beim 2. könnte JavaScript im Checkout gefehlt haben.
Gruß Heiner
Hallo Heiner
1.) Ja das ist sicher SPAM, aber wieso bekomme ich diese Fehlermeldung ?
Hat jemand Zugriff auf irgend eine Datei oder sonst was ?
2.) Wie meinst Du das mit JavaScript ?
Bin den Checkout mehrmals durch und bei mir wurde kein Fehler angezeigt und ich habe auch keine Email von Shopware erhalten.
@nobody77 Hallo, wir haben denselben Fehler (2), nur mit einer geringfügig anderen Zeilennummer:
Shopware\Components\CSRFTokenValidationException: The provided X-CSRF-Token for path "/staging/it/register/saveRegister/sTarget/checkout/sTargetAction/shippingPayment" is invalid. Please go back, reload the page and try again. in /engine/Shopware/Components/CSRFTokenValidator.php:149
[...]
Hast du schon eine Lösung gefunden?
Bei uns tritt der Fehler nur im Produktiv-Modus auf. Sämtliche Versuche, möglichst viele Cache-Ebenen zu beseitigen, haben nicht geholfen.
Wir haben mehrere Plugins im Einsatz, die auf den Checkout-Prozess zugreifen, und vermuten, dass es eines davon ist oder vielleicht die Kombination aller…
Hat vielleicht jemand noch Lösungsvorschläge?
Vielen Dank schon einmal