Page 1 of 1

phpBB statestic

Posted: 13 Apr 2010, 22:00
by Fire-Fox
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
[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']],
						));
					}					
				}

Re: phpBB statestic

Posted: 13 Apr 2010, 22:52
by Steve
Be sure you ave the correct version and look in the contrib folder for some updates.

that bug was listed was in the [beta] version.
here >> http://www.phpbb.com/community/search.php?t=1473625

Re: phpBB statestic

Posted: 13 Apr 2010, 22:55
by Fire-Fox
I only get the search page, when pressing the link?

Re: phpBB statestic

Posted: 13 Apr 2010, 23:00
by Steve

Re: phpBB statestic

Posted: 13 Apr 2010, 23:43
by Fire-Fox
I have just uninstalled the stats mod because is couldn't get it to fully

but here is the wierd thing :
acl.png
How do i get rid os "{acl_u_view_stats}"

Re: phpBB statestic

Posted: 14 Apr 2010, 08:26
by Stoker
Try the modules table in the database.
Backup first.

Re: phpBB statestic

Posted: 14 Apr 2010, 11:24
by marc1706
1. I already posted the bugfix over at my board. There is not much I can do if there is an error in your database. One of your users has the style with the ID 1 as default, but it seems like you don't have that style installed anymore or you deactivated the style.

2. The {acl_u_view_stats} is a bug in the uninstaller that was already adressed in the SVN.
If you table prefix is phpbb_, run this query in your database:

Code: Select all

DELETE FROM phpbb_acl_options WHERE auth_option = 'u_view_stats'