Jump to content

Translation problem with OVH provider


Recommended Posts

When U try to edit a new translation on prestashop 1.5.4 I get this error

Warning! Your PHP configuration limits the maximum number of fields allowed in a form:

 

2000

for max_input_vars.

 

Please ask your hosting provider to increase the this limit to 2950 at least or edit the translation file manually.

 

 

I tried several workaround that I found on the forum but no one fixed the problem. If I change the .httacces I get Internal server error.

I tried also to contact my service provider (OVH recommended by prestashop team!) to ask them if they could increase the MAX_INPUT_VARS and they told me that they can't chance the php.ini for all cluster and I have to define it in the script php.

Where I have to define it? In which script?

Thank you

Link to comment
Share on other sites

maybe this article will help you: max input vars in prestashop

Thank you so much, I tried to change the .htacces but I got Internal server error. I also tried to ask to my ISP but they don't want to change the php.ini file for the all cluster. They answer me I have to define it in the script which needs an higher values of input_vars. But I don't know which is the right script for the modules translations.

Thank you for your help

Link to comment
Share on other sites

you can add this script for example in settings.inc.php located in /config/ directory

 

You hoster probably think about:

 

ini_set('max_input_vars', 3000);

 

but max_input_vars has a changeable mode of PHP_INI_PERDIR meaning it can't be changed using ini_set (only in php.ini, .htaccess or httpd.conf)

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