phpBB statestic

Support for PhpBB3. Post here to get help with any phpBB3 related issue here
There is no support here! Only Read Access!
Forum rules
In order the get any support, you will have to do following:
1. Use a describing title!
2. Describe your problem and what happened when the problem occured
3. Tell us what version of phpBB3 you are currently using.
Else your topic may be ignored or locked!
Locked
User avatar
Fire-Fox
BBCoder IV
BBCoder IV
Posts: 275
Joined: 22 Mar 2010, 13:24
Location: Denmark

phpBB statestic

Post 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']],
						));
					}					
				}
User avatar
Steve
BBCoder VI
BBCoder VI
Posts: 803
Joined: 05 Mar 2010, 01:10
Extra Rank: Donator.png
BBCodes: 2000
Favourite BBCode: porn tube
Favourite MOD: Non of Stokers
Location: up your bum
Contact:

Re: phpBB statestic

Post 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
NAPWR wrote: Nice, Stoker is Hot
User avatar
Fire-Fox
BBCoder IV
BBCoder IV
Posts: 275
Joined: 22 Mar 2010, 13:24
Location: Denmark

Re: phpBB statestic

Post by Fire-Fox »

I only get the search page, when pressing the link?
User avatar
Steve
BBCoder VI
BBCoder VI
Posts: 803
Joined: 05 Mar 2010, 01:10
Extra Rank: Donator.png
BBCodes: 2000
Favourite BBCode: porn tube
Favourite MOD: Non of Stokers
Location: up your bum
Contact:

Re: phpBB statestic

Post by Steve »

NAPWR wrote: Nice, Stoker is Hot
User avatar
Fire-Fox
BBCoder IV
BBCoder IV
Posts: 275
Joined: 22 Mar 2010, 13:24
Location: Denmark

Re: phpBB statestic

Post 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}"
User avatar
Stoker
Site Admin
Site Admin
Posts: 3521
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

Re: phpBB statestic

Post by Stoker »

Try the modules table in the database.
Backup first.
Board rules! No PM support
User avatar
marc1706
BBCoder II
BBCoder II
Posts: 8
Joined: 14 Apr 2010, 11:17

Re: phpBB statestic

Post 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'
Locked