asood Posted December 19, 2011 Share Posted December 19, 2011 If i go to module---> block contact---->translations---->> and edit some text i get this message Forbidden You don't have permission to access /ampro/admin2/index.php on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. whereas my above mentioned file has 777 permission Link to comment Share on other sites More sharing options...
phrasespot Posted December 20, 2011 Share Posted December 20, 2011 If i go to module---> block contact---->translations---->> and edit some text i get this message: Forbidden Nothing to do with folder permissions. You probably have mod_sec, or another mechanism, that limits the number arguments in a post request. Increase that limit to at least 4000. As of 1.4.6.2 the default install submits 3661 arguments in a translate post request, even if you only change one phrase. PrestaShop devs do not do things in small measures :/ Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. That is a different problem that is not related to PS but a bad setup on your server. When the web server tried to serve the "403 Forbidden" document it is configured to use in such situations it could not access/find it. Talk to your hosting company or web server admin. whereas my above mentioned file has 777 permission Bad idea. That means your folders are world [read everyone] writeable. Again, talk to your hosting company or web server admin for properly securing the installation Link to comment Share on other sites More sharing options...
asood Posted December 22, 2011 Author Share Posted December 22, 2011 Sir Same error "Forbidden You don't have permission to access /ampro/admin2/index.php on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request." i am recieving at times not always - when i add products details or images to my db through admin panel. that means there is something wrong with my security permissions of my file? or is it that my server is not responding properly? Link to comment Share on other sites More sharing options...
asood Posted December 26, 2011 Author Share Posted December 26, 2011 what is mod_sec? how do i edit it ? Link to comment Share on other sites More sharing options...
phrasespot Posted December 27, 2011 Share Posted December 27, 2011 what is mod_sec? If it is there, mod_sec is a part of your server setup, unrelated to PS. Seek advise from your hosting company re: if it is installed, if it is the reason (check logs) and how to edit/disable rules. You can point them to this thread. Here is the manual if you want to do it yourself, but I would advise against it if you did not even hear about it before. Also it may be not be mod_sec but for example Suhosin. Someone who knows about your server setup must look into it. Link to comment Share on other sites More sharing options...
asood Posted December 31, 2011 Author Share Posted December 31, 2011 Dear Sir I have spoken to my hosting provider he says i need to switch to virtual private server to avoid 403/404 errors. in fact for even doing updation for my products i am getting this error(if the text matter for product description is more than 15-20 lines). my ecommerce sight is just small starting sight do i need to buy vps for prestashop.. it will be too expensive for a start. Link to comment Share on other sites More sharing options...
shacker Posted January 12, 2012 Share Posted January 12, 2012 try adding a php.ini file int oyour prestashop installation (create with notepad) and put this code into the file post_max_size = 128M; you can put high values to check if works Link to comment Share on other sites More sharing options...
Mikas Posted January 26, 2012 Share Posted January 26, 2012 Hey guys, I have the same problem too! I'm trying to edit Finnish translation I installed automatically through the admin panel and I'm getting the 403 Forbidden error. I want to change some phrases in CMS block, fyi. HELP, because shacker's solution doesn't work! Link to comment Share on other sites More sharing options...
shacker Posted January 26, 2012 Share Posted January 26, 2012 check our free module debug in our store, to configure the memory limit, to a high value Link to comment Share on other sites More sharing options...
Mikas Posted January 28, 2012 Share Posted January 28, 2012 Still getting the 403 Forbidden error while translating, the debug module didn't help, I've even tried to raise memory limit to the maximum - nothing. Any other ideas? Link to comment Share on other sites More sharing options...
shacker Posted January 30, 2012 Share Posted January 30, 2012 check if you have a error log on your server to check (maybe is in your root folder) 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