Page 1 of 1

can't do the sql install

Posted: Sat Nov 05, 2005 3:38 am
by drakky
when I try to run quiz_install.php I get the following error any ideas?
phpBB : Critical Error

Error updating sessions table

DEBUG MODE

SQL Error : 1054 Unknown column 'PAGE_QUIZ' in 'field list'

UPDATE phpbb_sessions SET session_time = 1131159368, session_page = PAGE_QUIZ WHERE session_id = '149de25eba2d6325fc005f3e2e481353'

Line : 284
File : /phpBB2/includes/sessions.php

Posted: Sat Nov 05, 2005 3:43 am
by battye
Haven't seen anything like this before, but this should do it:

Find

Code: Select all

$userdata = session_pagestart($user_ip, PAGE_QUIZ);
init_userprefs($userdata);
And replace it with:

Code: Select all

$userdata = session_pagestart($user_ip, PAGE_INDEX);
init_userprefs($userdata);
It is pretty much at the top of quiz_install.php

Cheers :)

Posted: Sat Nov 05, 2005 3:46 am
by drakky
never mind it was language.php hadn't uploaded properly
thanks anyway

Posted: Sat Nov 05, 2005 3:47 am
by battye
Oh ok :lol: