SimplePortal

Support => English Support => Topic started by: Knightlag on May 13, 2010, 09:59:30 PM

Title: Error log getting spammed by PortalBlocks.php
Post by: Knightlag on May 13, 2010, 09:59:30 PM
I'm using SMF 2.0 RC3 and the latest version of Simpleportal, my site is http://kl-gaming.net/forums/

my error log is getting spammed with this occasionally... It seems to happen randomly.
Code: [Select]
http://kl-gaming.net/forums/index.php?http://kl-gaming.net/forums/
8: Undefined index: 20
File: /*removed*/kl-gaming.net/forums/Sources/PortalBlocks.php
Line: 2196
[user] BBC Tag
3.    Reattribute posts with post numbers
4.    Moderator and Administrator Comment Tags
5.    The Rules
6.    Aeva ~ Auto-Embed Video & Audio
7.    Member Color Link
8.    Favicon
9.    Banned members avatar
10.    Recount Member Posts
11.    Auto Lock Old Topics
12.    Enhanced PM Warning Message
[/list]

Thanks...
Title: Re: Error log getting spammed by PortalBlocks.php
Post by: AngelinaBelle on May 13, 2010, 10:02:28 PM
Do you have a select theme block active?
Yes.  I see you do.
 
It looks like the problem is occuring when a user has chosen ?theme=20 ($current_theme is 20).
 
Can you generate the error using the URLhttp://kl-gaming.net/forums/?theme=20 ?
 
 
Title: Re: Error log getting spammed by PortalBlocks.php
Post by: Knightlag on May 13, 2010, 10:28:38 PM
Yeah, that causes the error. I don't even have that theme selectable, though..
Should I just disable the theme select block?
Title: Re: Error log getting spammed by PortalBlocks.php
Post by: AngelinaBelle on May 14, 2010, 07:15:43 AM
You never know what users (or 'bots) will do.
 
I will ask for advice on this one. I cannot reproduce the problem.
 
Can you try this?
http://kl-gaming.net/forums/?theme=99 (http://kl-gaming.net/forums/?theme=99)
 
And tell me if you get any new errors, and if the code now complains about 99 instead of 20?
 
Thanks
 
 
 
 
 
 
Title: Re: Error log getting spammed by PortalBlocks.php
Post by: Knightlag on May 14, 2010, 03:13:11 PM
Yeah, with the theme block enabled it does the error.
Disabling the block seems to have fixed it though, thanks for the help. :)
Title: Re: Error log getting spammed by PortalBlocks.php
Post by: AngelinaBelle on May 14, 2010, 03:25:56 PM
I see you have marked this one solved.
 
If you want to look into it again in the future, please feel free to follow on, or start a new thread. It might take a little digging to get to the cause of it.
SimplePortal 2.3.8 © 2008-2024, SimplePortal