I get an error at Imputation.
And when I checked the log file I found that there is an error in tool/saveimputation.php
I change the value of max_input_vars but it doesn't work.
What is the error logged ?
The error is : cause = Undefined index: workValue_6
the line 42 of the file saveimputation.php
This is typically the kind of error due to incorrect max_input_vars.
I guess you already fixed the problem :
http://projectorria.toolware.fr/index.php/forum/5-ask-questions/2957-error-with-inpultation#2959
Maybe your fixed was removed (or not duplicated on new environment), or you have to increase max value.
php_value max_input_vars 3000 php_value suhosin.post.max_vars 3000 php_value suhosin.request.max_vars 3000
Advice : implement this fix directly in php.ini of your PHP server. You will possibly avoid reproducing on new instances...
I put:
php_value max_input_vars 4000
php_value suhosin.post.max_vars 4000
php_value suhosin.request.max_vars 4000
But it doesn't work.
Did you change it in local php.ini (in folder /tool) or directly in php;ini of PHP server ?
There may be a change in your php configuration that forbits now to overwrite defaut configuration with local php.ini files.
Maybe you could try wih a .htaccess file.
Hi Babynus,
I have the same problem.
I've already changed the
php_value max_input_vars 3000 in php.ini on the server and I have alwys this problem for some ressources.
What do you suggest ?
Thanks,
SDE
Try also to change the suhosin vars :
php_value max_input_vars 4000
php_value suhosin.post.max_vars 4000
php_value suhosin.request.max_vars 4000
I did it but I always have this problem.
It seems it works for some ressources but I have the problem with one.
The log file is:
2014-01-21 10:05:30 ===== TRACE ===== WARNING - Left work not retrieved from screen
2014-01-21 10:05:30 ===== TRACE ===== - Maybe max_input_vars is too small in php.ini
2014-01-21 10:05:30 ===== TRACE ===== - Assignment #1731 on Activity #269 for resource #17
2014-01-21 10:05:30 ** ERROR ** ERROR **
2014-01-21 10:05:30 ** ERROR ** on file 'C:Apache2htdocsprojectorriatoolsaveImputation.php' at line (59)
2014-01-21 10:05:30 ** ERROR ***** cause = Error - Maybe max_input_vars is too small in php.ini
What do you suggest ? Thanks,
SDE
hi,
Where did you change values and how did you do it.
The exemple provided is defined to be in a .htaccess file :
php_value max_input_vars 4000
php_value suhosin.post.max_vars 4000
php_value suhosin.request.max_vars 4000
But then your apache confifiguration must allow .htaccesss changes :
AllowOverride All
Or directly in PHP.ini, but syntax is a bit different :
max_input_vars = 4000
suhosin.post.max_vars = 4000
suhosin.request.max_vars =4000
I did it directly in the PHP.ini with the synthax you propose.
But it seems we have the problem only for one user...
But it seems we have the problem only for one user...
This confirms it is a max_input_vars issue : only users with many lines face the issue.
If you rediuce number of line (active assignments) for this user, issue will disapear...
Are you sure your restarted PHP after change in PHP.ini ?
Can you try a phpinfo() (exemple in joined file) to check that your change is taken into account ?