Jump to content

Not able to Config Module from Different Profile that is having permission for that Module


Recommended Posts

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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...