When you click on the view results page and see the score it says:
This person got 49 of 65 possible points.
Total score: 75 %
Passed. Average
however the email sent to the person says:
You attended the quiz Panyu Polytechnic Business Class 3 on June 28, 2010, 9:15 pm
Test Description : Panyu Polytechnic Business Class 3 Final Test
You got 49 out of 0 points in 74 minutes. Score given in percentage is 0
You can access the result here http://thecenterofthenet.com/user/quiz/908/userresults
And the score listing on the /results says
0 % Failed
I need to fiz this asap so I can turn my results in . Thanks for any help!
Comments
Comment #1
falcon commentedI got an access denied error on the url you posted. I will look into this error now.
Comment #2
falcon commentedI am not able to recreate this error either. Could you post some more info and a screen-shot please?
When I score questions the scores are updated correctly on the score pages.
Maybe you could give me access to your server through my drupal contact form, and I could have a look at it there?
Comment #3
falcon commentedComment #4
falcon commentedComment #5
falcon commentedI commited changes that shoudl fix these problems.
I will make a RC3 release shortly. You need to run update php after installing that release. You also need to save the scores of quizzes with 0 % as score again in order to send correct e-mails and update the score to its correct value.
Thanks for reporting the issue and all your cooperation AntiNSA!
Comment #6
AntiNSA commentedHey! Thanks for your work on this issue... I have tried to continue grading and unfortunately I have found a different error,
If I look here :
http://thecenterofthenet.com/node/29047/results
The score is reported incorrectly. It says
"75 % Passed"
but if I go and view the results here :
http://thecenterofthenet.com/node/29047/results/1094
This person got 11 of 65 possible points.
Total score: 17 %
FAILED
it is the bottom which is correct.
Thanks for your continued effort!
Comment #7
falcon commentedI think the top one might be correct. If you study your report you'll see that the answers to the multichoice questions aren't showing.
I have commited an update now that takes care of this problem. The correct data should be in your database, it is just not showing on your result page.
http://thecenterofthenet.com/node/29047/results/1094
Please give me a report after you have updated to the newest version of quiz(I will release RC4 shortly)
Comment #8
AntiNSA commentedI have now a new error:
Fatal error: Uncaught exception 'Exception' with message 'no constructor available for '' question type' in /home/cyberfan/htdocs/sites/all/modules/quiz/question_types/quiz_question/quiz_question.module:620 Stack trace: #0 /home/cyberfan/htdocs/sites/all/modules/quiz/question_types/quiz_question/quiz_question.module(684): _quiz_question_get_instance(false, true) #1 /home/cyberfan/htdocs/sites/all/modules/quiz/question_types/quiz_question/quiz_question.module(340): _quiz_question_response_get_instance('567', NULL, NULL, '21652', '21653') #2 [internal function]: quiz_question_get_report('21652', '21653', '567') #3 /home/cyberfan/htdocs/includes/module.inc(462): call_user_func_array('quiz_question_g...', Array) #4 /home/cyberfan/htdocs/sites/all/modules/quiz/quiz.module(3120): module_invoke('quiz_question', 'get_report', '21652', '21653', '567') #5 /home/cyberfan/htdocs/sites/all/modules/quiz/quiz.admin.inc(353): _quiz_get_answers(Object(stdClass), '567') #6 [internal function]: quiz_admin_results(Object(stdClass), '567') #7 in /home/cyberfan/htdocs/sites/all/modules/quiz/question_types/quiz_question/quiz_question.module on line 620
when trying to view the results @
http://thecenterofthenet.com/node/21657/results/567
THanks for the update and all your help
Comment #9
AntiNSA commentedComment #10
falcon commentedI had a look, and it seems node 21652 is broken. It is impossible to answer that question node. That node hasn't been edited since Quiz 3 was released. There are also other matching nodes that are broken. I'm not sure what is wrong with those nodes yet, and haven't got the time to figure it out just yet.
I think the problem is in your database, and not in the Quiz 4 module, but Quiz 4 should have handled the problem differently. It shouldn't be uncaught exceptions in Quiz 4.
Comment #11
AntiNSA commenteddoes that mean that I will not be able to use quiz 4 and all my results fo my students are lost and can not be graded?
Comment #12
AntiNSA commentedThanks for all of your hard work. Things are starting to get really stressfull over here as my deadline is approaching rapidly. Pease dont give up I really appreciate the hard work and time you have donated to this issue.
Comment #13
falcon commentedRe #11: No, it probably means you need to fix your database. You have to recreate node 21652 in your database tables using sql, phpMyAdmin or something(preferably from backup), or you have to delete that node the normal way using drupals interfaces(then the results from that node will also be deleted, but it should make the problem go away.)
I guess there is no database entries in the table "quiz_matching_node" for node 21652 with vid 21653. Am I correct?
I don't know how those nodes got broken. The update to quiz 4 doesn't make any changes to quiz_matching_node AFAIK. I will be looking into this later today.
Comment #14
AntiNSA commentedgod I have no database back up and things were working before,,, I only got that error after upgrading to rc4.... Id rather have the functionality of the ver3 than lose my students data. I have 450 students and cant redo anything. The only thing that changed is the update to rc123and 4.
Can I just upload version 3 and not lose my data? Version 4 looks great but is my worst nightmare if it doesnt work and my data is lost.
In version 3 everything worked, I was just hoping for an increase in efficiency by upgraqding to ver 4.. not total destruction
Comment #15
AntiNSA commentedAh... it is not every student.. thank god ! I just checked and are you saying only two nodes/student results are missing? Thats not so bad... I thought they wer all gone. I can look and see what score was emailed to them.......
Comment #16
falcon commentedOk, I have finally found the time to look at this some more. The problem is that there are no validation of matching nodes in Quiz 3, and not in Quiz 4 RC4 either for that matter. Matching nodes without any alternatives to match doesn't make sens, but they are allowed. The problem is that the update path from Quiz 3 to Quiz 4 assumes that all matching nodes have alternatives. If they doesn't the problems you have experienced will occur.
The solution:
- I will add validation for matching questions in Quiz 4 RC5
- I will remove the Exception that is thrown i Quiz 4 RC5, and show normal drupal error messages instead. The result report will be rendered without the broken matching questions.
- You can fix the matching questions by adding a row for them to the quiz_question_properties table manually in your database. You can add the alternatives in the quiz_matching_node table.
- You can also make new revisions of the matching questions work by editing them in drupal the normal way, and add alternatives to them. This will probably not fix the existing result reports though.
Comment #17
falcon commentedChanges commited
Comment #18
AntiNSA commentedThanks again for your hard work! Im not sure I understand what you mean by
- You can fix the matching questions by adding a row for them to the quiz_question_properties table manually in your database. You can add the alternatives in the quiz_matching_node table.
- You can also make new revisions of the matching questions work by editing them in drupal the normal way, and add alternatives to them. This will probably not fix the existing result reports though.
Can you elaborate on this? Thanks!
Comment #19
AntiNSA commentedI dont know why, but when you look here
http://thecenterofthenet.com/node/29047/results/955
the score is clearly not 100%, but when we look here
http://thecenterofthenet.com/node/29047/results
it is? I am checming all the grades so I cant say rather or not this occurs more than once...
Comment #20
falcon commentedI will look into this. Was it the only one? It seems all the other reports holds 65 answers, while the one with the bug has 78. I will try to reproduce this issue on my own server now.
Comment #21
falcon commentedI have not been able to reproduce this one. Any ideas on how to reproduce this problem?
Comment #22
AntiNSA commentedI dont know why that quiz has 78 questions either. It should only have 65????!!?? So far it is the only quiz I have found with that mistake...
Comment #23
falcon commentedI can't do anything about it until I have more information. I don't have the time to investigate this any further myself, and I can't investigate it effectively with only limited access to your site.
I leave this issue open for now. Maybe someone else can fix it. If others are experiencing the same problem they should report it here.
Comment #24
falcon commentedComment #25
AntiNSA commentedIf you need more access let me know what I can do. Thanks for all your help thus far.
Comment #26
falcon commented