Jump to content

Edit History

Felix40400

Felix40400


ajout tag

Bonjour,

Je rencontre quelques soucis d'instabilité suite à une mise à jour du module " mise à jours et conseils" qui s'est mal passé sous presta 1.7.6.8. ( Pour info MAJ mineur 2.1.1 > 2.1.2 ).
Après avoir fait la mise à jours manuellement, j'obtiens souvent des crash erreur 500 avec l'erreur suivante en front débug :

Quote

(1/1) ContextErrorException
Notice: Undefined index: lang_iso

in 61736212dbff9c93479b8239f7f594b26dbeff14_2.file.header.tpl.php line 75
at content_5fd8ae89341251_84408885(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, 'layouts/layout-full-width.tpl', 0, 3600, array(), 0, false)
in 23cf6fcda333eb89de6a62d295f26f6cf7fd86a5_2.file.layout-both-columns.tpl.php line 189
at Block_9910465605fd8ae89115f24_98968482->callBlock(object(SmartyDevTemplate))
in smarty_internal_runtime_inheritance.php line 248
at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_9910465605fd8ae89115f24_98968482), object(SmartyDevTemplate))
in smarty_internal_runtime_inheritance.php line 184
at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_9910465605fd8ae89115f24_98968482))
in smarty_internal_runtime_inheritance.php line 156
at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_9910465605fd8ae89115f24_98968482', 'header')
in 23cf6fcda333eb89de6a62d295f26f6cf7fd86a5_2.file.layout-both-columns.tpl.php line 63
at content_5fd8ae891377e2_85815621(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, 'layouts/layout-full-width.tpl', 0, 3600, array(), 2, false, null, null)
in smarty_internal_runtime_inheritance.php line 126
at Smarty_Internal_Runtime_Inheritance->endChild(object(SmartyDevTemplate), 'layouts/layout-both-columns.tpl')
in 10537b65906170c622c4d2ab9a08631efa2ce924_2.file.layout-full-width.tpl.php line 42
at content_5fd8ae890d00f3_08421069(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, 'layouts/layout-full-width.tpl', 0, 3600, array(), 2, false, null, null)
in smarty_internal_runtime_inheritance.php line 126
at Smarty_Internal_Runtime_Inheritance->endChild(object(SmartyDevTemplate), 'layouts/layout-full-width.tpl')
in bbf71ab6826a3a313c634e709e2c00de5099d9b3_2.file.page.tpl.php line 33
at content_5fd8ae89084817_44682561(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, 'layouts/layout-full-width.tpl', 0, 3600, array(), 2, false, null, null)
in smarty_internal_runtime_inheritance.php line 126
at Smarty_Internal_Runtime_Inheritance->endChild(object(SmartyDevTemplate), 'page.tpl')
in 8e4285c7c22c573fce356cce6883b57cd1741c3b_2.file.index.tpl.php line 33
at content_5fd8ae88f2e2d1_87851909(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('index.tpl', null, 'layouts/layout-full-width.tpl', null, 0)
in smarty_internal_templatebase.php line 116
at Smarty_Internal_TemplateBase->fetch('index.tpl', null, 'layouts/layout-full-width.tpl', null, false, true, false)
in SmartyDev.php line 40
at SmartyDev->fetch('index.tpl', null, 'layouts/layout-full-width.tpl')
in FrontController.php line 683
at FrontControllerCore->smartyOutputContent('index.tpl')
in FrontController.php line 667
at FrontControllerCore->display()
in Controller.php line 312
at ControllerCore->run()
in Dispatcher.php line 515
at DispatcherCore->dispatch()
in index.php line 27

En fouillant sur le net j'arrive tout remettre en route en vidant le cache et en mettant à jour la traduction FR. Mais ça revient régulièrement dès que je touche à quelque chose...

Auriez-vous une idée de comment régler ce problème pour éviter que notre e-commerce soit down en cette période de fin d'année  ?

 

Merci d'avance.

 

Cordialement,

Félix.

 

Felix40400

Felix40400

Bonjour,

Je rencontre quelques soucis d'instabilité suite à une mise à jour du module " mise à jours et conseils" qui s'est mal passé sous presta 1.7.6.8. ( Pour info MAJ mineur 2.1.1 > 2.1.2 ).
Après avoir fait la mise à jours manuellement, j'obtiens souvent des crash erreur 500 avec l'erreur suivante en front débug :

Quote

(1/1) ContextErrorException
Notice: Undefined index: lang_iso

in 61736212dbff9c93479b8239f7f594b26dbeff14_2.file.header.tpl.php line 75
at content_5fd8ae89341251_84408885(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, 'layouts/layout-full-width.tpl', 0, 3600, array(), 0, false)
in 23cf6fcda333eb89de6a62d295f26f6cf7fd86a5_2.file.layout-both-columns.tpl.php line 189
at Block_9910465605fd8ae89115f24_98968482->callBlock(object(SmartyDevTemplate))
in smarty_internal_runtime_inheritance.php line 248
at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_9910465605fd8ae89115f24_98968482), object(SmartyDevTemplate))
in smarty_internal_runtime_inheritance.php line 184
at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_9910465605fd8ae89115f24_98968482))
in smarty_internal_runtime_inheritance.php line 156
at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_9910465605fd8ae89115f24_98968482', 'header')
in 23cf6fcda333eb89de6a62d295f26f6cf7fd86a5_2.file.layout-both-columns.tpl.php line 63
at content_5fd8ae891377e2_85815621(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, 'layouts/layout-full-width.tpl', 0, 3600, array(), 2, false, null, null)
in smarty_internal_runtime_inheritance.php line 126
at Smarty_Internal_Runtime_Inheritance->endChild(object(SmartyDevTemplate), 'layouts/layout-both-columns.tpl')
in 10537b65906170c622c4d2ab9a08631efa2ce924_2.file.layout-full-width.tpl.php line 42
at content_5fd8ae890d00f3_08421069(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, 'layouts/layout-full-width.tpl', 0, 3600, array(), 2, false, null, null)
in smarty_internal_runtime_inheritance.php line 126
at Smarty_Internal_Runtime_Inheritance->endChild(object(SmartyDevTemplate), 'layouts/layout-full-width.tpl')
in bbf71ab6826a3a313c634e709e2c00de5099d9b3_2.file.page.tpl.php line 33
at content_5fd8ae89084817_44682561(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, 'layouts/layout-full-width.tpl', 0, 3600, array(), 2, false, null, null)
in smarty_internal_runtime_inheritance.php line 126
at Smarty_Internal_Runtime_Inheritance->endChild(object(SmartyDevTemplate), 'page.tpl')
in 8e4285c7c22c573fce356cce6883b57cd1741c3b_2.file.index.tpl.php line 33
at content_5fd8ae88f2e2d1_87851909(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('index.tpl', null, 'layouts/layout-full-width.tpl', null, 0)
in smarty_internal_templatebase.php line 116
at Smarty_Internal_TemplateBase->fetch('index.tpl', null, 'layouts/layout-full-width.tpl', null, false, true, false)
in SmartyDev.php line 40
at SmartyDev->fetch('index.tpl', null, 'layouts/layout-full-width.tpl')
in FrontController.php line 683
at FrontControllerCore->smartyOutputContent('index.tpl')
in FrontController.php line 667
at FrontControllerCore->display()
in Controller.php line 312
at ControllerCore->run()
in Dispatcher.php line 515
at DispatcherCore->dispatch()
in index.php line 27

En fouillant sur le net j'arrive tout remettre en route en vidant le cache et en mettant à jour la traduction FR. Mais ça revient régulièrement dès que je touche à quelque chose...

Auriez-vous une idée de comment régler ce problème pour éviter que notre e-commerce soit down en cette période de fin d'année  ?

 

Merci d'avance.

 

Cordialement,

Félix.

 

×
×
  • Create New...