sbears Posted October 25, 2014 Share Posted October 25, 2014 Hi, I am getting the following error when I am trying to save module translations: ForbiddenYou don't have permission to access /shop/psAdmin/index.php on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. Any suggestions on what to check? Thanks Link to comment Share on other sites More sharing options...
prestashopninja Posted October 25, 2014 Share Posted October 25, 2014 Hi, You will probably need to rearrange the permissions. Usually 755 for the folders and 644 for the files. Link to comment Share on other sites More sharing options...
sbears Posted October 25, 2014 Author Share Posted October 25, 2014 (edited) I've checked the file and folder permissions. They are already at 755 for the folders and 644 for the files. Any other suggestions? I should add I'm using version 1.6.0.9 Edited October 25, 2014 by sbears (see edit history) Link to comment Share on other sites More sharing options...
El Patron Posted October 25, 2014 Share Posted October 25, 2014 let's try this, turn on PrestaShop error reporting http://www.prestashop.com/forums/topic/224525-how-to-turn-on-error-reporting-for-debug-information/ then retry, see if additional error information is presented Link to comment Share on other sites More sharing options...
sbears Posted October 25, 2014 Author Share Posted October 25, 2014 (edited) I checked an I already have error reporting on. I checked the webserver log and found this error: Oct 25 23:43:40 httpd[92054]: [error] [client 124.170.15.139] File does not exist: /home/********/public_html/403.shtml, referer: http://www.************/shop/psAdmin/index.php?tab=AdminTranslations&token=dd4057de965bb85db8a0fdfaca95aa46&type=modules&lang=en Edited January 12, 2015 by sbears (see edit history) Link to comment Share on other sites More sharing options...
El Patron Posted October 25, 2014 Share Posted October 25, 2014 check these posts, let us know if result is good and what you did http://www.prestashop.com/forums/topic/1639[spam-filter]solved-modules-translations-403404-error/ http://www.prestashop.com/forums/topic/94325-solved-unable-to-make-translations-error-403-admin1120indexphp-forbidden/ http://forge.prestashop.com/browse/PSCFV-7981 it would appear mod security is area to look at Link to comment Share on other sites More sharing options...
sbears Posted October 26, 2014 Author Share Posted October 26, 2014 Thanks for the feedback. I've logged a ticket with my website host. Disabling the Disable Apache's mod_security module in SEO's and URLs the back office didn't make a difference. 1 Link to comment Share on other sites More sharing options...
sbears Posted October 27, 2014 Author Share Posted October 27, 2014 My Website host have been able to resolve the issue by modifying mod security 1 Link to comment Share on other sites More sharing options...
Vali16 Posted February 27, 2016 Share Posted February 27, 2016 I had the same problem in PS 1.6.1.4, could not modify modules translations. I saw your solutions regarding mod security so I called my hosting provider. I was very happy with the simple solution given: - open module translations and open all fields - search inside translated fields for the text 'curl' - modify this text with same spaces. I wrote 'c u r l'. - save translations! And it worked, no more error for modifying translations! Good luck everyone! V. 1 Link to comment Share on other sites More sharing options...
spudgunn Posted July 15, 2016 Share Posted July 15, 2016 You dont need to contact your hosting provider: Go to Preferences>SEO&URLS and scroll down to disable Apache mod security "yes" Make your changes and then change it back to "No" otherwise you'll undermine your Prestashop security functions. 1 Link to comment Share on other sites More sharing options...
El Patron Posted July 16, 2016 Share Posted July 16, 2016 I've not actually seen where hosting will honor turning off mod security from back office but certainly worth a try. Link to comment Share on other sites More sharing options...
spudgunn Posted July 18, 2016 Share Posted July 18, 2016 Mine did mate and my host locks down A LOT. I feel like I call them all the time to modify everything. I also needed to turn off suhosin from PHP. Link to comment Share on other sites More sharing options...
elund Posted July 27, 2016 Share Posted July 27, 2016 You dont need to contact your hosting provider: Go to Preferences>SEO&URLS and scroll down to disable Apache mod security "yes" Make your changes and then change it back to "No" otherwise you'll undermine your Prestashop security functions. I tried to disable Apache's mod_security module in the BackOffice and it did NOT solve the issue, so I have to contact my hosting provider. Link to comment Share on other sites More sharing options...
spudgunn Posted July 27, 2016 Share Posted July 27, 2016 Try to turn off Suhosin from you PHP. You need to be at PHP v5.4 at a minimum though. Link to comment Share on other sites More sharing options...
elund Posted July 28, 2016 Share Posted July 28, 2016 Try to turn off Suhosin from you PHP. You need to be at PHP v5.4 at a minimum though. Thanks for your reply :-) But Suhosin was already turned off. The host provider disabled Apache's mod_security module and it helped. So I don't think disabling Apache's mod_security module through the backoffice had any impact in my case. Link to comment Share on other sites More sharing options...
KatsanKat Posted September 20, 2016 Share Posted September 20, 2016 Hi everyone ! I've just solved this problem on my side. I made some translation in french (i'm french) and then BOOM, 403 error just in the index. The other pages worked but not the index. I've tried to turn off and on the apache's security mod but nothing. But then, i've checked my FTP and there was an “fr” folder at the root of it (i don't know really why).So, when the url was “www.myWebsite.com/fr/“, it tried to check the folder and the error makes sense. (It apply to other languages obviously) I have renamed the folder and now it works ! I know this is not THE solution but i hope this will help someone Link to comment Share on other sites More sharing options...
Recommended Posts