Honey93 Posted March 6, 2017 Share Posted March 6, 2017 From Superadmin created a module "Projects" which is working fine. But when assigned it's permission to a different profile and tried to open from there it is throwing this error: [PrestaShop] Fatal error in module file :C:\xampp\htdocs\prestashop\app\bootstrap.php.cache:Uncaught exception 'SmartyException' with message 'Unable to load template file 'C:\xampp\htdocs\prestashop\admin310roeavh/themes/default\template\content-legacy.tpl'' in C:\xampp\htdocs\prestashop\vendor\prestashop\smarty\sysplugins\smarty_internal_templatebase.php:129 Stack trace: #0 C:\xampp\htdocs\prestashop\classes\controller\AdminController.php(1757): Smarty_Internal_TemplateBase->fetch() #1 C:\xampp\htdocs\prestashop\classes\controller\Controller.php(221): AdminControllerCore->display() #2 C:\xampp\htdocs\prestashop\classes\Dispatcher.php(366): ControllerCore->run() #3 C:\xampp\htdocs\prestashop\admin310roeavh\index.php(95): DispatcherCore->dispatch() #4 {main} Next exception 'LogicException' with message 'Request stack is empty' in C:\xampp\htdocs\prestashop\app\bootstrap.php.cache:3216 Stack trace: #0 [internal function]: Symfony\Component\HttpKernel\HttpKernel->terminateWithException(Object(SmartyException)) #1 C:\xampp\htdocs\prestashop\app\cache\prod\classes.php(2072): call_user_func(Array, Objec Link to comment Share on other sites More sharing options...
GT ITECH Posted March 6, 2017 Share Posted March 6, 2017 Did you try to clear your shop cache ? Link to comment Share on other sites More sharing options...
Honey93 Posted March 6, 2017 Author Share Posted March 6, 2017 I deleted prestashop/cache/smarty/cache, prestashop/cache/smarty/compile folder contents but still it is not working .. Link to comment Share on other sites More sharing options...
JPresta.com Posted March 8, 2017 Share Posted March 8, 2017 I had the same problem. I copied /adminXXX/themes/default/template/content.tpl to /adminXXX/themes/default/template/content-legacy.tpl and the page displayed correctly. but now the problem: I gave permission to configure a module but it says "You do not have permission to configure this module." Link to comment Share on other sites More sharing options...
JPresta.com Posted March 8, 2017 Share Posted March 8, 2017 For permission problem I had to check "View" and "Edit" at top of page, then disable all permission I don't want (so you keep View and Edit checked). 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