wright-stationery Posted May 4, 2016 Share Posted May 4, 2016 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. Link to comment Share on other sites More sharing options...
vekia Posted May 4, 2016 Share Posted May 4, 2016 if you will back to modules > modules this module probably appears as a non-installed module, right? Link to comment Share on other sites More sharing options...
wright-stationery Posted May 4, 2016 Author Share Posted May 4, 2016 Yes, if I filter for Modules Not Installed it's there. But when I click on the install button I get the error I mentioned above. Link to comment Share on other sites More sharing options...
vekia Posted May 4, 2016 Share Posted May 4, 2016 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/ Link to comment Share on other sites More sharing options...
wright-stationery Posted May 6, 2016 Author Share Posted May 6, 2016 As I said the module is Google Analytics API. It came with Prestashop when I installed it. The version is v1.2.1 Link to comment Share on other sites More sharing options...
wright-stationery Posted May 16, 2016 Author Share Posted May 16, 2016 I am now getting it with the following module: 1-Click Upgrade v1.6.7 - by PrestaShop Link to comment Share on other sites More sharing options...
rolinb Posted June 16, 2016 Share Posted June 16, 2016 I just started getting this error too after updating a module... Any solution yet? Link to comment Share on other sites More sharing options...
dogrescuer Posted July 11, 2016 Share Posted July 11, 2016 Well, this is disappointing. If we can't even get out of the gate maybe this is not the software for us. "You do not have permission to configure this module." Link to comment Share on other sites More sharing options...
dogrescuer Posted July 11, 2016 Share Posted July 11, 2016 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. 1 Link to comment Share on other sites More sharing options...
just444 Posted July 12, 2016 Share Posted July 12, 2016 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 Link to comment Share on other sites More sharing options...
neekster Posted July 31, 2016 Share Posted July 31, 2016 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. Link to comment Share on other sites More sharing options...
dogrescuer Posted July 31, 2016 Share Posted July 31, 2016 I'm still looking for a cart that doesn't suck. Haven't found one yet. Link to comment Share on other sites More sharing options...
arthurhayy Posted November 14, 2016 Share Posted November 14, 2016 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. Link to comment Share on other sites More sharing options...
esmDanhost Posted March 1, 2017 Share Posted March 1, 2017 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); Link to comment Share on other sites More sharing options...
viz2y Posted July 20, 2017 Share Posted July 20, 2017 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. Link to comment Share on other sites More sharing options...
Zohaib-fk Posted October 26, 2017 Share Posted October 26, 2017 (edited) 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. PrestaShop Tutorials Videos [How to do Tasks] https://www.prestashop.com/forums/topic/907438-prestashop-tutorials-videos-how-to-do-tasks/ Edited June 30, 2021 by Zohaib-fk Post Updated (see edit history) Link to comment Share on other sites More sharing options...
Prestashop Addict Posted May 30, 2018 Share Posted May 30, 2018 We had the same issue on several installations. it was due to user/group file permissions. Modules has been modified by FTP user in root, and files and folders has wrong permission. Just reset to right user / group with command $chown -R user:group www/yoursite/modules/modulename That's it ;-) Link to comment Share on other sites More sharing options...
sbempire Posted September 3, 2018 Share Posted September 3, 2018 I lost access to all my modules, I can no longer configure them, with this error message " You are not authorized to configure a module" This issue started after I removed my ps-access table and replaced it with a clean ps-access DB as I had problem accessing my orders and stats menu. This action solved the issue I had with orders and stats menu, however, it caused issues to configure my modules In the images are more details of the issues. Please does somebody has any explanation for these errors? Thank you for your help in advance Link to comment Share on other sites More sharing options...
lullaby11 Posted December 12, 2018 Share Posted December 12, 2018 On 9/3/2018 at 6:09 PM, sbempire said: I lost access to all my modules, I can no longer configure them, with this error message " You are not authorized to configure a module" This issue started after I removed my ps-access table and replaced it with a clean ps-access DB as I had problem accessing my orders and stats menu. This action solved the issue I had with orders and stats menu, however, it caused issues to configure my modules In the images are more details of the issues. Please does somebody has any explanation for these errors? Thank you for your help in advance Did you find a solution for this? Im stuck at that point too Link to comment Share on other sites More sharing options...
dsoit Posted January 29, 2019 Share Posted January 29, 2019 if you have debug ON, your head off this option Link to comment Share on other sites More sharing options...
haunter Posted February 16, 2019 Share Posted February 16, 2019 (edited) Remove your module folder. Edited March 7, 2019 by haunter (see edit history) Link to comment Share on other sites More sharing options...
Danny Moreno Posted March 18, 2019 Share Posted March 18, 2019 (edited) Hi everyone, I was getting this error but I believe it might be a simple fix. At least it was for me. Change the owner and group of your site files and directories to the web server user and group respectively. If anyone needs help with this send me a message. sudo chown www-data:www-data /var/www/html -R -Best regards Edited March 18, 2019 by Danny Moreno (see edit history) Link to comment Share on other sites More sharing options...
Rynraf Posted June 1, 2019 Share Posted June 1, 2019 I had exactly the same problem. I checked folder permissions via ftp client, database keys at modules tables and inserted in tables values... Nothing helped. This solution works: https://www.prestashop.com/forums/topic/275511-solved-you-dont-have-access-to-configure-this-module/ It's enough to click "configrue" on module after sign in to back office on another administrator account. Just this! I don't know why but this workaround works. I found this topic while I was searching any solution - that's why I write this solution here, for next who will search Regards! Link to comment Share on other sites More sharing options...
musicmaster Posted June 2, 2019 Share Posted June 2, 2019 On 6/1/2019 at 1:11 PM, Rynraf said: I had exactly the same problem. I checked folder permissions via ftp client, database keys at modules tables and inserted in tables values... Nothing helped. This solution works: https://www.prestashop.com/forums/topic/275511-solved-you-dont-have-access-to-configure-this-module/ It's enough to click "configrue" on module after sign in to back office on another administrator account. Just this! I don't know why but this workaround works. I found this topic while I was searching any solution - that's why I write this solution here, for next who will search Regards! Sounds like the original admin had lost some rights somehow. By making a new one you once again had an admin with all rights. Link to comment Share on other sites More sharing options...
mikhsanh Posted July 14, 2019 Share Posted July 14, 2019 I had same problem too.In my case i was upgraded my prestashop from 1.6.1.0 to latest version 1.7.5, what am i did is drop tables ps_access and ps_authorization_role and export the two tables from prestashop latest version fresh installed. Hope this help Link to comment Share on other sites More sharing options...
ash-f Posted October 11, 2023 Share Posted October 11, 2023 Check the db tables. I found that this is caused by missing index of the db tables. All modules added become id=0 due to this. 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