[phpBB Debug] PHP Notice: in file /includes/session.php on line 2141: strtr() [function.strtr]: The second argument is not an array
[phpBB Debug] PHP Notice: in file /includes/session.php on line 2141: strtr() [function.strtr]: The second argument is not an array
template->_tpl_load_file(): File /login_body.html does not exist or is empty
Code: Select all
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3884: Undefined index: is_registered
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4143: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3307)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4145: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3307)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4146: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3307)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4147: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3307)
Code: Select all
if ($user->data['is_registered'])
{
$sql = "SELECT count(id) as total FROM " . DL_CAT_TABLE . "
WHERE bug_tracker = 1";
$result = $db->sql_query($sql);
if ($result)
{
$row = $db->sql_fetchrow($result);
}
$db->sql_freeresult($result);
if ($row['total'] != 0)
{
$template->assign_var('S_BUGTRACKER_ON', true);
$template->assign_vars(array(
'L_BUG_TRACKER' => $user->lang['DL_BUG_TRACKER'],
'U_BUG_TRACKER' => append_sid("{$phpbb_root_path}downloads.{$phpEx}?view=bug_tracker"))
);
}
}
testwise add before thatby autinhyeu » Sat Sep 05, 2009 7:41 pm
Code: Select all
if ($user->data['is_registered'])
{
$sql = "SELECT count(id) as total FROM " . DL_CAT_TABLE . "
WHERE bug_tracker = 1";
$result = $db->sql_query($sql);
if ($result)
{
$row = $db->sql_fetchrow($result);
}
$db->sql_freeresult($result);
if ($row['total'] != 0)
{
$template->assign_var('S_BUGTRACKER_ON', true);
$template->assign_vars(array(
'L_BUG_TRACKER' => $user->lang['DL_BUG_TRACKER'],
'U_BUG_TRACKER' => append_sid("{$phpbb_root_path}downloads.{$phpEx}?view=bug_tracker"))
);
}
}
Code: Select all
global user;