stoo_s Posted June 5, 2015 Share Posted June 5, 2015 I'm trying to access the Installed Module Translation section in the back office but am receiving the following error: Warning! Your PHP configuration limits the maximum number of fields allowed in a form2000 for max_input_vars.Please ask your hosting provider to increase this limit to 2854 at least, or you will have to edit the translation files. My host provider has increased the limit to 5000 but i'm still receiving the same error. I've refreshed the cache, etc and have also tried adding code to the .htaccess file as suggested in several other posts, but all to no avail. Am I missing something? Link to comment Share on other sites More sharing options...
FastComet Posted June 6, 2015 Share Posted June 6, 2015 Hello there, We have experienced this issue in the beginning when our customers were installing Prestashop and it happens to be an environment configuration related to the php service.In other words Prestashop does not have any hardcoded values for the max_input_vars and you need to indeed contact your web hosting provider so they can check what is causing this. Typically is some sort of php.ini or .htaccess file placed outside the public_html (or whatever the name of the public folder for your service is). Another option you can consider is just to check if the environment is configured properly by placing a single phpinfo.php file containing the following code: <?php phpinfo(); ?> Next if you access that file you will need to use the search tool of your browser and search for the "max_input_vars" variable so you can check its value. If the value is smaller than you have configured, then you need to contact your hosting provider and ask them to change that for you as we do for our clients. Link to comment Share on other sites More sharing options...
tdr170 Posted June 6, 2015 Share Posted June 6, 2015 This is part of the PHP.ini file depending on PHP version you will need to edit the file and update the max_vars or add it to the .ini file most of us change this to 10000 just to be sure. Depending on your host the PHP.ini file can be found in your control panel or possibly in the root of your files. You can add this to the .ini file if you do not find it at all in the file. ; How many GET/POST/COOKIE input variables may be accepted max_input_vars = 10000 Or you can create a text file and place this inside, then rename to php.ini or php5.ini (depends on host try both) and upload to root of shop files. ; How many GET/POST/COOKIE input variables may be accepted max_input_vars = 10000 Also as FastComet suggets create a text file place <?php phpinfo(); ?> inside rename to phpinfo.php upload to root then access by going to www.yourdomain.com/phpinfo.php, scroll through the page that comes up and check for the max_vars fileld. Link to comment Share on other sites More sharing options...
stoo_s Posted June 7, 2015 Author Share Posted June 7, 2015 Thanks for the replies folks. Luckily it seems to be working now without having done anything. Not sure what happened as I cleared the cache etc, but it's working now anyway. Hopefully your advice will help someone else though. 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