mgroovy Posted February 28, 2019 Share Posted February 28, 2019 (edited) Salve a tutti, ho da poco cambiato hosting mantenendo lo stesso nome del sito e, modificato i parametri nel nuovo db dopo averlo importato , modificato il file di configurazione in prestashop con i parametri del nuovo db . Risultato è che accedo al front ma non al back office , 500 internal error. Attivo la modalità debug da ftp , apro il sito e ho questi errori (1/1) ContextErrorException Notice: Undefined index: medium_default in b29c8dea2d8dc0f5f7f53db2cba018a9a345304d_2.file.productSpecial.tpl.php line 104 at Block_655410365c77b23c23d1e6_33141495->callBlock(object(SmartyDevTemplate)) in smarty_internal_runtime_inheritance.php line 248 at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_655410365c77b23c23d1e6_33141495), object(SmartyDevTemplate)) in smarty_internal_runtime_inheritance.php line 184 at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_655410365c77b23c23d1e6_33141495)) in smarty_internal_runtime_inheritance.php line 156 at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_655410365c77b23c23d1e6_33141495', 'product_thumbnail') in b29c8dea2d8dc0f5f7f53db2cba018a9a345304d_2.file.productSpecial.tpl.php line 34 at content_5c77b23c2593f5_55759813(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:catalog/_partials/miniatures/productSpecial.tpl', 'ps_specials|1|1|4|3|10', null, 0, 3600, array('product' => object(ProductListingLazyArray)), 0, true) in 69eca6f7099f96303240f391e6c6743858b25719_2.module.psspecialsviewstemplatesh.php line 44 at content_5c77b23c235971_84849963(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 2413 at ModuleCore->fetch('module:ps_specials/views/templates/hook/ps_specials.tpl', 'ps_specials|1|1|4|3|10') in ps_specials.php line 199 at Ps_Specials->renderWidget('displayLeftColumn', array('smarty' => object(SmartyDevTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 1)) in Hook.php line 971 at HookCore::coreRenderWidget(object(Ps_Specials), 'displayLeftColumn', array('smarty' => object(SmartyDevTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 1)) in Hook.php line 923 at HookCore::exec('displayLeftColumn', array('smarty' => object(SmartyDevTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 1), null) in smarty.config.inc.php line 165 at smartyHook(array('h' => 'displayLeftColumn'), object(SmartyDevTemplate)) in SmartyLazyRegister.php line 83 at SmartyLazyRegister->__call('smartyHook', array(array('h' => 'displayLeftColumn'), object(SmartyDevTemplate))) in 4cdd88663e1df59069a513079f222d280b2f3e82_2.file.layout-both-columns.tpl.php line 277 at Block_2560587975c77b23bd2d297_72368825->callBlock(object(SmartyDevTemplate)) in smarty_internal_runtime_inheritance.php line 248 at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_2560587975c77b23bd2d297_72368825), object(SmartyDevTemplate)) in smarty_internal_runtime_inheritance.php line 184 at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_2560587975c77b23bd2d297_72368825)) in smarty_internal_runtime_inheritance.php line 156 at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_2560587975c77b23bd2d297_72368825', 'left_column') in 4cdd88663e1df59069a513079f222d280b2f3e82_2.file.layout-both-columns.tpl.php line 85 at content_5c77b23bd3f848_70556646(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-left-column.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 f4b1327072629ec5f0c22c62a3b5983263c1a992_2.file.layout-left-column.tpl.php line 39 at content_5c77b23bd1cbb2_14834915(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-left-column.tpl', null, 'layouts/layout-left-column.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-left-column.tpl') in 129e4d55c974c3bde50a7429a7bc898008b4a6ea_2.file.page.tpl.php line 33 at content_5c77b23bd0b604_38141035(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-left-column.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 e2e6772be0ba97510f45a05c4cd2af78e8ce65ea_2.file.index.tpl.php line 33 at content_5c77b23bcfcd48_67985919(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, 'layouts/layout-left-column.tpl', null, 0) in smarty_internal_templatebase.php line 116 at Smarty_Internal_TemplateBase->fetch('index.tpl', null, 'layouts/layout-left-column.tpl', null, false, true, false) in SmartyDev.php line 40 at SmartyDev->fetch('index.tpl', null, 'layouts/layout-left-column.tpl') in FrontController.php line 682 at FrontControllerCore->smartyOutputContent('index.tpl') in FrontController.php line 666 at FrontControllerCore->display() in Controller.php line 301 at ControllerCore->run() in Dispatcher.php line 511 at DispatcherCore->dispatch() in index.php line 28 versione ps 1.7.5.1 Edited February 28, 2019 by mgroovy (see edit history) Link to comment Share on other sites More sharing options...
mgroovy Posted February 28, 2019 Author Share Posted February 28, 2019 grazie, il risultato del debug è quello sopra nel codice, considera che se disattivo il debug il front funziona regolarmente , è al pannello di controllo che non ho accesso Link to comment Share on other sites More sharing options...
mgroovy Posted February 28, 2019 Author Share Posted February 28, 2019 ok, questi errori mi escono pero sul lato front dopo che attivo la modalità debug, prima di attivare il debug il front funzionava correttamente Link to comment Share on other sites More sharing options...
mgroovy Posted February 28, 2019 Author Share Posted February 28, 2019 ok grazie, ho provato anche a cambiare la versione php nel pannello di controllo ma nada, back down front up Link to comment Share on other sites More sharing options...
mgroovy Posted February 28, 2019 Author Share Posted February 28, 2019 grazie cmq Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now