Jump to content

Problème de Jeton (token) invalide


Recommended Posts

Bonjour à tous, 

 

Depuis ce matin j'ai un problème sur mon site en effet lorsque j'essaye de fais quoi que ce soit dans le back office j'ai le message "Jeton (token) invalide: accéder à ce lien peut entraîner un éventuel problème de sécurité."

 

J'ai essayé de me mettre en mode debug et là je vois en back office 

Quote

Symfony\Component\HttpKernel\Exception\MethodNotAllowedHttpException

in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/EventListener/RouterListener.php (line 141)

RouterListener->onKernelRequest(object(GetResponseEvent), 'kernel.request', object(TraceableEventDispatcher))in vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/WrappedListener.php (line 115)

WrappedListener->__invoke(object(GetResponseEvent), 'kernel.request', object(TraceableEventDispatcher))in vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php (line 214)

EventDispatcher->doDispatch(array(object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener)), 'kernel.request', object(GetResponseEvent))in vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php (line 44)

EventDispatcher->dispatch('kernel.request', object(GetResponseEvent))in vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/TraceableEventDispatcher.php (line 143)

TraceableEventDispatcher->dispatch('kernel.request', object(GetResponseEvent))in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php (line 127)

HttpKernel->handleRaw(object(Request), 1)in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php (line 68)

HttpKernel->handle(object(Request), 1, false)in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php (line 200)

Kernel->handle(object(Request), 1, false)in admin*********/index.php (line 82)

$request = Request::createFromGlobals();

Request::setTrustedProxies([], Request::HEADER_X_FORWARDED_ALL);

try {

    require_once __DIR__.'/../autoload.php';

    $response = $kernel->handle($request, HttpKernelInterface::MASTER_REQUEST, false);

    $response->send();

    $kernel->terminate($request, $response);

} catch (NotFoundHttpException $exception) {

    define('ADMIN_LEGACY_CONTEXT', true);

    // correct Apache charset (except if it's too late)

Symfony\Component\Routing\Exception\MethodNotAllowedException

in var/cache/dev/appDevDebugProjectContainerUrlMatcher.php (line 7780)

appDevDebugProjectContainerUrlMatcher->match('/configure/advanced/performance/debug-mode')in vendor/symfony/symfony/src/Symfony/Component/Routing/Matcher/UrlMatcher.php (line 93)

UrlMatcher->matchRequest(object(Request))in vendor/symfony/symfony/src/Symfony/Component/Routing/Router.php (line 262)

Router->matchRequest(object(Request))in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/EventListener/RouterListener.php (line 113)

RouterListener->onKernelRequest(object(GetResponseEvent), 'kernel.request', object(TraceableEventDispatcher))in vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/WrappedListener.php (line 115)

WrappedListener->__invoke(object(GetResponseEvent), 'kernel.request', object(TraceableEventDispatcher))in vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php (line 214)

EventDispatcher->doDispatch(array(object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener)), 'kernel.request', object(GetResponseEvent))in vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php (line 44)

EventDispatcher->dispatch('kernel.request', object(GetResponseEvent))in vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/TraceableEventDispatcher.php (line 143)

TraceableEventDispatcher->dispatch('kernel.request', object(GetResponseEvent))in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php (line 127)

HttpKernel->handleRaw(object(Request), 1)in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php (line 68)

HttpKernel->handle(object(Request), 1, false)in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php (line 200)

Kernel->handle(object(Request), 1, false)in admin*********/index.php (line 82)

$request = Request::createFromGlobals();

Request::setTrustedProxies([], Request::HEADER_X_FORWARDED_ALL);

try {

    require_once __DIR__.'/../autoload.php';

    $response = $kernel->handle($request, HttpKernelInterface::MASTER_REQUEST, false);

    $response->send();

    $kernel->terminate($request, $response);

} catch (NotFoundHttpException $exception) {

    define('ADMIN_LEGACY_CONTEXT', true);

    // correct Apache charset (except if it's too late)

et en front office j'ai 

Quote

1/1) ContextErrorException

Notice: Undefined index: type

in b4e24db0f4028ba1e13114d6b69cd13ce3940c22_2.module.wbmegamenuviewstemplatesh.php line 106

at content_64d0b8708091d1_20501251(object(SmartyDevTemplate))in smarty_template_resource_base.php line 123

at Smarty_Template_Resource_Base->getRenderedTemplateCode(object(SmartyDevTemplate))in smarty_template_compiled.php line 114

at Smarty_Template_Compiled->render(object(SmartyDevTemplate))in smarty_internal_template.php line 216

at Smarty_Internal_Template->render(false, 0)in smarty_internal_templatebase.php line 232

at Smarty_Internal_TemplateBase->_execute(object(SmartyDevTemplate), null, null, null, 0)in smarty_internal_templatebase.php line 116

at Smarty_Internal_TemplateBase->fetch(null, null, null, null, false, true, false)in SmartyDevTemplate.php line 40

at SmartyDevTemplateCore->fetch()in Module.php line 2490

at ModuleCore->fetch('module:wbmegamenu/views/templates/hook/wbmegamenu.tpl', 'wbmegamenu|1|1|1|1|1|8')in wbmegamenu.php line 1217

at WbMegamenu->renderWidget('displayNavfullWidth', array('smarty' => object(SmartyDevTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart)))in Hook.php line 1007

at HookCore::coreRenderWidget(object(WbMegamenu), 'displayNavfullWidth', array('smarty' => object(SmartyDevTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart)))in Hook.php line 954

at HookCore::exec('displayNavfullWidth', array('smarty' => object(SmartyDevTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart)), null)in smarty.config.inc.php line 167

at smartyHook(array('h' => 'displayNavfullWidth'), object(SmartyDevTemplate))in SmartyLazyRegister.php line 83

at SmartyLazyRegister->__call('smartyHook', array(array('h' => 'displayNavfullWidth'), object(SmartyDevTemplate)))in c94ec594c8b409ed215fa415e8be28bab68c4d47_2.file.header.tpl.php line 39

at content_64d0b870651c21_29001071(object(SmartyDevTemplate))in smarty_template_resource_base.php line 123

at Smarty_Template_Resource_Base->getRenderedTemplateCode(object(SmartyDevTemplate))in smarty_template_compiled.php line 114

at Smarty_Template_Compiled->render(object(SmartyDevTemplate))in smarty_internal_template.php line 216

at Smarty_Internal_Template->render()in smarty_internal_template.php line 385

at Smarty_Internal_Template->_subTemplateRender('file:_partials/header.tpl', null, 'microinlayouts/layout-full-width.tpl', 0, 3600, array(), 0, false)in b17791d51bd30993123e0645110e74388dbabf3d_2.file.layout-both-columns.tpl.php line 231

at Block_56379936364d0b870586175_67724787->callBlock(object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 248

at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_56379936364d0b870586175_67724787), object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 184

at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_56379936364d0b870586175_67724787))in smarty_internal_runtime_inheritance.php line 156

at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_56379936364d0b870586175_67724787', 'header')in b17791d51bd30993123e0645110e74388dbabf3d_2.file.layout-both-columns.tpl.php line 68

at content_64d0b8705a12b4_70009997(object(SmartyDevTemplate))in smarty_template_resource_base.php line 123

at Smarty_Template_Resource_Base->getRenderedTemplateCode(object(SmartyDevTemplate))in smarty_template_compiled.php line 114

at Smarty_Template_Compiled->render(object(SmartyDevTemplate))in smarty_internal_template.php line 216

at Smarty_Internal_Template->render()in smarty_internal_template.php line 385

at Smarty_Internal_Template->_subTemplateRender('layouts/layout-both-columns.tpl', null, 'microinlayouts/layout-full-width.tpl', 0, 3600, array(), 2, false, null, null)in smarty_internal_runtime_inheritance.php line 116

at Smarty_Internal_Runtime_Inheritance->endChild(object(SmartyDevTemplate), 'layouts/layout-both-columns.tpl')in bb54287bd85fff1eb516acba3e5c651d749b62b3_2.file.layout-full-width.tpl.php line 42

at content_64d0b870569fd1_25209614(object(SmartyDevTemplate))in smarty_template_resource_base.php line 123

at Smarty_Template_Resource_Base->getRenderedTemplateCode(object(SmartyDevTemplate))in smarty_template_compiled.php line 114

at Smarty_Template_Compiled->render(object(SmartyDevTemplate))in smarty_internal_template.php line 216

at Smarty_Internal_Template->render()in smarty_internal_template.php line 385

at Smarty_Internal_Template->_subTemplateRender('layouts/layout-full-width.tpl', null, 'microinlayouts/layout-full-width.tpl', 0, 3600, array(), 2, false, null, null)in smarty_internal_runtime_inheritance.php line 116

at Smarty_Internal_Runtime_Inheritance->endChild(object(SmartyDevTemplate), 'layouts/layout-full-width.tpl')in f93360a22014edf8b510c8730d792849c0b3f2c3_2.file.page.tpl.php line 33

at content_64d0b870505c44_63495833(object(SmartyDevTemplate))in smarty_template_resource_base.php line 123

at Smarty_Template_Resource_Base->getRenderedTemplateCode(object(SmartyDevTemplate))in smarty_template_compiled.php line 114

at Smarty_Template_Compiled->render(object(SmartyDevTemplate))in smarty_internal_template.php line 216

at Smarty_Internal_Template->render()in smarty_internal_template.php line 385

at Smarty_Internal_Template->_subTemplateRender('page.tpl', null, 'microinlayouts/layout-full-width.tpl', 0, 3600, array(), 2, false, null, null)in smarty_internal_runtime_inheritance.php line 116

at Smarty_Internal_Runtime_Inheritance->endChild(object(SmartyDevTemplate), 'page.tpl')in be4d4f970f75b5e2a84778d1c266da85797db31d_2.file.index.tpl.php line 34

at content_64d0b8704cecd3_74717201(object(SmartyDevTemplate))in smarty_template_resource_base.php line 123

at Smarty_Template_Resource_Base->getRenderedTemplateCode(object(SmartyDevTemplate))in smarty_template_compiled.php line 114

at Smarty_Template_Compiled->render(object(SmartyDevTemplate))in smarty_internal_template.php line 216

at Smarty_Internal_Template->render(false, 0)in smarty_internal_templatebase.php line 232

at Smarty_Internal_TemplateBase->_execute(object(SmartyDevTemplate), null, 'microinlayouts/layout-full-width.tpl', null, 0)in smarty_internal_templatebase.php line 116

at Smarty_Internal_TemplateBase->fetch('index.tpl', null, 'microinlayouts/layout-full-width.tpl', null, false, true, false)in SmartyDev.php line 40

at SmartyDev->fetch('index.tpl', null, 'microinlayouts/layout-full-width.tpl')in FrontController.php line 727

at FrontControllerCore->smartyOutputContent('index.tpl')in FrontController.php line 709

at FrontControllerCore->display()in Controller.php line 326

at ControllerCore->run()in Dispatcher.php line 518

at DispatcherCore->dispatch()in index.php line 28

Je suis sur OVH en php 7.4

Mes connaissances sont limités pouvez vous m'aider a résoudre ce problème, ou avez vous des piste afin que je puisse le faire ? 

 

Merci à vous 

Edited by peservices (see edit history)
Link to comment
Share on other sites

2 minutes ago, wepresta said:

Bonjour,

avez-vous essayer de supprimer un module récemment installé pour voir si cela ne venait pas là ?

Bonjour merci pour ta réponse j'ai rien installer de spécial depuis plusieurs semaines c'est apparu ce weekend

Link to comment
Share on other sites

3 minutes ago, coeos.pro said:

avez vous essayé de vous déconnecter et de vous reconnecter ?

 

Merci pour ta réponse j'ai essayé en effet de:

-vider le cache du prestashop / navigateur

-supprimer cookies / historique ect du navigateur

-essayé sur un autre navigateur

 

même problème ! 

Edited by peservices (see edit history)
Link to comment
Share on other sites

Quote

Fichiers modifiés (96)

LICENSES

admin********/themes/default/public/a33a878f3861ca67e9bc423c58b2a357.svg

admin********/themes/default/public/bf4dde0147bb02556500d922e2efc90b.svg

admin********/themes/default/public/fedf49d31f55f4beaf2c891f3875554f.svg

admin********/themes/default/public/b46ff9f5c8bcba1ea3b4b320e22be5c7.svg

admin********/themes/default/public/2a9a30e14574c9ec24add2901a80b81c.svg

admin********/themes/default/public/24aab533f87e7b434be5fa5b1684975c.svg

admin********/themes/default/public/fbc2a379fdad6d5a1b10c881644bc5dd.png

admin********/themes/new-theme/public/a33a878f3861ca67e9bc423c58b2a357.svg

admin********/themes/new-theme/public/f108c981ed9611d5cc44f688b9ce80a4.svg

admin********/themes/new-theme/public/bf4dde0147bb02556500d922e2efc90b.svg

admin********/themes/new-theme/public/fedf49d31f55f4beaf2c891f3875554f.svg

admin********/themes/new-theme/public/b46ff9f5c8bcba1ea3b4b320e22be5c7.svg

admin********/themes/new-theme/public/f13a42c6a06af3ffcb6986dbcf5022f5.svg

admin********/themes/new-theme/public/b22164d568f72650d592271d22dd5cda.svg

admin********/themes/new-theme/public/2a9a30e14574c9ec24add2901a80b81c.svg

admin********/themes/new-theme/public/df2a321f01fad21758777e44fa839ccf.svg

admin********/themes/new-theme/public/336bcb7b78f6c5e55120951f0045a8d8.svg

admin********/themes/new-theme/public/24aab533f87e7b434be5fa5b1684975c.svg

admin********/themes/new-theme/public/a84e8591bb7eb3998ad492c27c4c3d52.svg

admin********/themes/new-theme/public/93c74904d1169a68c36b4edc333a692b.svg

classes/Carrier.php

js/jquery/plugins/jquery.validate-creditcard.js

js/jquery/plugins/alerts/jquery.alerts.js

js/jquery/plugins/alerts/jquery.alerts.css

js/jquery/plugins/jstree/jquery.jstree.js

js/jquery/plugins/jstree/themes/apple/style.css

js/jquery/plugins/jstree/themes/classic/style.css

js/jquery/plugins/jstree/themes/default/style.css

js/jquery/plugins/jstree/themes/default-rtl/style.css

js/jquery/plugins/smartWizard/jquery.smartWizard.js

js/jquery/plugins/treeview-categories/jquery.treeview-categories.async.js

js/jquery/plugins/treeview-categories/jquery.treeview-categories.sortable.js

vendor/mrclay/minify/min/builder/jquery-1.6.3.min.js

vendor/mrclay/minify/min/lib/Minify/DebugDetector.php

vendor/mrclay/minify/min/lib/Minify/CSS.php

vendor/mrclay/minify/min/lib/Minify/CSSmin.php

vendor/mrclay/minify/min/lib/Minify/HTML.php

vendor/mrclay/minify/min/lib/Minify/ImportProcessor.php

vendor/mrclay/minify/min/lib/Minify/CSS/Compressor.php

vendor/symfony/polyfill-iconv/Resources/charset/from.cp855.php

vendor/symfony/polyfill-iconv/Resources/charset/from.windows-1258.php

vendor/symfony/polyfill-iconv/Resources/charset/from.cp865.php

vendor/symfony/polyfill-iconv/Resources/charset/from.cp949.php

vendor/symfony/polyfill-iconv/Resources/charset/from.koi8-r.php

vendor/symfony/polyfill-iconv/Resources/charset/from.cp437.php

vendor/symfony/polyfill-iconv/Resources/charset/from.iso-8859-8.php

vendor/symfony/polyfill-iconv/Resources/charset/from.windows-1253.php

vendor/symfony/polyfill-iconv/Resources/charset/from.windows-1255.php

vendor/symfony/polyfill-iconv/Resources/charset/from.iso-8859-6.php

vendor/symfony/polyfill-iconv/Resources/charset/from.cp1026.php

vendor/symfony/polyfill-iconv/Resources/charset/from.cp852.php

vendor/symfony/polyfill-iconv/Resources/charset/from.cp737.php

vendor/symfony/polyfill-iconv/Resources/charset/from.iso-8859-15.php

vendor/symfony/polyfill-iconv/Resources/charset/from.cp862.php

vendor/symfony/polyfill-iconv/Resources/charset/from.koi8-u.php

vendor/symfony/polyfill-iconv/Resources/charset/from.cp775.php

vendor/symfony/polyfill-iconv/Resources/charset/from.iso-8859-16.php

vendor/symfony/polyfill-iconv/Resources/charset/from.windows-1256.php

vendor/symfony/polyfill-iconv/Resources/charset/from.iso-8859-10.php

vendor/symfony/polyfill-iconv/Resources/charset/from.iso-8859-2.php

vendor/symfony/polyfill-iconv/Resources/charset/from.windows-1254.php

vendor/symfony/polyfill-iconv/Resources/charset/from.cp860.php

vendor/symfony/polyfill-iconv/Resources/charset/from.cp950.php

vendor/symfony/polyfill-iconv/Resources/charset/from.iso-8859-11.php

vendor/symfony/polyfill-iconv/Resources/charset/from.iso-8859-5.php

vendor/symfony/polyfill-iconv/Resources/charset/from.iso-8859-4.php

vendor/symfony/polyfill-iconv/Resources/charset/from.cp936.php

vendor/symfony/polyfill-iconv/Resources/charset/from.cp869.php

vendor/symfony/polyfill-iconv/Resources/charset/from.iso-8859-14.php

vendor/symfony/polyfill-iconv/Resources/charset/from.cp850.php

vendor/symfony/polyfill-iconv/Resources/charset/from.iso-8859-1.php

vendor/symfony/polyfill-iconv/Resources/charset/from.windows-1257.php

vendor/symfony/polyfill-iconv/Resources/charset/from.windows-1250.php

vendor/symfony/polyfill-iconv/Resources/charset/from.iso-8859-3.php

vendor/symfony/polyfill-iconv/Resources/charset/from.iso-8859-7.php

vendor/symfony/polyfill-iconv/Resources/charset/from.windows-1252.php

vendor/symfony/polyfill-iconv/Resources/charset/from.cp861.php

vendor/symfony/polyfill-iconv/Resources/charset/from.us-ascii.php

vendor/symfony/polyfill-iconv/Resources/charset/from.windows-1251.php

vendor/symfony/polyfill-iconv/Resources/charset/from.cp874.php

vendor/symfony/polyfill-iconv/Resources/charset/from.cp866.php

vendor/symfony/polyfill-iconv/Resources/charset/from.cp864.php

vendor/symfony/polyfill-iconv/Resources/charset/from.cp863.php

vendor/symfony/polyfill-iconv/Resources/charset/from.cp932.php

vendor/symfony/polyfill-iconv/Resources/charset/from.cp424.php

vendor/symfony/polyfill-iconv/Resources/charset/from.cp1006.php

vendor/symfony/polyfill-iconv/Resources/charset/from.cp856.php

vendor/symfony/polyfill-iconv/Resources/charset/from.cp500.php

vendor/symfony/polyfill-iconv/Resources/charset/from.cp875.php

vendor/symfony/polyfill-iconv/Resources/charset/from.iso-8859-9.php

vendor/symfony/polyfill-iconv/Resources/charset/from.cp037.php

vendor/symfony/polyfill-iconv/Resources/charset/from.cp857.php

vendor/symfony/polyfill-iconv/Resources/charset/from.iso-8859-13.php

vendor/tecnickcom/tcpdf/fonts/freefont-20100919/CREDITS

vendor/tecnickcom/tcpdf/fonts/freefont-20120503/CREDITS

Voici la liste :/

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...