When submitting a large quiz (more than 600 questions) an error occurred with the following message :
A required parameter (attempt) was missing
this is due to missing fields in $_POST.
Its size is imposed by the max_input_vars setting (1000 by default) in the php.ini file.
Steps to reproduce :
With a default php installation,
1. create a quiz with more than 600 questions
2. access the preview mode
3. click on "Quiz navigation > Finish attempt..." or on the "Check" button of any answer.
Result :
the error message above is displayed
What was expected :
either the submit process is correctly done (the better case)
or prevent the creator of a quiz to create a too large one.
- duplicates
-
MDL-41819 Grades lost when editing in the grader report due to max_input_vars
- Closed
- has been marked as being related by
-
MDL-34491 Large course won't backup due to POST limit
- Closed
-
MDL-26275 Large gradebook won't save changes due to POST size limit
- Closed
-
MDL-31706 grade form submission fails due to low/default PHP max_input_vars value
- Closed
-
MDL-35074 Ease limit on number of students per page in Grader Report imposed by max_input_vars
- Closed
-
MDL-37018 SCO with >100 interactions can trigger PHP max_input_vars error
- Closed
- will be (partly) resolved by
-
MDL-41451 Large forms are truncated by max_input_vars
- Closed