Code: Selecteer alles
<?php
define('IN_PHPBB', true);
$phpbb_root_path = './forum/';
include($phpbb_root_path . 'extension.inc');
include($phpbb_root_path . 'common.'.$phpEx);
$userdata = session_pagestart($user_ip, PAGE_INDEX);
init_userprefs($userdata);
$page_title = $lang['Index'];
include($phpbb_root_path . 'includes/page_header_site.'.$phpEx);
?>
Code: Selecteer alles
case PAGE_SITE_INDEX:
$location = $lang['Site'];
$location_url = "../uitleg.html";
break;
en toen dit
Code: Selecteer alles
$userdata = session_pagestart($user_ip, PAGE_INDEX);
Code: Selecteer alles
$userdata = session_pagestart($user_ip, PAGE_SITE_INDEX);
maar ik krijg deze error
Code: Selecteer alles
Error updating sessions table
DEBUG MODE
SQL Error : 1054 Unknown column 'PAGE_SITE_INDEX' in 'field list'
UPDATE wmtown_sessions SET session_time = 1118772002, session_page = PAGE_SITE_INDEX WHERE session_id = '819405807c6f4f132fe880cc61866918'
Line : 286
File : sessions.php
grt svennson