Dear Jean-Pierre,
please could you send the jqz file across to me at:
gordon at-sign kanazawa hyphen ac dot jp
I would like to investigate the cause of the problem
many thanks!
Gordon
Hi Jean-Pierre,
thanks for sending over the jqz file. I got the same error mesasge, in all its glory:
Notice: Undefined property: stdClass::$usecase in C:\ApacheFriends\xampp\htdocs\moodle\fontana\mod\quiz\questiontypes\shortanswer\questiontype.php on line 85
Column 'usecase' cannot be null
INSERT INTO mdl_quiz_shortanswer ( QUESTION, ANSWERS, USECASE ) VALUES ( 8, '8', null )
Could not insert quiz shortanswer options!
Error occurred during processing!
The problem was that the script which imports Hotpot quizzes into the standard Moodle quiz module did not set 'usecase' for JQuiz and JMatch quizzes. I modified the script and it seems to work now.
For your convenience, I have attached the modified import script to this message. Please download it, unzip it and put it in the following location on your Moodle site:
mod/quiz/format/hotpot/format.php
Please let me know how you get on
all the best!
Gordon
Thanks!