Jump to content

Error al intentar entrar con un nuevo empleado que no sea superadmin


Recommended Posts

Hola, tengo un error cuando intento iniciar sesion con un empleado que no es superadmin, el error es este:

[PrestaShopException]
No access reference in table module_access for id_module 63.
at line 2266 in file classes/module/Module.php
2261. self::$cache_permissions[$employee->id_profile][$row['id_module']]['uninstall'] = $row['uninstall'];
2262. }
2263. }
2264. 
2265. if (!isset(self::$cache_permissions[$employee->id_profile][$id_module]))
2266. throw new PrestaShopException('No access reference in table module_access for id_module '.$id_module.'.');
2267. 
2268. return (bool)self::$cache_permissions[$employee->id_profile][$id_module][$variable];
2269. }
2270. 
2271. /**
ModuleCore::getPermissionStatic - [line 488 - classes/Hook.php] - [3 Arguments]
HookCore::exec - [line 2451 - classes/controller/AdminController.php] - [2 Arguments]
AdminControllerCore->init - [line 163 - classes/controller/Controller.php]
ControllerCore->run - [line 373 - classes/Dispatcher.php]
DispatcherCore->dispatch - [line 54 - admin/index.php]

¿Que puede estar pasando?

 

Revisando en mysql, ese id equivale al módulo themeconfigurator.

Link to comment
Share on other sites

  • 2 months later...

Mismo problema, parece que sea un problema del módulo de permisos ya que entrando en el, no me muestra los permisos de los módulos instalados.

 

Voy a instalar otra vez el prestashop a ver si se había instalado mal.

Link to comment
Share on other sites

  • 2 months later...
  • 6 months later...

INSERT INTO `ag_module_access`(`id_profile`, `id_module`, `view`, `configure`) VALUES ([value-1],[value-2],[value-3],[value-4])

 

example: 

INSERT INTO `ag_module_access` ( `id_profile` , `id_module` , `view` , `configure` )

VALUES ( 12, 63, 1, 0 )

 

From Administration separator_breadcrumb.png Profiles , we get the id_profile , 12 is the "Supplier "profile . The profile associated with login, makes the browser error.

63 your id_module

 

and that's all. For me , problem solved. I hope help's you.

Link to comment
Share on other sites

  • nadie locked this topic
Guest
This topic is now closed to further replies.
×
×
  • Create New...