Homwer
12. September 2016 um 17:26
1
Hallo,
seid dem Update auf 5.6.2 bekomme ich diese Fehlermeldung aus dem Newsletter Modul.
Da ich die Meldung 8-10 mal am Tag bekomme und die Newsletteranmeldung funktioniert, gehe ich von einem Bott oder ähnlichem aus.
Leider bin ich etwas ratlos wie ich den „Fehler“ beheben kann.
Message:
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/144webspace/htdocs/test.com/shop/engine/Shopware/Components/CSRFTokenValidator.php:161
Stack trace:
#0 [internal function]: Shopware\Components\CSRFTokenValidator->checkFrontendTokenValidation(Object(Enlight_Controller_ActionEventArgs))
#1 /var/www/144webspace/htdocs/test.com/shop/engine/Library/Enlight/Event/Handler/Default.php(91): call_user_func(Array, Object(Enlight_Controller_ActionEventArgs))
#2 /var/www/144webspace/htdocs/test.com/shop/engine/Library/Enlight/Event/EventManager.php(214): Enlight_Event_Handler_Default->execute(Object(Enlight_Controller_ActionEventArgs))
#3 /var/www/144webspace/htdocs/test.com/shop/engine/Library/Enlight/Controller/Action.php(143): Enlight_Event_EventManager->notify('Enlight_Control...', Object(Enlight_Controller_ActionEventArgs))
#4 /var/www/144webspace/htdocs/test.com/shop/engine/Library/Enlight/Controller/Dispatcher/Default.php(523): Enlight_Controller_Action->dispatch('indexAction')
#5 /var/www/144webspace/htdocs/test.com/shop/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/144webspace/htdocs/test.com/shop/engine/Shopware/Kernel.php(176): Enlight_Controller_Front->dispatch()
#7 /var/www/144webspace/htdocs/test.com/shop/vendor/symfony/http-kernel/HttpCache/HttpCache.php(487): Shopware\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#8 /var/www/144webspace/htdocs/test.com/shop/engine/Shopware/Components/HttpCache/AppCache.php(255): Symfony\Component\HttpKernel\HttpCache\HttpCache->forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL)
#9 /var/www/144webspace/htdocs/test.com/shop/vendor/symfony/http-kernel/HttpCache/HttpCache.php(258): Shopware\Components\HttpCache\AppCache->forward(Object(Symfony\Component\HttpFoundation\Request), true)
#10 /var/www/144webspace/htdocs/test.com/shop/vendor/symfony/http-kernel/HttpCache/HttpCache.php(275): Symfony\Component\HttpKernel\HttpCache\HttpCache->pass(Object(Symfony\Component\HttpFoundation\Request), true)
#11 /var/www/144webspace/htdocs/test.com/shop/engine/Shopware/Components/HttpCache/AppCache.php(133): Symfony\Component\HttpKernel\HttpCache\HttpCache->invalidate(Object(Symfony\Component\HttpFoundation\Request), true)
#12 /var/www/144webspace/htdocs/test.com/shop/vendor/symfony/http-kernel/HttpCache/HttpCache.php(206): Shopware\Components\HttpCache\AppCache->invalidate(Object(Symfony\Component\HttpFoundation\Request), true)
#13 /var/www/144webspace/htdocs/test.com/shop/engine/Shopware/Components/HttpCache/AppCache.php(114): Symfony\Component\HttpKernel\HttpCache\HttpCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#14 /var/www/144webspace/htdocs/test.com/shop/shopware.php(101): Shopware\Components\HttpCache\AppCache->handle(Object(Symfony\Component\HttpFoundation\Request))
#15 {main}
Time:
2016-09-12T17:38:25.218014+0200
Channel:
core
request:
{
"uri": "/newsletter",
"method": "POST",
"query": {
"module": "frontend",
"controller": "newsletter",
"action": "index"
},
"post": {
"subscribeToNewsletter": "1",
"newsletter": ""
}
}
session:
{
"sessionId": "d5967761d25ad0551092392186274e2a9e542b097de1ab896a4696f86fc84b9c",
"sArea": null,
"sCountry": null,
"sState": null,
"X-CSRF-Token": "QGaE7lQNTYyVrpqB1PRDxE8AWmpGLc",
"Bot": null
}
shopId:
1
shopName:
test.com
@Homwer schrieb:
Hallo,
seid dem Update auf 5.6.2 bekomme ich diese Fehlermeldung aus dem Newsletter Modul.
Da ich die Meldung 8-10 mal am Tag bekomme und die Newsletteranmeldung funktioniert, gehe ich von einem Bott oder ähnlichem aus.
Leider bin ich etwas ratlos wie ich den „Fehler“ beheben kann.
Message:
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/144webspace/htdocs/test.com/shop/engine/Shopware/Components/CSRFTokenValidator.php:161
Stack trace:
#0 [internal function]: Shopware\Components\CSRFTokenValidator->checkFrontendTokenValidation(Object(Enlight_Controller_ActionEventArgs))
#1 /var/www/144webspace/htdocs/test.com/shop/engine/Library/Enlight/Event/Handler/Default.php(91): call_user_func(Array, Object(Enlight_Controller_ActionEventArgs))
#2 /var/www/144webspace/htdocs/test.com/shop/engine/Library/Enlight/Event/EventManager.php(214): Enlight_Event_Handler_Default->execute(Object(Enlight_Controller_ActionEventArgs))
#3 /var/www/144webspace/htdocs/test.com/shop/engine/Library/Enlight/Controller/Action.php(143): Enlight_Event_EventManager->notify(‚Enlight_Control…‘, Object(Enlight_Controller_ActionEventArgs))
#4 /var/www/144webspace/htdocs/test.com/shop/engine/Library/Enlight/Controller/Dispatcher/Default.php(523): Enlight_Controller_Action->dispatch(‚indexAction‘)
#5 /var/www/144webspace/htdocs/test.com/shop/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/144webspace/htdocs/test.com/shop/engine/Shopware/Kernel.php(176): Enlight_Controller_Front->dispatch()
#7 /var/www/144webspace/htdocs/test.com/shop/vendor/symfony/http-kernel/HttpCache/HttpCache.php(487): Shopware\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#8 /var/www/144webspace/htdocs/test.com/shop/engine/Shopware/Components/HttpCache/AppCache.php(255): Symfony\Component\HttpKernel\HttpCache\HttpCache->forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL)
#9 /var/www/144webspace/htdocs/test.com/shop/vendor/symfony/http-kernel/HttpCache/HttpCache.php(258): Shopware\Components\HttpCache\AppCache->forward(Object(Symfony\Component\HttpFoundation\Request), true)
#10 /var/www/144webspace/htdocs/test.com/shop/vendor/symfony/http-kernel/HttpCache/HttpCache.php(275): Symfony\Component\HttpKernel\HttpCache\HttpCache->pass(Object(Symfony\Component\HttpFoundation\Request), true)
#11 /var/www/144webspace/htdocs/test.com/shop/engine/Shopware/Components/HttpCache/AppCache.php(133): Symfony\Component\HttpKernel\HttpCache\HttpCache->invalidate(Object(Symfony\Component\HttpFoundation\Request), true)
#12 /var/www/144webspace/htdocs/test.com/shop/vendor/symfony/http-kernel/HttpCache/HttpCache.php(206): Shopware\Components\HttpCache\AppCache->invalidate(Object(Symfony\Component\HttpFoundation\Request), true)
#13 /var/www/144webspace/htdocs/test.com/shop/engine/Shopware/Components/HttpCache/AppCache.php(114): Symfony\Component\HttpKernel\HttpCache\HttpCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#14 /var/www/144webspace/htdocs/test.com/shop/shopware.php(101): Shopware\Components\HttpCache\AppCache->handle(Object(Symfony\Component\HttpFoundation\Request))
#15 {main}
Time:
2016-09-12T17:38:25.218014+0200
Channel:
core
request:
{
„uri“: „/newsletter“,
„method“: „POST“,
„query“: {
„module“: „frontend“,
„controller“: „newsletter“,
„action“: „index“
},
„post“: {
„subscribeToNewsletter“: „1“,
„newsletter“: „“
}
}
session:
{
„sessionId“: „d5967761d25ad0551092392186274e2a9e542b097de1ab896a4696f86fc84b9c“,
„sArea“: null,
„sCountry“: null,
„sState“: null,
„X-CSRF-Token“: „QGaE7lQNTYyVrpqB1PRDxE8AWmpGLc“,
„Bot“: null
}
shopId:
1
shopName:
test.com
Hallo,
zu dem Thema gibt es genug Themen, auch mit „Lösungen“, siehe: Suchergebnisse für „“ - Shopware Community Forum , beispielsweise Kundenlogin und Neuregistrierung funktioniert nach Update auf 5.2.1 nicht mehr - #28 von sschreier - Allgemein - Shopware Community Forum .
Beste Grüße
Sebastian
Homwer
14. September 2016 um 09:30
3
Leider bringen die “Lösungen” keinen Erfolg. Deswegen das Posting. Einpflegen der Paypal Daten hat nichts gebracht. Die anderne “Lösungen” (Abschalten) halte ich für wenig Zielführend.