There is a bug under the Responses tab (when you create a quiz), when i will to see the response who gave one user to my question, and i press the link view response (who try to send me to the page view-results)i get a white page with an error:

Fatal error: Call to undefined function theme_quiz_admin() in /Applications/XAMPP/xamppfiles/htdocs/barracuda.lms.ch/sites/all/modules/classroom/classroomquiz/classroomquiz.module on line 229

CommentFileSizeAuthor
#5 invalid-theme-function-name-1029850.patch875 bytesskh

Comments

GolDRoger’s picture

Someone can help me to fix this?

imobachgs’s picture

Assigned: Unassigned » manolopm

Hi,

manolopm, the main developer of classroomquiz module, told me that he could take a look at this issue by the weekend. But, first of all, what version of Quiz module are you using?

Thank you in advance!

Regards,
Imo

GolDRoger’s picture

Assigned: manolopm » Unassigned

I'm using the 6.x-4.0 version :)

thanks in advance for the precious help :)

manolopm’s picture

Ok I've tried this weekend with version 4.0 and, as you say, don't work.
We made the module with Quiz 3.
I want to try with the last Quiz 3 version again to see if all is working and then see if we can adapt it to 4.0.

Regards,

Manolo

skh’s picture

StatusFileSize
new875 bytes

I had this problem as well. The issue is that classroomquiz.module calls a theme function directly, instead of the proper theme() usage in lines 229 & 237.

They should read

'#value' => theme('quiz_admin',
and
'#value' => theme('quiz_get_user_results',

respectively.

Patch against 6.x-1.1 included.