Closed (fixed)
Project:
Quiz
Version:
7.x-4.0-beta1
Component:
Code - Multichoice
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Mar 2013 at 19:44 UTC
Updated:
22 Jun 2014 at 16:17 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
sivaji_ganesh_jojodae commentedAdded a check to fix that and committed the code to git. Thanks.
Comment #2
w3father commentedI am getting same error in my site quiz module Learn english. Please say where to add this code on library module.
Comment #3
Nikolaus H commentedThanks for your Input.
If your running Xampp:
C:\xampp\htdocs\drupal\sites\all\modules\quiz\question_types\multichoice\multichoice.classes.inc
If your installation is running on a Webserver you have to find the drupal installation and then
\drupal\sites\all\modules\quiz\question_types\multichoice\multichoice.classes.inc
Search for the String:
db_delete('quiz_multichoice_user_answer_multi')You'll fint it in line 316. Add
if($user_answer_id)in the line before, as RaceCorp mentioned above.Comment #5
rich.yumul commentedWorked for me!
Comment #6
borgewarvik commentedWe also had this issue. This fix worked for us.
Comment #7
reszlihere's a quick patch for the above
Comment #8
dsdeiz commentedPatch cannot be applied due to the path.
Comment #9
sivaji_ganesh_jojodae commentedThe fix is also available for download from here http://hub.knackforge.com/projects/quiz-support/files
Comment #11
luf commentedApplied patch and fixed the error, this has not yet been commited to the current revision that is available for download. Please commit this patch as quickly as possible this is a major issue for those who are unable to understand the modifications required to fix the issue.
Comment #11.0
luf commentedOops!