When attempting to edit an already saved option of a
quiz I was given this error upon pressing the save
button. I tried different options with different
content in the fields and they all returned the error.
Warning: MYSQL error: DB Error: syntax error in query:
update tiki_quiz_question_options set points=0, option
= 'All of the above' where optionId = 19 and questionId=6
in /home/apache/htdocs/tiki/lib/tikilib.php on line 71
I FOUND the problem a fixed it on my system. The bug is
on line 316 of quizlib.php
'tikit/lib/quizzes.quizlib.php. In the mysql query the
line reads option = '$option' and is SHOULD read
optionText = '$option'
ruach AT chpc DOT utah (dot) edu
Log in to post a comment.