One of my staff am have completed activity. Each time they are trying to input the hours worked of 0.75 in their timesheet they receive the following error message. Please assist.
ERROR : Error - Maybe max_input_vars is too small in php.ini
in saveImputation.php
at line 39
Contact your administrator.
(detailed error is reported in log file)
When i log into their account on another computer i do not receive the error.
Hi,
Message is clear "Maybe max_input_vars is too small in php.ini"
The form has too much input fields to fit this parameter, because of too many lines.
Try and increase max_input_vars or reduce number on lines (close old activities)
But that does not explain why it works on a completely different computer without the error and on the laptop my staff member is using it has the error.
I have increased my max_input_vars in my php.ini to 10,000 and the error still occurs. Please help.
Did you restart PHP after change in php.ini ?
Yes I restarted the httpd service and the problem is still happening.
Same error in log file ?
NB : if you have suhosin, you must also increase
suhosin.post.max_vars
suhosin.request.max_vars
Updated the values of suhosin.post.max_vars
suhosin.request.max_vars
fixed the problem