de portal.php ziet er nu zo uit:
Code: Selecteer alles
<?php
// standard hack prevent
define('IN_PHPBB', true);
$phpbb_root_path = './';
include($phpbb_root_path . 'extension.inc');
include($phpbb_root_path . 'common.'.$phpEx);
// standard session management
$userdata = session_pagestart($user_ip, PAGE_portal);
init_userprefs($userdata);
// set page title
$page_title = 'portal';
// standard page header
include($phpbb_root_path . 'includes/page_header.'.$phpEx);
// assign template
$portal->set_filenames(array(
'body' => 'portal.tpl')
);
$template->pparse('body');
// standard page footer
include($phpbb_root_path . 'includes/page_tail.'.$phpEx);
?>Over die errors die ik heb gegeven, soms geeft hij de ene error, en dan weer die andere. Wisselt zich af dus lijkt t?
