TinyPortal

Development => Feedback => Bugs/Errors => Topic started by: Teelow on February 16, 2006, 07:51:48 AM

Title: [BUG] Undefined indexes in Errors.template.php
Post by: Teelow on February 16, 2006, 07:51:48 AM
Getting this error continuing to show up in my error log.  I am using 0.8.6 and 1.1 RC2

8: Undefined index: TPortal
File: /home/claym2/public_html/test1/Themes/default/Errors.template.php (eval?)
Line: 492
Title: [BUG] Undefined indexes in Errors.template.php
Post by: Satellite on February 17, 2006, 11:09:44 PM
Whenever a user try to access a post in a board which he/she has no access to, I find the following two errors in the log:

Utente  Testerboy       Oggi alle 23:49:03
IP x.y.z.t
http://www.progettosi.dyndns.org/forum/index.php?topic=627.msg6919
8: Undefined index: TPortal_front_type
File: (...)\forum\Themes\default\Errors.template.php (main_above sub template - eval?)
Linea: 597
   
Utente Testerboy    Oggi alle 23:49:03
IP x.y.z.t
http://www.progettosi.dyndns.org/forum/index.php?topic=627.msg6919
8: Undefined index: TPortal
File: (...) \forum\Themes\default\Errors.template.php (main_above sub template - eval?)
Linea: 241
Title: Re: Undefined indexes in Errors.template.php
Post by: bloc on February 18, 2006, 11:30:51 AM
This is a long-time bug i have yet to sort out..it arise in Errors.php.
Title: Re: [BUG] Undefined indexes in Errors.template.php
Post by: bloc on March 31, 2006, 07:07:26 PM
This is solved in 0.9.
Title: Re: [BUG] Undefined indexes in Errors.template.php
Post by: G6Cad on March 31, 2006, 07:34:51 PM
Long time bug squashed  :knuppel2:
Title: Re: [BUG] Undefined indexes in Errors.template.php
Post by: bhunted on April 23, 2006, 12:22:48 PM
I'm still getting these types of bugs and I'm using all the latest updates. Any thoughts?

8: Undefined index: TPortal
File: /home/content/a/m/b/ambientwx/html/smf/Themes/default/Errors.template.php (eval?)
Line: 192

:-\

PS: They appear with a variety of line numbers.
Title: Re: [BUG] Undefined indexes in Errors.template.php
Post by: G6Cad on April 23, 2006, 12:41:35 PM
Do you have mods installed ?
Title: Re: [BUG] Undefined indexes in Errors.template.php
Post by: bhunted on April 23, 2006, 12:45:18 PM
Sure, doesn't everyone? ;)

Quote from: G6 on April 23, 2006, 12:41:35 PM
Do you have mods installed ?
Title: Re: [BUG] Undefined indexes in Errors.template.php
Post by: G6Cad on April 23, 2006, 12:48:23 PM
Then my guess is that it's one of the mods that causes the error you having.

Arcade mod and Googlebot is two of the mods that are buggy
Title: Re: [BUG] Undefined indexes in Errors.template.php
Post by: bhunted on April 23, 2006, 12:51:50 PM
Hmmm, don't use either one of those.... ugh.  :-\
Title: Re: [BUG] Undefined indexes in Errors.template.php
Post by: bhunted on April 23, 2006, 12:54:53 PM
I just tried uninstalling some of the mods that are really not being used. They are giving me the error not to proceed, yet they are install ok. So I guess they are there for good. ugh again...
Title: Re: [BUG] Undefined indexes in Errors.template.php
Post by: G6Cad on April 23, 2006, 12:57:55 PM
Allways remember the file you get the error from during the un install, you must remove the codebits from those files manually, or they will cause errors with other things.

If you cant remember what file that said not to proceed with the un install, you can always go to the modsite you got it from and ask what files the mod change so you can find the strings that needs to be removed.
Title: Re: [BUG] Undefined indexes in Errors.template.php
Post by: Netgull on May 08, 2006, 10:12:31 PM
I also have this problem...
But I noticed something strange...
While the reports refer errors in different lines (like 473,491,245 etc) most of them (if not all) are above 149... But the Errors.template.php file has only 149 lines!!!

And I have checked the file, its not corrupt or anything...
Title: Re: [BUG] Undefined indexes in Errors.template.php
Post by: bloc on May 09, 2006, 12:10:30 PM
Thats becuase there are several files imported at once. Sometimes the script doesnt see which file is..only the line, but then reports the first file executed.In this case Errors.php. Thats what the (eval?) stands for in the error message.
Title: Re: [BUG] Undefined indexes in Errors.template.php
Post by: bhunted on May 09, 2006, 12:25:48 PM
So what is the easiest way around this?
Title: Re: [BUG] Undefined indexes in Errors.template.php
Post by: bloc on May 09, 2006, 04:11:23 PM
Well, hopefully v0.9 have erased those errors. It will be out in not too long.
Title: Re: [BUG] Undefined indexes in Errors.template.php
Post by: bhunted on May 09, 2006, 04:17:22 PM
Hope so, I run a few forums and they all have these errors. They overload the log files big time on the busier forums...
Title: Re: [BUG] Undefined indexes in Errors.template.php
Post by: IchBin on May 09, 2006, 05:37:07 PM
If the log is filling up too fast, just disable the log until a fix is ready.
Title: Re: [BUG] Undefined indexes in Errors.template.php
Post by: bhunted on May 09, 2006, 07:03:44 PM
I know, but I don't like to leave it off due to people having logon problems. Their fault usually, but the log tells all. ;)