Craze18 Posted November 12, 2014 Share Posted November 12, 2014 (edited) Hello guys.I am using cPanel and having a problem with php and the error is "Warning! Your PHP configuration limits the maximum number of fields allowed in a form: 1000 for max_input_vars.Please ask your hosting provider to increase this limit to 1952 at least, or you will have to edit the translation files. " My hosting provider made the php setting changes but the result remain same. Same error. Is there anyone who can show me some light? Any help on that issue will be highly anticipated. Thanking you. Edited November 12, 2014 by Craze18 (see edit history) Link to comment Share on other sites More sharing options...
musicmaster Posted November 12, 2014 Share Posted November 12, 2014 Did you check with phpinfo() whether the limit was really increased. And not just to 1952 but a couple more as you will get more texts with future releases and extra modules? Link to comment Share on other sites More sharing options...
mickeyboy1 Posted November 13, 2014 Share Posted November 13, 2014 I have the same issue in 1.6.0.9 on localhost If i try to choose anything other than Front-office translations in localization/translations then i also get this error I have my max_input_vars in php.ini set to 100000 Link to comment Share on other sites More sharing options...
google.al Posted November 22, 2014 Share Posted November 22, 2014 I have the same issue in 1.6.0.9 on localhost If i try to choose anything other than Front-office translations in localization/translations then i also get this error I have my max_input_vars in php.ini set to 100000 It is a script or htaccess on presta that changes that value for admin folder . Upload a phpinfo file at admin folder and look at the value of max_input_vars . 1 Link to comment Share on other sites More sharing options...
mickeyboy1 Posted November 22, 2014 Share Posted November 22, 2014 (edited) It is a script or htaccess on presta that changes that value for admin folder . Upload a phpinfo file at admin folder and look at the value of max_input_vars . Oh yes i can see that if i click on phpinfo on xampp then it is still set at 1000 Any ideas where to change this please ?? EDIT: i had changed the value in php.ini and also removed the ; before the statement. But i had left a blank space so it wasnt reading it If you remove the semi-colon then make sure there is no white space before start of code Edited November 22, 2014 by mickeyboy1 (see edit history) Link to comment Share on other sites More sharing options...
crystals-services Posted November 22, 2014 Share Posted November 22, 2014 hi try to use this process about your issue. 1- open your htacces witch is in your root installation prestashop 2- in the first line put this line: php_value max_input_vars 6000 Note that il you put size too weight you can't probably have that you need because your provider can make limit. regards, Link to comment Share on other sites More sharing options...
google.al Posted November 23, 2014 Share Posted November 23, 2014 Oh yes i can see that if i click on phpinfo on xampp then it is still set at 1000 Any ideas where to change this please ?? EDIT: i had changed the value in php.ini and also removed the ; before the statement. But i had left a blank space so it wasnt reading it If you remove the semi-colon then make sure there is no white space before start of code Try to upload the php.ini with the values you need at admin folder, it will work if your host allows you Link to comment Share on other sites More sharing options...
mickeyboy1 Posted November 23, 2014 Share Posted November 23, 2014 Try to upload the php.ini with the values you need at admin folder, it will work if your host allows you This is a test site i am running on localhost BUT since i removed the white space in front of max_input_vars its working fine Link to comment Share on other sites More sharing options...
Recommended Posts