Closed (fixed)
Project:
Quiz
Version:
6.x-4.1
Component:
Code - Quiz core
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
16 Nov 2010 at 18:51 UTC
Updated:
3 Jan 2014 at 02:41 UTC
Jump to comment: Most recent
Comments
Comment #1
falcon commentedWhat version of php do you use, what kind of database? What other contributed modules are you using?
I suspect this to be a problem you'll have to solve yourself as it doesn't seem to be a general problem with the Quiz module :/ If you have compatible versions of PHP, Database Drupal core etc. you could try to disable contributed modules until Quiz starts working for you...
If anyone else experiences similar problems please report it here
Comment #2
falcon commentedCloses this one until more info is provided
Comment #3
jpstokes commentedI'm having the exactly same problem. I created at least 5 questions before realizing that the questions weren't being saved to the quiz.
PHP Version 5.2.14
Drupal 6.19
MySql 5.0.91
Comment #4
gennadiy commentedGot newest version of quiz -6.x-4.1- same problem. Could you please point me to the place in the code to look at as for what is going on.
Thank you,
Gennady
Comment #5
gennadiy commentedField "Question:" for any quiz question (we created 1 T/F and 1 multichoice) is not getting into the database: node_revisions.body. Also question update will erase manually added (directly to db) node_revisions.body field.
Some more info: question that was entered in very 1st field for quiz question ends up in the node_revisions.teaser field, but for the view node_revisions.body field is selected and it's empty.
Comment #6
AntiNSA commentedI was having that problem.... but bigger poblem is that the availability dates are not saving with mine. I gave 9 classes final exams a year ago no prob... big nightmare now with finals beginnning...
Comment #7
kobee commentedHi,
I've got the same problem. I'm using openpublish.
I tried to add a CCK field "Question2" and the data is correctly saved, but it's not displayed on the "Take" quizz.
Any update??
Comment #8
curiousGeorge commentedHi, We are experiencing the same problem.
No questions show up on any of our quizzes. We create them under manage questions. When we 'Take' the quiz, only the quiz title page shows up using our template, subsequent pages use the quiz template, AND our questions have disappeared from the body. We see Q 1 of X....and the actual options, but the actual question is nowhere to be seen. We've done everything from dropping tables, running update, reinstalling, etc. - only to find that the problem persists.
We are running OpenPublish, Varnish, Calais, Php 5.2.16, MySQL 5.07.7 on Drupal 6. Autoload is installed.
Quiz version 6.x-4.1
Any feedback on this is appreciated. Thanks, in advance.
Comment #9
gennadiy commentedInteresting - we are also using OpenPublish. So is it something in OpenPublish that triggers this problem? Let's ask in OpenPublish group for solution.
What it does - it writes entered text into the "teaser" field of the node_revisions table, but reads it from the "body" field that is empty :(
Just look into the node_revisions table for the nid of the records and then run UPDATE for those nids:
UPDATE node_revisions SET body=teaser WHERE nid>=4361 AND nid<=4370
Comment #10
gennadiy commentedfalcon,
Could you or someone else please point me to the part where the text for the question is saved/updated into the database.
Thanks,
Gennady
Comment #11
nirvanajyothi commentedThink it's the node_revisions table.
Comment #12
sivaji_ganesh_jojodae commentedI'm able to reproduce this problem as well in OpenPublish. It looks to me that this problem is introduced by openpublish_administration.module
Below is the code that sets
$node->bodyempty which is the question field in quiz module.Introduced by openpublish_administration.module
Commenting
$form['body_field']['teaser_js']['#type']and$form['body_field']['teaser_include']['#type']seems to fix the issue for me.Don't copy/paste this code. This is just a trimmed version of actual code. Just comment the above mentioned lines that will do the needful.