Mehdib92 11 Posted December 17, 2013 Hi, I'm developing a module and when I wanted to install it, I had an message Module(s) installed successfully. and under the message, I have the error You do not have permission to configure this module. So I changed the user from SuperAdmin to Admin and whien i try to install the module, I have the following error : No access reference in table module_access for id_module .at line 1814 in file classes/module/Module.php. I don't really understand where the error come from... Thanks Share this post Link to post Share on other sites
vekia 8,950 Posted December 17, 2013 can you share contents of your module file? it's hard to help without an access to the code Share this post Link to post Share on other sites
PascalVG 723 Posted December 17, 2013 Do you try to go directly from the install function to a configuration screen? If so: Seems that the installation goes OK, but that moving to the configuration goes too early for the admin test procedure, as if the module is not 'Okay-ed' for the superuser yet at this point. Maybe make it two steps. First just install, then click on configure in the module list, and see if that works. If this is not it, then, as Vekia suggested, showing some code would indeed help here... My 2 cents, pascal. 1 Share this post Link to post Share on other sites
Mehdib92 11 Posted December 17, 2013 (edited) Ok I just found the solution... In the function install(), I added the table creation but I didn't add the function parent::install()... Edited December 17, 2013 by Mehdib92 (see edit history) 2 Share this post Link to post Share on other sites
Mehdib92 11 Posted December 17, 2013 (edited) Solved Edited December 17, 2013 by Mehdib92 (see edit history) Share this post Link to post Share on other sites
vekia 8,950 Posted December 17, 2013 hello thank you for information where the problem was and how you solved it it will be helpful for other developers with similar problems i marked whole topic as [solved] with regards, Milos 1 Share this post Link to post Share on other sites