I have used the Publishing option with several versions of Moodle, but I can't get it to work on the new server running Moodle 3.1.2.
Instead of downloading the course gradebook, I get this error message: "A required parameter (itemids) was missing".
I'm talking about the grade export function that requires you to Enable Publishing in Site Administration / Grades / General Settings, then, with the gradebook open, choose Export Plain Text, create a user key, and export. It produces a long URL that, on other servers, downloads the gradebook when you click it. This is a highly useful function that enables me to download 40+ gradebooks by opening one folder of urls.
I speculate that this problem is caused by a setting on the new server I am using (linux). Does anybody have any idea where I should start looking? Here's what the debugging shows:
Error code: missingparam
- line 496 of /lib/setuplib.php: moodle_exception thrown
- line 552 of /lib/moodlelib.php: call to print_error()
- line 24 of /grade/export/txt/dump.php: call to required_param()
I'll continue testing and report if I find anything.