Jump to content

Impossible to install a module


Recommended Posts

Hello all,
I'm the owner of a prestashop 1.7.5.1 and I need to install a non native module.

If I try drag and dropping the module I receive the following error: 

 

Exception

HTTP 500 Internal Server Error

You are not allowed to disable the module xxx.

 

If I try to install it manually, through ftp and then using the module menu and clicking "Install", this is the error:

Error!
Exception thrown by module emagmarketplace on install. Duplicate entry 'ROLE_MOD_TAB_ADMINXXXMAIN_CREATE' for key 'slug'

INSERT INTO `ps_authorization_role` (`slug`) VALUES ("ROLE_MOD_TAB_ADMINXXXMAIN_CREATE").

 

As seen in other posts I tried the following steps:
- removing the record ROLE_MOD_TAB_ADMINXXXMAIN_CREATE, no effect;

- adding the roles ROLE_MOD_TAB_ADMINMODULES_CREATE, ROLE_MOD_TAB_ADMINMODULES_READ,  ROLE_MOD_TAB_ADMINMODULES_UPDATE, ROLE_MOD_TAB_ADMINMODULES_DELETE to the user;

- removing the debug;

Someone  faced the same error?

Thanks

 

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...