Jump to content

unable to change translation text-- error 403/404


asood

Recommended Posts

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

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

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

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

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

  • 2 weeks later...
  • 2 weeks later...

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

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...