anukku Posted June 21, 2018 Share Posted June 21, 2018 I have version PRestashop 1.7.3.3 and i can't get out of maintenance mode because every time i press save, i get a 403 error page: 403 Forbidden Access to this resource on the server is denied! I searched for PS_Shop_Enable and set the value to 1 from php my admin, but still the front end is in maintenance mode. Anyone has a clue on how to solve this? Link to comment Share on other sites More sharing options...
Rolige Posted June 21, 2018 Share Posted June 21, 2018 Check you file permissions, files should be at 0644, and folders to 0755 (this for most servers). 1 Link to comment Share on other sites More sharing options...
anukku Posted June 21, 2018 Author Share Posted June 21, 2018 (edited) Any particular folder i should look for? There are so many... The main folders and files have 755 and 644...but it;s a pain to go folder by folder and file by file to check.. Edited June 21, 2018 by anukku (see edit history) Link to comment Share on other sites More sharing options...
anukku Posted June 22, 2018 Author Share Posted June 22, 2018 After i disabled the caching, i can turn maintenance on/off from phpmyadmin, by switching between 1 and 0 in PS_enable_shop. But it would be nice to figure it out, why the hell i get 403 error when switching it froim backoffice... Link to comment Share on other sites More sharing options...
Inter Svetainė Posted October 4, 2021 Share Posted October 4, 2021 One of reasons why You get 403 error (LiteSpeed cache is on/off) is `mod_security`. Sometimes it reads AJAX requests as hack attack. Try to bypass it/turn off for a while to test does it creates these permission errors. 1 Link to comment Share on other sites More sharing options...
Inter Svetainė Posted February 22, 2023 Share Posted February 22, 2023 On 10/4/2021 at 8:32 PM, Inter Svetainė said: One of reasons why You get 403 error (LiteSpeed cache is on/off) is `mod_security`. Sometimes it reads AJAX requests as hack attack. Try to bypass it/turn off for a while to test does it creates these permission errors. Disable ModSecurity for Individual Domains Log into cPanel. Choose ModSecurity listed under Security. Select the domain you are working with and switch ModSecurity from On to Off. Wait for the pop-up telling you that ModSecurity has been disabled. 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