Sure, I have sent you a PM. Thanksmaethu wrote:This looks very interesting, could I get a download link, please?
Thanks!
I'll take a look right nowbattye wrote:jesschen, do you have access to phpMyAdmin? Please view the phpbb_quiz_statistics table and let me know if it is empty or if there is data in it.
If you open includes/quiz/quiz_question.php and find:jesschen wrote:I'll take a look right nowbattye wrote:jesschen, do you have access to phpMyAdmin? Please view the phpbb_quiz_statistics table and let me know if it is empty or if there is data in it.
EDIT: it's empty...I've created two quizzes on my test forum and submitted answers to one of them. But no stats in the statistics at all
static $statistics_array = array();
Code: Select all
if( sizeof($statistics_array) > 0 )
{
print_r($statistics_array);
}
if( empty($actual) ... etc
{
add echo 'Output here';
Code: Select all
General Error
SQL ERROR [ mysqli ]
Data too long for column 'quiz_question' at row 1 [1406]
SQL
INSERT INTO forum_quiz_questions (quiz_question, quiz_related_id, quiz_uid, quiz_bitfield, quiz_options) VALUES ('Read the following program :\n\nmain()\n{\nextern int i;\ni=20;\nprintf("%d",i);\n}\nwill this program successfully compile ?\n\n\n\nNote : successfully compilation is considered true even not output is generated by program\n\nif your answer is p"program compiles" select "True"', 1, '', '', 7)
BACKTRACE
FILE: includes/db/mysqli.php
LINE: 163
CALL: dbal->sql_error()
FILE: quiz.php
LINE: 122
CALL: dbal_mysqli->sql_query()
question_name VARCHAR(255) NOT NULL ,
and limited to 255 characters. You could set it to TEXT which should give it a lot more space