Add Makes Posted July 31, 2014 Share Posted July 31, 2014 Hi, I am using prestashop 1.6 in my xampp when i go to localization > translation > type of translation-> installed module translation I get this warning ------------------------------------------- Warning! Your PHP configuration limits the maximum number of fields allowed in a form1000 for max_input_vars.Please ask your hosting provider to increase this limit to 2166 at least, or you will have to edit the translation files. ----------------------------------------- i chanded php.ini file max_input_vars=3000 and after that i restart xampp but still it shows same warning Link to comment Share on other sites More sharing options...
Sacha FROMENT Posted July 31, 2014 Share Posted July 31, 2014 Hello, Try to add this line into you .htaccess : php_value max_input_vars 3000 Best regards. 1 Link to comment Share on other sites More sharing options...
vekia Posted July 31, 2014 Share Posted July 31, 2014 Hi, I am using prestashop 1.6 in my xampp when i go to localization > translation > type of translation-> installed module translation I get this warning ------------------------------------------- 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 2166 at least, or you will have to edit the translation files. ----------------------------------------- i chanded php.ini file max_input_vars=3000 and after that i restart xampp but still it shows same warning there are several possibilities to fix it, in fact you mentioned that you use xampp do you know that xampp has got 3 php.ini files? change this entry in each of them! 1 Link to comment Share on other sites More sharing options...
Add Makes Posted July 31, 2014 Author Share Posted July 31, 2014 Hello, Try to add this line into you .htaccess : php_value max_input_vars 3000 Best regards. in prestahop folder i open .htaccess file but not found php_value max_input_vars Link to comment Share on other sites More sharing options...
Sacha FROMENT Posted July 31, 2014 Share Posted July 31, 2014 You need to add it yourself. 1 Link to comment Share on other sites More sharing options...
Add Makes Posted July 31, 2014 Author Share Posted July 31, 2014 there are several possibilities to fix it, in fact you mentioned that you use xampp do you know that xampp has got 3 php.ini files? change this entry in each of them! Hi Vekia, I changed all the three files( php.in, php.in-development, php.in- production) now warning is like :- ________________________ 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 5005 at least, or you will have to edit the translation files. ----------------------------------------------------- now limit exceed to 5005 Link to comment Share on other sites More sharing options...
herrmann2011 Posted October 10, 2014 Share Posted October 10, 2014 Hello, sorry for my bad english. I had the same problem and after changing the php.ini file in the root, still the same message. I found this tutorial in Portuguese that solved my issue. http://forum.hostgator.com.br/topic/942-como-aplicar-traducao-prestashop/ 1 Link to comment Share on other sites More sharing options...
El Patron Posted October 10, 2014 Share Posted October 10, 2014 Hello, sorry for my bad english. I had the same problem and after changing the php.ini file in the root, still the same message. I found this tutorial in Portuguese that solved my issue. http://forum.hostgator.com.br/topic/942-como-aplicar-traducao-prestashop/ thanks for sharing, working with php.ini can be frustrating to know if change actually is being reflected at runtime. use this free module to view your phpinfo as seen by PrestaShop. http://www.prestashop.com/forums/topic/278164-free-module-display-php-environment-phpinfo-back-office/ Link to comment Share on other sites More sharing options...
dakeweb Posted October 12, 2014 Share Posted October 12, 2014 Hello - I have this problem as well and am encountering another problem when editing my .htaccess.After adding the suggested line "php_value max_input_vars 3000" to .htaccess under the store's root directory I begin receiving an internal server error 500. I have added this at the very beginning of the file, the very end, and in numerous positions in between - all failing with the same symptom.Thank you in advance for any assistance. Link to comment Share on other sites More sharing options...
vekia Posted October 13, 2014 Share Posted October 13, 2014 Hello - I have this problem as well and am encountering another problem when editing my .htaccess. After adding the suggested line "php_value max_input_vars 3000" to .htaccess under the store's root directory I begin receiving an internal server error 500. I have added this at the very beginning of the file, the very end, and in numerous positions in between - all failing with the same symptom. Thank you in advance for any assistance. what about .php ini file ? have you got possibility to alter php environment settings in php.ini file? you see internal 500 because you probably haven't got possibility to define such commands in .htaccess file. Link to comment Share on other sites More sharing options...
dakeweb Posted October 13, 2014 Share Posted October 13, 2014 (edited) what about .php ini file ? have you got possibility to alter php environment settings in php.ini file? you see internal 500 because you probably haven't got possibility to define such commands in .htaccess file. Vekia, Thank you for your reply. This makes sense. I do not know where I would edit the php.ini file. I am hosted on cPanel with a hosting reseller package - so I have most, but not entire control of the environment. I am not even sure yet if I will be able to edit the php instance at that level I am not well experienced at this depth yet (but learning more every day). I recognize my trouble here is getting outside the scope of the Prestashop forum, however, so I will not cloud up this thread with troubleshooting that is off-topic. I will take the info you've given me here and try to figure out what direction to head. I will start by contacting my provider. Thank you again for your help! EDIT:: I talked to my provider and they pointed me to some procedures on editing the php configuration. My problem is solved thanks to you pointing me in the right direction. Thank you!! Edited October 13, 2014 by dakeweb (see edit history) Link to comment Share on other sites More sharing options...
cupids Posted December 24, 2014 Share Posted December 24, 2014 To Fix this error: Increase the max_input_vars in php.ini FTP in and copy file php.ini to hard drive. put this only: max_input_vars = 5020 Save and upload and put inside your admin folder : admin--- Worked for me. 1 Link to comment Share on other sites More sharing options...
Recommended Posts