jhoopes / moodle-mod_activequiz

Update to the realtimequiz module, but renamed as a totally new module
6 stars 15 forks source link

This does not work with Moodle 3.2 #45

Open charliedaly opened 7 years ago

charliedaly commented 7 years ago

I know it's not advertised as working with version 3.2, but I might as well let you know anyway. Many parts do work. It is possible to add and create questions. Students can access the questions and respond to them and the results are stored in the gradebook. However, it doesn't seem to be possible to save the settings for the active quiz (e.g. default time and the review options).

When one attempts to save the settings, there is an erorr such as:

Debug info: Out of range value for column 'defaultquestiontime' at row 1 UPDATE mdl_activequiz SET name = ?,defaultquestiontime = ?,waitforquestiontime = ?,graded = ?,scale = ?,grademethod = ?,workedingroups = ?,groupattendance = ?,course = ?,intro = ?,introformat = ?,timemodified = ?,reviewoptions = ? WHERE id=? [array ( 0 => 'TGain', 1 => 2592000.0, 2 => 432000.0, 3 => '1', 4 => 10, 5 => '1', 6 => '0', 7 => 0, 8 => '18', 9 => '', 10 => '1', 11 => 1483473821, 12 => '{"after":{"attempt":"1","correctness":"1","marks":"1","specificfeedback":"1","generalfeedback":"1","rightanswer":"1","manualcomment":"1"}}', 13 => '3', )] Error code: dmlwriteexception

jhoopes commented 7 years ago

Hi There.

I apologize for not responding, and for being "quiet" on here for a very long time.
Can you elaborate on your error? I just tried this with the latest Moodle 32, and everything seems to be working on it.

Thanks,

charliedaly commented 7 years ago

Hello.

I have uninstalled active quiz and so can't reproduce it now. My memory is that everything worked until I tried to change the settings and then it generated the above error message. I'm sorry that I can't be more specific.

When I get time, I will have another go at installing it and will let you know how I get on.

Charlie

cdaly2 commented 7 years ago

Hello again. I'm starting to use activequiz again. It seems to work well, but when I try to modify the review settings they don't change. The error message I am getting is: Notice: Undefined index: pageurl in /var/www/html/moodle/mod/activequiz/classes/activequiz.php on line 335

I am using moodle version 3.3.1+ (Build: 20170907) and active quiz version 2017010400