Page 1 of 1

Errors runnign the Quiz Install

Posted: Mon Sep 18, 2006 12:17 pm
by VMars
I got the following list of errors when i tried to run the quiz install:
CREATE TABLE phpbb_quiz_statistics ( `stats_id` int(5) NOT NULL default '', `quiz_id` int(10) NOT NULL default '', `user_id` int(10) NOT NULL default '', `stats_correct` INT(5) NOT NULL default '0', `stats_incorrect` INT(5) NOT NULL default '0', `stats_percentage` INT(3) NOT NULL default '0');
CREATE TABLE phpbb_quiz_multiple_choice_data ( `quiz_id` int(10) NOT NULL default '0', `question_id` int(10) NOT NULL default '0', `quiz_question` text NOT NULL, `quiz_alternates` text NOT NULL, `quiz_answer` text NOT NULL);
CREATE TABLE phpbb_quiz_true_false_data ( `quiz_id` int(10) NOT NULL default '0', `question_id` int(10) NOT NULL default '0', `quiz_question` text NOT NULL, `quiz_answer` text NOT NULL);
CREATE TABLE phpbb_quiz_input_data ( `quiz_id` int(10) NOT NULL default '0', `question_id` int(10) NOT NULL default '0', `quiz_question` text NOT NULL, `quiz_answer` text NOT NULL)
ALTER TABLE phpbb_sessions ADD `session_quiz_categories` VARCHAR( 255 ) NOT NULL;
INSERT INTO phpbb_config (config_name, config_value) VALUES ('Quiz_show_answers', '1')
INSERT INTO phpbb_config (config_name, config_value) VALUES ('Quiz_Register_Play', '1')
INSERT INTO phpbb_config (config_name, config_value) VALUES ('Quiz_Post_Count_Play', '1')
INSERT INTO phpbb_config (config_name, config_value) VALUES ('Quiz_Post_Requirement', '1')
INSERT INTO phpbb_config (config_name, config_value) VALUES ('Quiz_Play_Once', '1')
INSERT INTO phpbb_config (config_name, config_value) VALUES ('Quiz_Author_Play', '1')
INSERT INTO phpbb_config (config_name, config_value) VALUES ('Quiz_Min_Max_Questions', '5,10')
INSERT INTO phpbb_config (config_name, config_value) VALUES ('Quiz_Author_Mod', '1')
INSERT INTO phpbb_config (config_name, config_value) VALUES ('Quiz_Banned', '')
INSERT INTO phpbb_config (config_name, config_value) VALUES ('Quiz_Moderators', '')
INSERT INTO phpbb_config (config_name, config_value) VALUES ('Quiz_Stats_Display', '10')
INSERT INTO phpbb_config (config_name, config_value) VALUES ('Quiz_Mod_Submit', '1')
INSERT INTO phpbb_config (config_name, config_value) VALUES ('Quiz_Cash_Currency', 'user_points')
INSERT INTO phpbb_config (config_name, config_value) VALUES ('Quiz_Cash_Incorrect', '1')
INSERT INTO phpbb_config (config_name, config_value) VALUES ('Quiz_Cash_Correct', '1')
INSERT INTO phpbb_config (config_name, config_value) VALUES ('Quiz_Cash_Tax', '2')
INSERT INTO phpbb_config (config_name, config_value) VALUES ('Quiz_CashMOD_On', '1')
INSERT INTO phpbb_config (config_name, config_value) VALUES ('Quiz_packs_category', '1')
INSERT INTO phpbb_config (config_name, config_value) VALUES ('Quiz_packs_bot', 'Quartz')
INSERT INTO phpbb_config (config_name, config_value) VALUES ('Quiz_timeout', '10')
I did all the manual updating first, and was updating form a previous version....

Please help :)

Posted: Mon Sep 18, 2006 1:30 pm
by battye
How many of them were red?

Posted: Mon Sep 18, 2006 2:02 pm
by VMars
battye wrote:How many of them were red?
all except the last 4

Posted: Tue Sep 19, 2006 11:41 am
by battye
If you were upgrading from 1.2.0 -> 1.3.x, that that is normal behaviour as those rows already exist.

Posted: Tue Sep 19, 2006 12:32 pm
by VMars
The problem is that i cant view the quizes that are created (yet they show up in the quiz statitics and they can be played).

Also no points are added to people for correct answers.

here is the main quiz screen:
Image

and here in the quiz statistics it shows the quiz that isn't listed in the other:
Image

Posted: Tue Sep 19, 2006 1:21 pm
by battye
Have you got the Cash MOD installed?

Posted: Tue Sep 19, 2006 1:27 pm
by VMars
Yeah, and it is running fine.....

I have no idea what the issue is?