Hi, I have a class(BA) of about 634 students and a class (BBA) of 48 students.
I can successfully enter marks in BBA but when I enter marks in BA it says “Your request was completed successfully” but the marks entered are not displayed.
Can you please check apache’s error.log?
[Tue Feb 23 11:53:14.399096 2021] [php7:warn] [pid 5864:tid 1860] [client ::1:52166] PHP Warning: Unknown: Input variables exceeded 1000. To increase the limit change max_input_vars in php.ini. in Unknown on line 0, referer: http://localhost/morung/index.php?q=/modules/Markbook/markbook_edit_data.php&gibbonCourseClassID=00000054&gibbonMarkbookColumnID=0000000051
[Tue Feb 23 11:53:14.439402 2021] [php7:notice] [pid 5864:tid 1860] [client ::1:52166] PHP Notice: Undefined index: count in C:\\xampp\\htdocs\\morung\\modules\\Markbook\\markbook_edit_dataProcess.php on line 63, referer: http://localhost/morung/index.php?q=/modules/Markbook/markbook_edit_data.php&gibbonCourseClassID=00000054&gibbonMarkbookColumnID=0000000051
[Tue Feb 23 11:53:14.439402 2021] [php7:notice] [pid 5864:tid 1860] [client ::1:52166] PHP Notice: Undefined index: completeDate in C:\\xampp\\htdocs\\morung\\modules\\Markbook\\markbook_edit_dataProcess.php on line 302, referer: http://localhost/morung/index.php?q=/modules/Markbook/markbook_edit_data.php&gibbonCourseClassID=00000054&gibbonMarkbookColumnID=0000000051
[Tue Feb 23 12:10:41.442556 2021] [php7:warn] [pid 5864:tid 1856] [client ::1:52527] PHP Warning: Unknown: Input variables exceeded 1000. To increase the limit change max_input_vars in php.ini. in Unknown on line 0, referer: http://localhost/morung/index.php?q=/modules/Markbook/markbook_edit_data.php&gibbonCourseClassID=00000054&gibbonMarkbookColumnID=0000000051
[Tue Feb 23 12:10:41.474559 2021] [php7:notice] [pid 5864:tid 1856] [client ::1:52527] PHP Notice: Undefined index: count in C:\\xampp\\htdocs\\morung\\modules\\Markbook\\markbook_edit_dataProcess.php on line 63, referer: http://localhost/morung/index.php?q=/modules/Markbook/markbook_edit_data.php&gibbonCourseClassID=00000054&gibbonMarkbookColumnID=0000000051
[Tue Feb 23 12:10:41.474559 2021] [php7:notice] [pid 5864:tid 1856] [client ::1:52527] PHP Notice: Undefined index: completeDate in C:\\xampp\\htdocs\\morung\\modules\\Markbook\\markbook_edit_dataProcess.php on line 302, referer: http://localhost/morung/index.php?q=/modules/Markbook/markbook_edit_data.php&gibbonCourseClassID=00000054&gibbonMarkbookColumnID=0000000051
Hi Meren, PHP has a variable called max_input_vars, which determines the number of fields than an interface (like the the Markbook) can contain. It looks like you are exceeding your server’s limit of 1,000. I’ve never seen this in the Markbook, but given the number of students in your group it makes sense.
How to update max_input_vars depends on your server setup, but it is done in a file called php.ini, or using .htaccess. If the former, then the web service will need to be restarted.
Let us know how you get on.
Ross
okay will try that. Thanks.
can I add the max_input_vars in gibbon .htaccess file?
if yes, which is the correct method.!
At the moment my gibbon .htaccess file looks like this:
<FilesMatch “\.(htaccess|htpasswd|ini|log|sh|inc|bak|sql)$”>
Order Allow,Deny
Deny from all
Yes you can! You should be able to just add a new line which includes:
php_value max_input_vars 10000
Some hosts might not allow some directives, but give it a go. You can go to Admin > System Admin > System Check to see if the value has been accepted.
Cheers,
Ross
Increased the value of max_input_vars inside cpanel and it worked…
Thanks a lot
Nice to hear : )
I like the Gibbon support you are showing with your avatar, but I think it risks confusing people into thinking that you are a member of the project team. Would you mind change it to something else? A photo of a cute Gibbon might be nice : D
Cheers,
Ross