Jump to content

Max_input_vars error in translation, not solved by changing php.ini


Recommended Posts

Hi everyone, 

I have an issue I can't solve. Reading the documentation online, I've understood that the error "WARNING, PHP settings limit the maximum number of fields to send in a form: Max_input_vars 1000.

Please check with your hosting provider to increase the limit of 2905 at least or edit the translation file manually." Could be solved by changing the max_input_vars value in php.ini to 10000 or higher value. 

Even if my php.ini seems effectively modified from the administration panel of my provider, I continue to get the same error in Prestashop. 

I'm running the 1.6.1.5 version, using a template bought on themeforest. 

The shop is under construction, and it's installed in a subfolder: i.e., nameoftheshop.domain.it; it's in maintenance mode, I've only allowed my ip to always access the website. 

 

 

Thanks a lot for your kind help 

 

Caterina from Florence, Italy 

 

post-1257091-0-07589800-1464025273_thumb.pngpost-1257091-0-56208500-1464025274_thumb.png

Link to comment
Share on other sites

It depends, if you are using suhosin or not, than this entry could be differ. You asked your provider ? What is he saying ? Perhaps you need to adapt also suhosin values.

 

Check the values with info.php. Sometimes you are able to change the values on cPanel, but they don't apply due to server restrictions set by your provider. Add a file called php.info to public_html folder with this content

<?php phpinfo(); ?>

and read the server configuration by typing www.yoursitename.com/info.php

Link to comment
Share on other sites

Thank you! I followed your instructions, and here it is the result...really, there must be some misconfiguration in the webserver, because the reports are quite different! In Cpanel I see a 10000 value, in the info.php report I see a 1000 value! 

Can you confirm that this is a misconfiguration due to the provider? That's why they said that it was my fault!  :angry:

 

http://www.caterinacirri.it/phpinfo()print.pdf

http://www.caterinacirri.it/cpanel.png

 

Caterina

Edited by kateclouds (see edit history)
Link to comment
Share on other sites

use this free module to see phpinfo from back office, else you will  not know what values are as set at ps runtime

https://www.prestashop.com/forums/topic/278164-free-module-display-php-environment-phpinfo-back-office/

 

on your phpinfo, it shows 1000...with module or 'other' phpinfo, you can find path to php.ini, but as select.at stated, it may not be honored by hosting, i.e. ignored.  Then you should contact your hosting company for help.

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