When trying to add questions using any of the new question types (matching, long answer, short answer) I get an error saying :

Fatal error: Class 'LongAnswerQuestion' not found in ../sites/all/modules/quiz/question_types/quiz_question/quiz_question.module on line 441

(The class changes with each type).

using php 5.2.9
MySql 5.1.30

CommentFileSizeAuthor
#3 quiz-erros.jpg197.49 KBschefz
#3 quiz-erros-2.jpg52.13 KBschefz
#2 Picture 1.png145.23 KBschefz
#2 Picture 2.png139.89 KBschefz
#2 Picture 3.png139.14 KBschefz

Comments

sivaji_ganesh_jojodae’s picture

Status: Active » Postponed (maintainer needs more info)

I tried to reproduce the same error in my localhost on a fresh drupal installation with quiz 6.x-3.0 could not succeed it work pretty fine for me. Are you sure is it quiz 6.x-3.0 ? Can you attach a snaphost ? Is it a fresh installation or upgraded version ?

schefz’s picture

StatusFileSize
new139.14 KB
new139.89 KB
new145.23 KB

Its an upgraded version

schefz’s picture

Status: Postponed (maintainer needs more info) » Active
StatusFileSize
new52.13 KB
new197.49 KB

Here are some other error screenshots that popped up when i went to matching administration. What other information is needed to help troubleshoot this issue?

sivaji_ganesh_jojodae’s picture

Thanks for the snapshot. Your snapshot has no clue of error message posted in this issue.

Fatal error: Class 'LongAnswerQuestion' not found in ../sites/all/modules/quiz/question_types/quiz_question/quiz_question.module on line 441

Can i assume that you have no problem in creating new questions now ?

Indeed #3 matching administration form had some issue refer #517602: deprecated use of form array in matching administration page

FYI these bugs were fixed in quiz 4.x.alpha, I would recommend you to upgrade.

sivaji_ganesh_jojodae’s picture

Status: Active » Fixed

question types not found error is because of autoload cache and cannot use scalar value as an array error is because of incorrect use of FAPI. These issues were already fixed and hence marking this as fixed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.