Aart95 Posted April 24, 2016 Share Posted April 24, 2016 Like many others I'm getting an error about the max_input_vars which says I need to increase the max_input_vars I noticed this is a very common problem and read several topics on how to fix them but nothing worked as of yet I contacted my hosting but even they can't manage to fix it (it's been over a week chatting with support daily) I've added a php.ini file with the following content to my root folder: max_input_vars=5000 My inf.php says max_input_vars is actually 5000, yet I'm still receiving the error in my BO My hosting company send me this screenshot: http://screenshot.ru...edab8ef5b974ea2 And told me: "You can try check the code of your cms it is possible that error is in it ." Thanks Link to comment Share on other sites More sharing options...
El Patron Posted April 24, 2016 Share Posted April 24, 2016 You can use this free module to see php.ini values at 'runtime' of ps. https://www.prestashop.com/forums/topic/278164-free-module-display-php-environment-phpinfo-back-office/ Link to comment Share on other sites More sharing options...
kevkev03 Posted April 25, 2016 Share Posted April 25, 2016 open your .htaccess file and add php_value max_input_vars 4000 on the top, it works for me Link to comment Share on other sites More sharing options...
Aart95 Posted April 25, 2016 Author Share Posted April 25, 2016 open your .htaccess file and add php_value max_input_vars 4000 on the top, it works for me whenever I do this I´m receiving an error in my BO and FO and can't access them anymore Link to comment Share on other sites More sharing options...
Aart95 Posted April 25, 2016 Author Share Posted April 25, 2016 You can use this free module to see php.ini values at 'runtime' of ps. https://www.prestashop.com/forums/topic/278164-free-module-display-php-environment-phpinfo-back-office/ Thanks. max_input_vars still seems to be 1000 meaning ps isn't responding to the ini.php Link to comment Share on other sites More sharing options...
musicmaster Posted April 25, 2016 Share Posted April 25, 2016 Often there is more than one php.ini file and it may take some effort to find out which one is the right one. Also watch that you have uncommented max_input_vars in the file. PHP has the phpinfo() command with which you can see all its settings including max_input_vars. Link to comment Share on other sites More sharing options...
El Patron Posted April 25, 2016 Share Posted April 25, 2016 as musicmaster pointed out, where the php.ini is being served 'from' is critical, the module will tell you where php.ini is served from. It's important to note that some hosting will override values in php.ini, i.e. it would not matter if you change value or not. 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