Jens Oggesen Posted January 17, 2017 Share Posted January 17, 2017 I just set up a fresh prestashop 1.7.0.4 and was enabling blocks and design related entities, when suddenly the entire BackOffice went blank. I'm now unable to get back into it. I can (sometimes) get the login page, but given valid credentials i just get a blank page. I got the error below from having enabled debug. I tried setting PS_SMARTY_CACHE to 0 in mysql, but that didn't change anything. Any suggestions? Whoops, looks like something went wrong.1/1 SmartyException in smarty_resource.php line 467: Unknown resource type 'module' in smarty_resource.php line 467 at Smarty_Resource::load(object(Smarty), 'module') in smarty_resource.php line 544 at Smarty_Resource::source(object(Smarty_Internal_Template)) in smarty_internal_template.php line 680 at Smarty_Internal_Template->__get('source') in smarty_internal_templatebase.php line 119 at Smarty_Internal_TemplateBase->fetch() in Module.php line 2255 at ModuleCore->fetch('module:ps_mainmenu/ps_mainmenu.tpl') in ps_mainmenu.php line 1426 at Ps_MainMenu->renderWidget('displayAdminAfterHeader', array('smarty' => object(Smarty_Internal_Template), 'cookie' => object(Cookie), 'cart' => null, 'altern' => '1')) in Hook.php line 763 at HookCore::coreRenderWidget(object(Ps_MainMenu), 'displayAdminAfterHeader', array('smarty' => object(Smarty_Internal_Template), 'cookie' => object(Cookie), 'cart' => null, 'altern' => '1')) in Hook.php line 737 at HookCore::exec('displayAdminAfterHeader', array('smarty' => object(Smarty_Internal_Template)), null) in smarty.config.inc.php line 174 at smartyHook(array('h' => 'displayAdminAfterHeader'), object(Smarty_Internal_Template)) at call_user_func_array('smartyHook', array(array('h' => 'displayAdminAfterHeader'), object(Smarty_Internal_Template))) in SmartyLazyRegister.php line 83 at SmartyLazyRegister->__call('smartyHook', array(array('h' => 'displayAdminAfterHeader'), object(Smarty_Internal_Template))) in smarty_internal_templatebase.php(157) : eval()'d code line 546 at SmartyLazyRegister->smartyHook(array('h' => 'displayAdminAfterHeader'), object(Smarty_Internal_Template)) in smarty_internal_templatebase.php(157) : eval()'d code line 546 at content_587e6596e679f3_40948971(object(Smarty_Internal_Template)) in smarty_internal_templatebase.php line 188 at Smarty_Internal_TemplateBase->fetch('header.tpl') in AdminController.php line 1787 at AdminControllerCore->display() in Controller.php line 221 at ControllerCore->run() in Dispatcher.php line 366 at DispatcherCore->dispatch() in index.php line 95 Link to comment Share on other sites More sharing options...
corinn Posted February 9, 2017 Share Posted February 9, 2017 I am having a similar problem. Here is the error code which occurred after unhooking a banner module and trying to transplant it to the header or top of page. I am unable to access the back office and get the PHP error code instead. This is the second time I have had this issue and have already reinstalled prestashop and rebuilt the site after hours of frustration and endless calls to my hosting company which could not solve the problem. Previous versions of Prestashop would not allow modules to be moved to the wrong location. Is there any workaround to logging in? n smarty_resource.php line 467 at Smarty_Resource::load(object(Smarty), 'module') in smarty_resource.php line 544 at Smarty_Resource::source(object(Smarty_Internal_Template)) in smarty_internal_template.php line 680 at Smarty_Internal_Template->__get('source') in smarty_cacheresource.php line 346 at Smarty_Template_Cached->__construct(object(Smarty_Internal_Template)) in smarty_internal_template.php line 707 at Smarty_Internal_Template->__get('cached') in smarty_internal_templatebase.php line 419 at Smarty_Internal_TemplateBase->isCached('module:ps_banner/ps_banner.tpl', 'ps_banner|21', null) in Module.php line 2320 at ModuleCore->isCached('module:ps_banner/ps_banner.tpl', 'ps_banner|21') in ps_banner.php line 231 at Ps_Banner->renderWidget('displayAdminAfterHeader', array('smarty' => object(Smarty_Internal_Template), 'cookie' => object(Cookie), 'cart' => null, 'altern' => '1')) in Hook.php line 763 at HookCore::coreRenderWidget(object(Ps_Banner), 'displayAdminAfterHeader', array('smarty' => object(Smarty_Internal_Template), 'cookie' => object(Cookie), 'cart' => null, 'altern' => '1')) in Hook.php line 737 at HookCore::exec('displayAdminAfterHeader', array('smarty' => object(Smarty_Internal_Template)), null) in smarty.config.inc.php line 174 at smartyHook(array('h' => 'displayAdminAfterHeader'), object(Smarty_Internal_Template)) at call_user_func_array('smartyHook', array(array('h' => 'displayAdminAfterHeader'), object(Smarty_Internal_Template))) in SmartyLazyRegister.php line 83 at SmartyLazyRegister->__call('smartyHook', array(array('h' => 'displayAdminAfterHeader'), object(Smarty_Internal_Template))) in 290692a729b891afdec99354b7e1350142b31f63.file.header.tpl.php line 546 at SmartyLazyRegister->smartyHook(array('h' => 'displayAdminAfterHeader'), object(Smarty_Internal_Template)) in 290692a729b891afdec99354b7e1350142b31f63.file.header.tpl.php line 546 at content_589c8ceabb53b1_81669083(object(Smarty_Internal_Template)) in smarty_internal_templatebase.php line 188 at Smarty_Internal_TemplateBase->fetch('header.tpl') in AdminController.php line 1787 at AdminControllerCore->display() in Controller.php line 221 at ControllerCore->run() in Dispatcher.php line 366 at DispatcherCore->dispatch() in index.php line 95 Link to comment Share on other sites More sharing options...
super stock dupont Posted February 10, 2017 Share Posted February 10, 2017 (edited) same problem here. trying to unhook and hook a module. Edited February 10, 2017 by super stock dupont (see edit history) 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