Prestashop 无法访问模块

Prestashop can't access modules

我想访问我的 prestashop 中的模块,但它显示了这个错误:

谁能告诉我如何解决这个错误,以便我可以再次访问这些模块?

您的员工帐户不是 SuperAdmin 类型,所以我猜您也无权访问商店的数据库。一定有人从 table module_access 中删除了一行,它定义了您对模块 ID 186 的权限。

但是如果您可以访问数据库并且知道您的帐户类型是什么,那么请查看 table profile_lang 并检查您的帐户类型 id_profile 是什么。

然后运行这个查询插入权限。

INSERT INTO dbprefix_module_access (id_profile, id_module, view, configure, uninstall)
VALUES (youridprofile, 186, 1, 1, 1);

dbprefix 替换为您的 table 前缀,并将 youridprofile 替换为 profile_lang table.

中的 id_profile