franco.aquini Posted June 26, 2017 Share Posted June 26, 2017 i've builth a new site with Prestashop 1.6.13. when i've tried to migrate to the final domain, an exception appear: [PrestaShopException] No access reference in table module_access for id_module 67. at line 2538 in file classes/module/Module.php 2533. self::$cache_permissions[$employee->id_profile][$row['id_module']]['uninstall'] = $row['uninstall']; 2534. } 2535. } 2536. 2537. if (!isset(self::$cache_permissions[$employee->id_profile][$id_module])) { 2538. throw new PrestaShopException('No access reference in table module_access for id_module '.$id_module.'.'); 2539. } 2540. 2541. return (bool)self::$cache_permissions[$employee->id_profile][$id_module][$variable]; 2542. } 2543. ModuleCore::getPermissionStatic - [line 3283 - classes/controller/AdminController.php] - [2 Arguments] AdminControllerCore->getModulesList - [line 2329 - classes/controller/AdminController.php] - [1 Arguments] AdminControllerCore->renderModulesList - [line 2063 - classes/controller/AdminController.php] AdminControllerCore->initContent - [line 136 - controllers/admin/AdminLoginController.php] AdminLoginControllerCore->initContent - [line 189 - classes/controller/Controller.php] ControllerCore->run - [line 367 - classes/Dispatcher.php] DispatcherCore->dispatch - [line 58 - admin/index.php] I've done many tests on ps_module_access table and on the users profiles, but i've not find a solution. Can you help me? Thank you very much. Link to comment Share on other sites More sharing options...
musicmaster Posted June 27, 2017 Share Posted June 27, 2017 look in the ps_module table which module has number 67. Then delete (or rename) it from the modules directory. Then reinstall that module. Alternatively you might decide to add an entry for this module in the ps_module_access table. Link to comment Share on other sites More sharing options...
franco.aquini Posted June 27, 2017 Author Share Posted June 27, 2017 look in the ps_module table which module has number 67. Then delete (or rename) it from the modules directory. Then reinstall that module. Alternatively you might decide to add an entry for this module in the ps_module_access table. Thank you @musicmaster. If i delete module with id 67, than the error appear for another module. And in the ps_module_access table already exist a correct entry for that module. I don't understand where is the problem. Link to comment Share on other sites More sharing options...
musicmaster Posted June 27, 2017 Share Posted June 27, 2017 If it isn't the module then it should be the employee. So you might try to add some diagnostic code to see for which employee id it is looking in the ps_module_access table. 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