phpBB statestic

Support for PhpBB3.
Post here to get help with any phpBB3 related issue
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.
If not your topic may be ignored or locked!
User avatar
Fire-Fox Offline
BBCoder IV
BBCoder IV
Posts: 275
Joined: 22 Mar 2010, 11:24
Local time: Saturday 22:48
Last active: -
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 Offline
Donator
Donator
Posts: 1,429
Joined: 04 Mar 2010, 23:10
Local time: Saturday 22:48
Last active: -

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
secret code: 123 might be abc or thank you might work
When I'm writing code, I am building a picture for you to see and use on your screen...
User avatar
Fire-Fox Offline
BBCoder IV
BBCoder IV
Posts: 275
Joined: 22 Mar 2010, 11:24
Local time: Saturday 22:48
Last active: -
Location: Denmark

Re: phpBB statestic

Post by Fire-Fox »

I only get the search page, when pressing the link?
User avatar
Steve Offline
Donator
Donator
Posts: 1,429
Joined: 04 Mar 2010, 23:10
Local time: Saturday 22:48
Last active: -

Re: phpBB statestic

Post by Steve »

secret code: 123 might be abc or thank you might work
When I'm writing code, I am building a picture for you to see and use on your screen...
User avatar
Fire-Fox Offline
BBCoder IV
BBCoder IV
Posts: 275
Joined: 22 Mar 2010, 11:24
Local time: Saturday 22:48
Last active: -
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 Offline
Site Admin
Site Admin
Posts: 4,295
Joined: 12 May 2008, 21:26
Local time: Saturday 23:48
Last active: -
Favourite EXT: Forum Goal
Location: Denmark

Re: phpBB statestic

Post by Stoker »

Try the modules table in the database.
Backup first.
~ The greatest achievement in life is to inspire ~
Regards Stoker
User avatar
marc1706 Offline
BBCoder II
BBCoder II
Posts: 8
Joined: 14 Apr 2010, 09:17
Local time: Saturday 22:48
Last active: -

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'