Puriom Posted May 2, 2013 Share Posted May 2, 2013 (edited) Hello! After upgrading to 1.5.4.1 (everything was working fine before with 1.5.4.0 0 1-click update) I get the following message, when I try edit installed modules translation (not at the front office trans.): Warning: Your hosting provider is using the suhosin patch for PHP, which limits the maximum number of fields allowed in a form: 5120 for suhosin.post.max_vars. 5120 for suhosin.request.max_vars. Please ask your hosting provider to increase the suhosin limit to 11542 at least or edit the translation file manually. My hosting company refuses to change it, as the told me, for security reasons. (It's already at 5000) Apparently there is a bug. Any idea? Thank you in advance Edited May 24, 2013 by Puriom (see edit history) Link to comment Share on other sites More sharing options...
Rhapsody Posted May 2, 2013 Share Posted May 2, 2013 Try deleting some of the modules that you don't use to reduce the number of fields. You can edit your php.ini file with the following, if your host allows a local php.ini file - you can ask the host if they allow a local file. ; updates max_input_vars for Prestashop translation field editing max_input_vars = 6000 suhosin.post.max_vars = 6000 suhosin.request.max_vars = 6000 Link to comment Share on other sites More sharing options...
Puriom Posted May 2, 2013 Author Share Posted May 2, 2013 (edited) You can edit your php.ini file with the following, if your host allows a local php.ini file - you can ask the host if they allow a local file. ; updates max_input_vars for Prestashop translation field editing max_input_vars = 6000 suhosin.post.max_vars = 6000 suhosin.request.max_vars = 6000 THANK SO MUCH FOR THE ANSWER (because it's really urgent for be on air in 2 days. Could you PLEASE (please) tell me how to do this? Thanks once again. Edited May 2, 2013 by Puriom (see edit history) Link to comment Share on other sites More sharing options...
Rhapsody Posted May 2, 2013 Share Posted May 2, 2013 Did you check if the hosting company allows it? Does the host have a support forum or knowledge base you can search? Link to comment Share on other sites More sharing options...
Puriom Posted May 2, 2013 Author Share Posted May 2, 2013 They said the 5000 is their limit. Link to comment Share on other sites More sharing options...
Puriom Posted May 2, 2013 Author Share Posted May 2, 2013 They just increased it to 6000, but still the same Warning: Your hosting provider is using the suhosin patch for PHP, which limits the maximum number of fields allowed in a form: 6000 for suhosin.post.max_vars. 6000 for suhosin.request.max_vars. Please ask your hosting provider to increase the suhosin limit to 11437 at least or edit the translation file manually. Link to comment Share on other sites More sharing options...
Puriom Posted May 2, 2013 Author Share Posted May 2, 2013 Any idea (except wamp) how can I change translations manualy? (Should I start a new topic?) Link to comment Share on other sites More sharing options...
vekia Posted May 2, 2013 Share Posted May 2, 2013 hello you've got information that you need: Please ask your hosting provider to increase the suhosin limit to 11437 at least or edit the translation file manually. at least 11437 usually it is better to increase it much more. more about this issue you can read here: max_input_vars in prestashop, what now? Link to comment Share on other sites More sharing options...
Puriom Posted May 2, 2013 Author Share Posted May 2, 2013 Τhank you. My hosting provider DENIES that number, and I cannot use wamp (I'm just a user). Can I edit it otherwise (p.e notepad)? PLEASE help! (I don't want to quit PS) Link to comment Share on other sites More sharing options...
vekia Posted May 2, 2013 Share Posted May 2, 2013 without changing the value of max_input_vars variable, unfortunately it won't work. This isn't bug in prestashop, but it all depends on hosting configuration... Link to comment Share on other sites More sharing options...
Puriom Posted May 2, 2013 Author Share Posted May 2, 2013 Thank you! Link to comment Share on other sites More sharing options...
Rhapsody Posted May 2, 2013 Share Posted May 2, 2013 Puriom - you didn't answer the question if the host allows editing of a local php.ini file. The link Vekia provides has a good tutorial on the changes that can be made. If the host has a knowledge base or support forum, you can check there. Who is your host? 1 Link to comment Share on other sites More sharing options...
vekia Posted May 2, 2013 Share Posted May 2, 2013 Puriom - you didn't answer the question if the host allows editing of a local php.ini file. The link Vekia provides has a good tutorial on the changes that can be made. If the host has a knowledge base or support forum, you can check there. Who is your host? exactly, the most important question without an answer let us know Puriom Link to comment Share on other sites More sharing options...
Puriom Posted May 2, 2013 Author Share Posted May 2, 2013 (edited) Hello! I copy-pasted your messages, I didn't have any positive answer. I'll insist. Thanks for the suggestion. | My host company is www.papaki.gr Edited May 2, 2013 by Puriom (see edit history) Link to comment Share on other sites More sharing options...
Puriom Posted May 3, 2013 Author Share Posted May 3, 2013 Hello! My hosting provider told me that I cannot have a php.ini. But they told me to inform them about the changes and they'll do them for me. Does anybody know what they should be? Thanks for any kind help!! Link to comment Share on other sites More sharing options...
vekia Posted May 4, 2013 Share Posted May 4, 2013 So they finally increase those values for you? If so, you can check now translations feature Link to comment Share on other sites More sharing options...
Puriom Posted May 4, 2013 Author Share Posted May 4, 2013 They increased to 6000, but it didn't work. They don't allow local php.ini, So they asked me to tell them, which changes I want to have to this file, and they'll do them for me. BUT, what those changes should be, as 6000 vars is not enough???????????? Link to comment Share on other sites More sharing options...
vekia Posted May 4, 2013 Share Posted May 4, 2013 Please ask your hosting provider to increase the suhosin limit to 11542 at least or edit the translation file manually. you need at least 11542 so it's better to set this value to ~12000 Link to comment Share on other sites More sharing options...
Puriom Posted May 14, 2013 Author Share Posted May 14, 2013 Hello! News for the SUHOSIN php patch: ALL HOSTING COMPANIES (in Greece) I've contacted said that the only way to increase this vars to 12000 is to have a special dedicated server, and that this vars is an extreme risk and compromises security. I'll try to roll back to an older version, to find a company abroad, or I'll have to quit PS. Thank you everyone for your kind help Link to comment Share on other sites More sharing options...
vekia Posted May 14, 2013 Share Posted May 14, 2013 In my opinion it isn't risk... You can also remove all unused modules (remove, not uninstall / disable) Link to comment Share on other sites More sharing options...
Kat84 Posted May 18, 2013 Share Posted May 18, 2013 I have the same problem, my hosting service refuses to adjust the Suhosin values (they have theirs valued on 1000) and I can't find a php.ini file on my ftp that I can adjust. Is there another way to solve this? I bought a theme which is in English and I need to translate everything in Dutch. Link to comment Share on other sites More sharing options...
vekia Posted May 18, 2013 Share Posted May 18, 2013 I have the same problem, my hosting service refuses to adjust the Suhosin values (they have theirs valued on 1000) and I can't find a php.ini file on my ftp that I can adjust. Is there another way to solve this? I bought a theme which is in English and I need to translate everything in Dutch. maybe try to install prestashop on localhost? Translate it there and then upload all files to your FTP ? Link to comment Share on other sites More sharing options...
Kat84 Posted May 18, 2013 Share Posted May 18, 2013 Maybe it's a stupid question, but.... what is localhost? Link to comment Share on other sites More sharing options...
vekia Posted May 18, 2013 Share Posted May 18, 2013 You can use own computer to create translations. This is great idea, because you can always test new features on your computer (not on official working store in the internet) If you're interested in this, you should read this tutorial: http://www.prestashop.com/forums/topic/215562-installing-prestashop-on-your-local-machine-tutorial/ 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