phpBB statestic
Posted: 13 Apr 2010, 22:00
Hey!
I have installed : http://www.phpbb.com/community/viewtopi ... STATISTICS
Is there anyone that have it installed and can tell me why i get this error
I have installed : http://www.phpbb.com/community/viewtopi ... STATISTICS
Is there anyone that have it installed and can tell me why i get this error
[phpBB Debug] PHP Notice: in file /includes/stats/stats_settings.php on line 80: Undefined index: 1
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4444: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3635)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4446: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3635)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4447: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3635)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4448: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3635)
Code: Select all
//now get the counts
$sql = 'SELECT user_style FROM ' . USERS_TABLE . '
WHERE user_type <> ' . USER_INACTIVE;
$result = $db->sql_query($sql);
while ($temp_user = $db->sql_fetchrow($result))
{
++$style_users_count[$temp_user['user_style']];
}
$db->sql_freeresult($result);
//send vars to template
foreach ($styles_data as $current_style)
{
$template->assign_block_vars('style_users_count', array(
'STYLE_NAME' => $current_style['style_name'],
'STYLE_COPYRIGHT' => $current_style['style_copyright'],
'STYLE_USERS_COUNT' => $style_users_count[$current_style['style_id']],
));
}
}