Jump to content

Translations - forbidden error when updating


Recommended Posts

Hiya,

when trying to change a few translations (en language, but error happens with all), when clicking update i get "403 Forbidden -
You do not have permission to access this document. " page,

am i missing something with permissions or perhaps not setting the correct folder,
i've checked the translations folder and tried it with all files/folders at 777 but still no joy

Thanks

Link to comment
Share on other sites

sorted it, modsecurity blocking it

if you have access to a webserver:

vi /etc/httpd/modsecurity.d/modsecurity_localrules.conf



Add:

SecRule REQUEST_FILENAME "/adminFOLDERNAMEHERE/*" \
"allow,phase:1,nolog,ctl:ruleEngine=Off"


(adminFOLDERNAMEHERE is the admin folder name of your site)

you should really use the full local server address in here, but if you use a few prestashop sites with the same admin folder name then this way would be much easier,

this should also fix any "501 Not Implemented" that occur when doing anything within admin if you have modsecurity enabled,

another option that might work for you is to add this to your .htaccess file in admin

SecFilterEngine Off
SecFilterScanPOST Off



but i think this depends on which version of modsecurity you have and didn't work for me

Link to comment
Share on other sites

  • 10 months later...

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
×
×
  • Create New...