Hi,
Thanks for moving on with Quiz!
With the module: Quiz Question I see the statement: This module requires PHP version 5.2.* and is incompatible with PHP version 5.1.6.
My hostingprovider is not intending to go to PHP 5.2

Is 5.2 really required please? May be there is 5.1.6 solution possible?
Thanks a lot in advance for considering this!
Greetings,
Martijn

Comments

summit’s picture

I think it is required...I tried without 5.2 and got:

PHP Fatal error: Class 'TrueFalseQuestion' not found in /sites/all/modules/quiz/quiz_question.module on line 407, referer: /admin/quiz 
sivaji_ganesh_jojodae’s picture

Hello Summit,

True or False questions type is still under development. You can achieve true/false questions using multi-choice question type.

--
Thanks
Sivaji

summit’s picture

Hi Sivaji, Thanks for the update, looking forward also to fill_in_the_blanks questions!

greetings,
Martijn

mbutcher’s picture

Issue tags: +autoload, +PHP 5.2, +truefalse

Martijn,

I am not sure if 5.2 is required at this point. For a while I was using some 5.2 features, but I don't think any of them are still there.

As to the error in #1, that might be related to a missing 'autoloader' module. Try installing http://drupal.org/project/autoload

The Quiz 3 module is using autoload to handle class loading. However, I might not have added that as a requirement to the info file.

And I've not forgotten about the question types. I'm pushing for multiple question type support very hard. True/False represents a big break-through. We now have a generic framework that makes adding new types a matter of writing a few hundred lines of code instead of a thousand.

If you get it running on 5.1, I will lower the flag in the .info file to say 5.x instead of 5.2.

Matt

summit’s picture

Hi Matt, I will test as you explained!

EDIT: I tested and no WSOD anymore only:

True/false question administration
There are no settings for this question type.   

on true/false link.

Thanks for the effort on all this!
greetings,
Martijn

mbutcher’s picture

Status: Active » Fixed

I believe this is all fixed, now.

Status: Fixed » Closed (fixed)

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

summit’s picture

http://drupal.org/node/417034#comment-1417096 still an issue on latest .dev.

greetings,
Martijn