kockoh Posted January 24, 2017 Share Posted January 24, 2017 i got this error log ini my admin login page: 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_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_sharebuttons/views/templates/hook/ps_sharebuttons.tpl', 'ps_sharebuttons||111', null) in Module.php line 2320 at ModuleCore->isCached('module:ps_sharebuttons/views/templates/hook/ps_sharebuttons.tpl', 'ps_sharebuttons||111') in ps_sharebuttons.php line 145 at Ps_Sharebuttons->renderWidget('displayBackOfficeHeader', array('cookie' => object(Cookie), 'cart' => null, 'altern' => '1')) in Hook.php line 763 at HookCore::coreRenderWidget(object(Ps_Sharebuttons), 'displayBackOfficeHeader', array('cookie' => object(Cookie), 'cart' => null, 'altern' => '1')) in Hook.php line 737 at HookCore::exec('displayBackOfficeHeader', array()) in AdminController.php line 2800 at AdminControllerCore->init() in Controller.php line 182 at ControllerCore->run() in Dispatcher.php line 366 at DispatcherCore->dispatch() in index.php line 95 and i got this error in error.log : Stack trace:#0 /home/sure1102/public_html/vendor/prestashop/smarty/sysplugins/smarty_resource.php(544): Smarty_Resource::load(Object(Smarty), 'module')#1 /home/sure1102/public_html/vendor/prestashop/smarty/sysplugins/smarty_internal_template.php(680): Smarty_Resource::source(Object(Smarty_Internal_Template))#2 /home/sure1102/public_html/vendor/prestashop/smarty/sysplugins/smarty_cacheresource.php(346): Smarty_Internal_Template->__get('source')#3 /home/sure1102/public_html/vendor/prestashop/smarty/sysplugins/smarty_internal_template.php(707): Smarty_Template_Cached->__construct(Object(Smarty_Internal_Template))#4 /home/sure1102/public_html/vendor/prestashop/smarty/sysplugins/smarty_internal_templatebase.php(419): Smarty_Internal_Template->__get('cached')#5 /home/sure1102/public_html/classes/module/Module.php(2320): Smarty_Internal_Tem in /home/sure1102/public_html/app/bootstrap.php.cache on line 3216[24-Jan-2017 21:17:35 Asia/Jakarta] PHP Fatal error: Uncaught exception 'SmartyException' with message 'Unknown resource type 'module'' in /home/sure1102/public_html/vendor/prestashop/smarty/sysplugins/smarty_resource.php:467 how to solve this problem, please lead me, i am a new ini php or website, Link to comment Share on other sites More sharing options...
super stock dupont Posted February 11, 2017 Share Posted February 11, 2017 same issue here Link to comment Share on other sites More sharing options...
kornwaikas Posted March 5, 2017 Share Posted March 5, 2017 same problem In can't enter in backoffice 1 Link to comment Share on other sites More sharing options...
rocky Posted March 5, 2017 Share Posted March 5, 2017 Seems to be a bug in the ps_sharebuttons module. Try deleting it. Link to comment Share on other sites More sharing options...
Youkou Posted April 13, 2017 Share Posted April 13, 2017 Any solution for this ? I'm facing the exact same. As mentionned above I have tried renaming the ps_sharebuttons folder in the theme, no change, I have disabled the module ps_sharebuttons in the database, no change. Here is my report, quite similar with those above : 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 1424 at Ps_MainMenu->renderWidget('displayBackOfficeHeader', array('cookie' => object(Cookie), 'cart' => null, 'altern' => '2')) in Hook.php line 763 at HookCore::coreRenderWidget(object(Ps_MainMenu), 'displayBackOfficeHeader', array('cookie' => object(Cookie), 'cart' => null, 'altern' => '2')) in Hook.php line 737 at HookCore::exec('displayBackOfficeHeader', array('cookie' => object(Cookie), 'cart' => null, 'altern' => '2')) in AdminController.php line 2812 at AdminControllerCore->init() in Controller.php line 182 at ControllerCore->run() in Dispatcher.php line 366 at DispatcherCore->dispatch() in index.php line 95 If anyone has an idea ... Youkou Link to comment Share on other sites More sharing options...
ha2tia Posted May 28, 2017 Share Posted May 28, 2017 After searching, If someone have the problem, its because of transplant a module in wrong hook. Hope its Help 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