Active
Project:
Quiz EI
Version:
6.x-4.0-alpha1
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
28 Jun 2010 at 02:31 UTC
Updated:
1 Sep 2011 at 16:03 UTC
I get this error message when I tried to import in GIFT format.
( ! ) Fatal error: Class 'qformat_gift' not found in /home/bong/webdev/mydrupal/sites/all/modules/quiz_ei/questions_import/questions_import.admin.inc on line 312
This file was impoted sucessfully with Quiz 6.x-4.0-beta6. How do i solve this problem?
Comments
Comment #1
patator commentedThe same problem ...
Fatal error: Class 'qformat_gift' not found in Z:\home\patan.patan\www\sites\all\modules\quiz_ei\questions_import\questions_import.admin.inc on line 312
After the update quiz-6.x-4.0-beta3
Comment #2
zeezhao commentedHi. Please did you find a fix to this?
Comment #3
tychobln commentedI can confirm this bug. It is solved when adding a symlink to "sites/all/modules/quiz/includes" to /sites/all/modules/quiz_ei/moodle.
But this creates another error:
Fatal error: Class 'qformat_default' not found in /home/.../sites/all/modules/quiz_ei/moodle/question/format/gift/format.php on line 38
Comment #4
patator commentedOn 6.x-4.0-rc9 problem persists?
Maybe everyone should use the solution to the cvs import from sivaji.
waiting...
Comment #5
zeezhao commentedThe old gift import from the old questions_import module of 2010-05-11 appears to work, even when I combine it with the latest quiz module... Just pointing this out in case someone needs it.
Comment #6
dax444 commentedI know this is a little old but in case anyone needs it the problem is the code is looking for the moodle code in the quiz/includes directory but the installation of quiz_ei has the moodle directory and the moodle_support.php in it's folder. Following up on tychobln's post about the symlink he has the moodle directory link set up but his second error is because he was not linked to the moodle_support.php file. You can symlink to that directory and file or just move the moodle directory and the moodle_support.php file into the includes directory under the quiz module directory and everything works great.