-
Bug
-
Resolution: Fixed
-
Minor
-
2.4.6, 2.5.2, 2.6
-
MOODLE_24_STABLE, MOODLE_25_STABLE, MOODLE_26_STABLE
-
MOODLE_24_STABLE, MOODLE_25_STABLE
-
MDL-41451_master -
Large forms (Grader report, backup/restore, quizzes, etc.) are truncated by PHP 5.3.9 and above. Some forms have been adjusted to work around the limit in PHP 5.3.9, as it was applied only to each nesting level of an array - but PHP 5.4 applies max_input_vars as a hard limit on the number of fields it will process.
The limit can be bypassed by parsing the POST body (php://input) in chunks using parse_str() (chunks necessitated by parse_str's adherence to max_input_vars). This does not work for forms submitted using the "multipart/form-data" enctype, but the main culprits don't use it anyway as uploads should all be done using file manager or file picker fields rather than done inline with regular HTML file input fields.
- has been marked as being related by
-
MDL-41819 Grades lost when editing in the grader report due to max_input_vars
- Closed
- will help resolve
-
MDL-34491 Large course won't backup due to POST limit
- Closed
-
CONTRIB-4302 Editing the progress bar in large courses.
- Closed
-
MDL-40614 Large quiz won't submit due to PHP max_input_vars value
- Closed
-
MDL-41103 Forms: Detect problem with PHP max_input_vars
- Closed