Jump to content
  • 0
wright-stationery

Getting error "You do not have permission to configure this module." when trying to install a module

Question

I'm trying to install Google Analytics API module as it appears to uninstalled itself at some point in the last month, but when I click install I get an error:

 

You do not have permission to configure this module.

 

Anyone know how to solve this?  I saw a few other topics saying to uninstall and reinstall the module...but mine isn't installed so that doesn't help me.

Share this post


Link to post
Share on other sites

15 answers to this question

Recommended Posts

  • 0

may i know exact module that you trying to install? its not default one probably?

what name? what version? where i can get it for test purposes/

Share this post


Link to post
Share on other sites
  • 0

To anyone having "You do not have permission to configure this module."

Try this, it worked for me.

Go to Advanced parameters, performance, turn off all items on this page. I don't know which cache or smarty etc was the issue, but after I did a wholesale swipe here the 1-click upgrade configuration would display.

Share this post


Link to post
Share on other sites
  • 0

Any other solutions? I'm getting the same error message when trying to install any module. Tried uploading modules manually but error comes up when I click Install. 

I recently moved my shop to a different hosting package/domain and all works well on the original one while can't figure out what's going on with the new one.

 

Anything else I could try?

Thanks

Share this post


Link to post
Share on other sites
  • 0

I ran into this error too, trying to install pscleaner 1.8.5 on 1.6.1.6 of PrestaShop. Tried all suggestions of disabling performance features, made no difference.

 

Keen to know solution though as I've abandoned PrestaShop for this project as there wasn't the time to find the solution. 

Share this post


Link to post
Share on other sites
  • 0

I am getting this type of error whenever I try to install a module that is uploaded manually. It displays two contradictory messages:

“Module installed successfully” in green and “You do not have permission to configure this module” in red.

Neither does it work with official modules (like “Customer loyalty and rewards”). Same two error messages.

Prestashop 1.6.1.4.

Share this post


Link to post
Share on other sites
  • 0

We have experienced this error with non-superadmin employees in version 1.7.
 

A fix seems to be to add access for the following authorization roles to the employee profile in question, in the 'access' table:
- 'ROLE_MOD_TAB_ADMINMODULES_CREATE'
- 'ROLE_MOD_TAB_ADMINMODULES_READ'
- 'ROLE_MOD_TAB_ADMINMODULES_UPDATE'
- 'ROLE_MOD_TAB_ADMINMODULES_DELETE'

In practice this meant adding four rows to the 'access' table in the database, with data like this:

- id_profile = 2, id_authorization_role = 165

- id_profile = 2, id_authorization_role = 166

- id_profile = 2, id_authorization_role = 167

- id_profile = 2, id_authorization_role = 168

 

This can also be expressed with the following SQL query, where 'Shop owner' is the name of the profile in question:

 

SELECT `id_authorization_role` INTO @create_role FROM `authorization_role` WHERE `slug`='ROLE_MOD_TAB_ADMINMODULES_CREATE';
SELECT `id_authorization_role` INTO @read_role FROM `authorization_role` WHERE `slug`='ROLE_MOD_TAB_ADMINMODULES_READ';
SELECT `id_authorization_role` INTO @update_role FROM `authorization_role` WHERE `slug`='ROLE_MOD_TAB_ADMINMODULES_UPDATE';
SELECT `id_authorization_role` INTO @delete_role FROM `authorization_role` WHERE `slug`='ROLE_MOD_TAB_ADMINMODULES_DELETE';
SELECT `id_profile` INTO @profile_id FROM `profile_lang` WHERE `name` = 'Shop owner' LIMIT 1;
INSERT IGNORE INTO `access`(`id_profile`,`id_authorization_role`) VALUES(@profile_id,@create_role);
INSERT IGNORE INTO `access`(`id_profile`,`id_authorization_role`) VALUES(@profile_id,@read_role);
INSERT IGNORE INTO `access`(`id_profile`,`id_authorization_role`) VALUES(@profile_id,@update_role);
INSERT IGNORE INTO `access`(`id_profile`,`id_authorization_role`) VALUES(@profile_id,@delete_role);

Share this post


Link to post
Share on other sites
  • 0

I had the same problem. I was searching for solution for my own. The problem had apeared when I uploaded moded bootstrap-theme. I don't know why, but in database in table MODULE, db droped 'primary key' and 'auto increment' properties for 'id_module' field. So when I tried to add and install new module, this module appeared in db table field id_module with value 0. (I had 15 this rows!) I had to delete by SQL query rows which had duplicated 'id_module' field (this is invalid) and add prop: primary key, and auto increment for field 'id_module'. After that adding and installing module all OK.

Share this post


Link to post
Share on other sites
  • 0

Hi,

I come across same issue. I got the solution and want to share.

Some entries in database for the module creating this issue.

When I install same module on another prestashop instance with different database, I do not get this error.

So the problem was not in module.

 

Share this post


Link to post
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

×