- Adres van je forum: http://www.divinglommel.be/phpBB3
Event. modificaties op je forum:diverse
Wanneer ontstond het probleem?controle op bugs
phpBB versie:3.0.8
Heb je onlangs iets veranderd aan je forum?nog niet
Wat is het probleem?
dit heb ik gedaan door de "\\ "weg te halen voor deze code in config.php:
Code: Selecteer alles
@define('DEBUG', true);
Code: Selecteer alles
[phpBB Debug] PHP Notice: in file /includes/functions_posting.php on line 2623: Constant ANNOUNCEMENTS_CENTRE_TABLE already defined
[phpBB Debug] PHP Notice: in file /includes/functions_posting.php on line 2624: Constant GROUPS_ONLY already defined
[phpBB Debug] PHP Notice: in file /includes/functions_posting.php on line 2625: Constant EVERYONE already defined
[phpBB Debug] PHP Notice: in file /includes/functions_posting.php on line 2626: Constant GUESTS_ONLY already defined
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4090: Undefined variable: l_b_user_s
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4090: Undefined variable: l_online_users
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4090: Undefined variable: l_b_user_s
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4090: Undefined variable: l_b_user_s
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4090: Undefined variable: l_b_user_s
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4090: Undefined variable: l_b_user_s
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4624: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3715)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4626: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3715)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4627: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3715)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4628: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3715)
En dan vooral de vraag, hoe los ik deze foutmeldingen op?
Dit is mijn /includes/functions.php van lijn 2622 tot einde:
Code: Selecteer alles
// lefty74 Announcement Centre
define('ANNOUNCEMENTS_CENTRE_TABLE',$table_prefix . 'announcement_centre');
define('GROUPS_ONLY', 0);
define('EVERYONE', 1);
define('GUESTS_ONLY', 2);
?>
Code: Selecteer alles
// Build online listing
$vars_online = array(
'ONLINE' => array('total_online', 'l_t_user_s', 0),
'REG' => array('visible_online', 'l_r_user_s', !$config['load_online_guests']),
'HIDDEN' => array('hidden_online', 'l_h_user_s', $config['load_online_guests']),
'GUEST' => array('guests_online', 'l_g_user_s', 0),
'BOT' => array('bots_online', 'l_b_user_s', 0),
);
foreach ($vars_online as $l_prefix => $var_ary)
{
$l_online_users .= sprintf($l_b_user_s, $online_users['bots_online']);
if ($var_ary[2])
{
$l_suffix = '_AND';
}
else
{
$l_suffix = '';
}
switch ($online_users[$var_ary[0]])
{
case 0:
${$var_ary[1]} = $user->lang[$l_prefix . '_USERS_ZERO_TOTAL' . $l_suffix];
break;
case 1:
${$var_ary[1]} = $user->lang[$l_prefix . '_USER_TOTAL' . $l_suffix];
break;
default:
${$var_ary[1]} = $user->lang[$l_prefix . '_USERS_TOTAL' . $l_suffix];
break;
}
}
Code: Selecteer alles
// application/xhtml+xml not used because of IE
header('Content-type: text/html; charset=UTF-8');
header('Cache-Control: private, no-cache="set-cookie"');
header('Expires: 0');
header('Pragma: no-cache');
return;
}