Hi. Can't get it to work with latest quiz module.

Fatal error: Class 'GroupingQuestion' not found in ...\sites\all\modules\quiz\question_types\quiz_question\quiz_question.module on line 631

Comments

johnennew’s picture

StatusFileSize
new152.71 KB

Hi zeezhao,

I have refactored the grouping_question module. Do you think you could give it another go?

Kind regards,

John

johnennew’s picture

Assigned: Unassigned » johnennew
Priority: Normal » Major
Status: Active » Needs review

Needs review

zeezhao’s picture

Hi. I was not able to get it to work as, I had this issue:

- It installed correclty, but anytime I clicked to create "grouping question" via an existing quiz, it jumped to "node/add" page instead of opening creation form, and did nothing.

I suspect this is similar to the jquery_update issue experienced here:
http://drupal.org/node/1184614#comment-5289546

Fyi - I got the imagetarget question to work on this installation using jquery.ui 1.7. So maybe grouping_question needs to be updated accordingly.

eidt:
and on a clean installation without jquery_update, I still get
Fatal error: Class 'GroupingQuestion' not found in ...\sites\all\modules\quiz\question_types\quiz_question\quiz_question.module on line 631

johnennew’s picture

StatusFileSize
new152.54 KB

Hi zeezhao,

I wasn't able to replicate all the problems you were seeing. I wonder if the jumping to node/add was because i changed the name of the module from grouping to grouping_question. Can you try a clean install or uninstall old versions before adding the new version?

There are some other fixes in the attached release (or you can get latest code from git)

Kind regards, and many thanks,

John

zeezhao’s picture

Ok. Got latest D6 version from git. It works and looks good.

But I found that when I edited the question to correct an error, after already taken a quiz, I lost all the groups in the question.

edit:
fyi - the group information is still in the database tables though. So maybe issue with query?

johnennew’s picture

Version: » 6.x-4.3

I think this problem has been fixed. It had to do with the version number of the node changing but not updating the groups. Can you confirm latest D6 grouping question is now working for you now and I will close this issue.

Kind regards

John

johnennew’s picture

Status: Needs review » Closed (fixed)