hebi26 Posted October 8, 2023 Share Posted October 8, 2023 (edited) for the first time, i work on existent custom modules developed by old web developer on prestashop 1.6. My problem is about a custom module used to manage status for new publications. I work on two controllers class in /controller/admin who manage two admin views. I have done some modifications on second view controller without any problems (add / manage customs field on form or tab). But in the first admin controller who manage main view, as soon as I process to modification in postProcess() function, I have a "access denied" on the module view in backoffice. I've verified acces rights on tab and permissions/employees, access right on ftp files, i didn't see any problem. I am super admin. Is there something to do after modifying custom module file to access to its view in backoffice ? This module has many tabs / views and others don't have this issue. It's the first time i work on existent custom modules, and i didn't find anything on documentation or others posts. Please help me, any advises are welcome. I didn't change any .tpl files. Just the custom module/controller/admin file. I try to clear cache manually. When I put back the old controller file, everything work fine. I verify access / permissions / roles on BDD for module tabs and everything is ok. EDIT : issue doesn't occurs on another server containing same file for another website. (same project architecture) I think the problem is based on server settings or WAF. EDIT 2 : After resolve WAF settings, my php file displaying in plain text. My web hosting has confirmed everything is fine in apache conf. Edited October 10, 2023 by hebi26 (see edit history) 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