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

CSRFTokenValidationException

$
0
0

Hallo,

ich bekomme sehr oft diese Fehlermeldungen per Mail.

 

The provided X-CSRF-Token for path "/register/ajax_validate_email" is invalid.

ERROR

Message:
exception 'Shopware\Components\CSRFTokenValidationException' with message 'The provided X-CSRF-Token for path "/register/ajax_validate_email" is invalid. Please go back, reload the page and try again.' in /var/www/vhosts/shopware/docroot/engine/Shopware/Components/CSRFTokenValidator.php:158
Stack trace:
#0 [internal function]: Shopware\Components\CSRFTokenValidator->checkFrontendTokenValidation(Object(Enlight_Controller_ActionEventArgs))
#1 /var/www/vhosts/shopware/docroot/engine/Library/Enlight/Event/Handler/Default.php(91): call_user_func(Array, Object(Enlight_Controller_ActionEventArgs))
#2 /var/www/vhosts/shopware/docroot/engine/Library/Enlight/Event/EventManager.php(214): Enlight_Event_Handler_Default->execute(Object(Enlight_Controller_ActionEventArgs))
#3 /var/www/vhosts/shopware/docroot/engine/Library/Enlight/Controller/Action.php(143): Enlight_Event_EventManager->notify('Enlight_Control...', Object(Enlight_Controller_ActionEventArgs))
#4 /var/www/vhosts/shopware/docroot/engine/Library/Enlight/Controller/Dispatcher/Default.php(523): Enlight_Controller_Action->dispatch('ajaxValidateEma...')
#5 /var/www/vhosts/shopware/docroot/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/shopware/docroot/engine/Shopware/Kernel.php(180): Enlight_Controller_Front->dispatch()
#7 /var/www/vhosts/shopware/docroot/vendor/symfony/http-kernel/HttpCache/HttpCache.php(487): Shopware\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#8 /var/www/vhosts/shopware/docroot/engine/Shopware/Components/HttpCache/AppCache.php(255): Symfony\Component\HttpKernel\HttpCache\HttpCache->forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL)
#9 /var/www/vhosts/shopware/docroot/vendor/symfony/http-kernel/HttpCache/HttpCache.php(258): Shopware\Components\HttpCache\AppCache->forward(Object(Symfony\Component\HttpFoundation\Request), true)
#10 /var/www/vhosts/shopware/docroot/vendor/symfony/http-kernel/HttpCache/HttpCache.php(275): Symfony\Component\HttpKernel\HttpCache\HttpCache->pass(Object(Symfony\Component\HttpFoundation\Request), true)
#11 /var/www/vhosts/shopware/docroot/engine/Shopware/Components/HttpCache/AppCache.php(133): Symfony\Component\HttpKernel\HttpCache\HttpCache->invalidate(Object(Symfony\Component\HttpFoundation\Request), true)
#12 /var/www/vhosts/shopware/docroot/vendor/symfony/http-kernel/HttpCache/HttpCache.php(206): Shopware\Components\HttpCache\AppCache->invalidate(Object(Symfony\Component\HttpFoundation\Request), true)
#13 /var/www/vhosts/shopware/docroot/engine/Shopware/Components/HttpCache/AppCache.php(114): Symfony\Component\HttpKernel\HttpCache\HttpCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#14 /var/www/vhosts/shopware/docroot/shopware.php(117): Shopware\Components\HttpCache\AppCache->handle(Object(Symfony\Component\HttpFoundation\Request))
#15 {main}
Time:
2017-02-13T21:57:35.976615+0100
Channel:
core
request:
{
    "uri": "/register/ajax_validate_email",
    "method": "POST",
    "query": {
        "module": "frontend",
        "controller": "register",
        "action": "ajax_validate_email"
    },
    "post": {
        "action": "ajax_validate_email",
        "register": {
            "personal": {
                "customer_type": "private",
                "salutation": "mr",
                "firstname": "M***",
                "lastname": "G***",
                "accountmode": "1",
                "email": "b***@googlemail.com",
                "phone": "",
                "birthday": {
                    "day": "",
                    "month": "",
                    "year": ""
                }
            },
            "billing": {
                "street": "",
                "zipcode": "",
                "city": "",
                "country": "38"
            },
            "shipping": {
                "company": "",
                "department": "",
                "firstname": "",
                "lastname": "",
                "street": "",
                "zipcode": "",
                "city": ""
            }
        },
        "__csrf_token": "RFNqvSCMKYduV81xbhqICBEQSnNwwu"
    }
}
session:
No session data available
shopId:
1

 

 

'The provided X-CSRF-Token for path "/register/saveRegister/sTarget/checkout/sTargetAction/shippingPayment" is invalid.

ERROR

Message:
exception 'Shopware\Components\CSRFTokenValidationException' with message '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/vhosts/shopware/docroot/engine/Shopware/Components/CSRFTokenValidator.php:158
Stack trace:
#0 [internal function]: Shopware\Components\CSRFTokenValidator->checkFrontendTokenValidation(Object(Enlight_Controller_ActionEventArgs))
#1 /var/www/vhosts/shopware/docroot/engine/Library/Enlight/Event/Handler/Default.php(91): call_user_func(Array, Object(Enlight_Controller_ActionEventArgs))
#2 /var/www/vhosts/shopware/docroot/engine/Library/Enlight/Event/EventManager.php(214): Enlight_Event_Handler_Default->execute(Object(Enlight_Controller_ActionEventArgs))
#3 /var/www/vhosts/shopware/docroot/engine/Library/Enlight/Controller/Action.php(143): Enlight_Event_EventManager->notify('Enlight_Control...', Object(Enlight_Controller_ActionEventArgs))
#4 /var/www/vhosts/shopware/docroot/engine/Library/Enlight/Controller/Dispatcher/Default.php(523): Enlight_Controller_Action->dispatch('saveRegisterAct...')
#5 /var/www/vhosts/shopware/docroot/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/shopware/docroot/engine/Shopware/Kernel.php(180): Enlight_Controller_Front->dispatch()
#7 /var/www/vhosts/shopware/docroot/vendor/symfony/http-kernel/HttpCache/HttpCache.php(487): Shopware\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#8 /var/www/vhosts/shopware/docroot/engine/Shopware/Components/HttpCache/AppCache.php(255): Symfony\Component\HttpKernel\HttpCache\HttpCache->forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL)
#9 /var/www/vhosts/shopware/docroot/vendor/symfony/http-kernel/HttpCache/HttpCache.php(258): Shopware\Components\HttpCache\AppCache->forward(Object(Symfony\Component\HttpFoundation\Request), true)
#10 /var/www/vhosts/shopware/docroot/vendor/symfony/http-kernel/HttpCache/HttpCache.php(275): Symfony\Component\HttpKernel\HttpCache\HttpCache->pass(Object(Symfony\Component\HttpFoundation\Request), true)
#11 /var/www/vhosts/shopware/docroot/engine/Shopware/Components/HttpCache/AppCache.php(133): Symfony\Component\HttpKernel\HttpCache\HttpCache->invalidate(Object(Symfony\Component\HttpFoundation\Request), true)
#12 /var/www/vhosts/shopware/docroot/vendor/symfony/http-kernel/HttpCache/HttpCache.php(206): Shopware\Components\HttpCache\AppCache->invalidate(Object(Symfony\Component\HttpFoundation\Request), true)
#13 /var/www/vhosts/shopware/docroot/engine/Shopware/Components/HttpCache/AppCache.php(114): Symfony\Component\HttpKernel\HttpCache\HttpCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#14 /var/www/vhosts/shopware/docroot/shopware.php(117): Shopware\Components\HttpCache\AppCache->handle(Object(Symfony\Component\HttpFoundation\Request))
#15 {main}
Time:
2017-02-13T21:58:50.063145+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": "mr",
                "firstname": "M***",
                "lastname": "G***",
                "accountmode": "1",
                "email": "b***@googlemail.com",
                "phone": "",
                "birthday": {
                    "day": "26",
                    "month": "9",
                    "year": "1986"
                }
            },
            "billing": {
                "street": "W***",
                "zipcode": "7***",
                "city": "K***",
                "country": "2"
            },
            "shipping": {
                "company": "",
                "department": "",
                "firstname": "",
                "lastname": "",
                "street": "",
                "zipcode": "",
                "city": ""
            }
        },
        "Submit": "",
        "__csrf_token": "RFNqvSCMKYduV81xbhqICBEQSnNwwu"
    }
}
session:
No session data available
shopId:
1

 

 


Viewing all articles
Browse latest Browse all 4666