TinyPortal

Development => Support => Topic started by: Shadow on February 11, 2007, 01:39:54 AM

Title: TP error's filling up the error log
Post by: Shadow on February 11, 2007, 01:39:54 AM
Version of TP -- 0.97 not 0.9.7.1 version
SMF Version -- 1.1.1

I am getting ton's of error's in the error log from TP now.  But i never have this problem before with TP and i don't know why i am getting ton's of error's from TP.  It's filling up the error log fast. 

Pass two hour ago i removed about 7 page's of error's for TP from the error log on the forum.

Here what the error's, I don't know if they are the same error's.

http://www.shadowskingdom.com/index.php?topic=422.msg2947

8: Undefined index: TPortal
File: /home/kingdom/public_html/Themes/default/Login.template.php (eval?)
Line: 542

8: Undefined index: TPortal
File: /home/kingdom/public_html/Themes/default/Login.template.php (eval?)
Line: 457

8: Undefined index: TPortal
File: /home/kingdom/public_html/Themes/default/Login.template.php (eval?)
Line: 447

8: Undefined index: TPortal
File: /home/kingdom/public_html/Themes/default/Login.template.php (eval?)
Line: 438

8: Undefined index: TPortal
File: /home/kingdom/public_html/Themes/default/Login.template.php (eval?)
Line: 281

8: Undefined index: TPortal
File: /home/kingdom/public_html/Themes/default/Login.template.php (eval?)
Line: 256

Please help!

Title: Re: TP error's filling up the error log
Post by: IchBin on February 11, 2007, 01:41:38 AM
Why don't you upgrade and see if its still the same?
Title: Re: TP error's filling up the error log
Post by: Shadow on February 11, 2007, 01:42:43 AM
I can try to upgrade TP but i never have this problem before...
Title: Re: TP error's filling up the error log
Post by: JPDeni on February 11, 2007, 03:04:58 AM
What did you do just before you noticed the problem? Did you add a new theme? Did you add a new mod? Did you add a new block?

The first thing I would do is to reset the site to the default theme, clear the error log and then reload the home page. Then go back to see if the errors are back. If they're not, the problem is in one of your themes.
Title: Re: TP error's filling up the error log
Post by: rebelrose on February 11, 2007, 03:14:49 AM
She may want to check if any code was added to make thing not shown to guest because what I see in the error log right now, has to do with guest  ???

Guest   Today at 03:01:04 PM 
66.249.66.170     268a4f87c4eb8efa82fe7d90682a1574 
http://www.shadowskingdom.com/index.php?topic=422.msg2947 
8: Undefined index: TPortal
File: /home/kingdom/public_html/Themes/default/Login.template.php (eval?)
Line: 256

Title: Re: TP error's filling up the error log
Post by: Skhilled on February 11, 2007, 03:44:31 AM
RebelRose is correct as I had a look earlier. There are tons of that same error for guests but the line number seems to be different for each one.
Title: Re: TP error's filling up the error log
Post by: Shadow on February 11, 2007, 04:13:07 AM
Really i didn't add no code's at all on the theme or the forum...The only thing i added is a new block but nobody can't see because i'm not finshed with that block at all..Only people can see the block is myself and my other 4 Admin of the forum....

Edit --

I add a code to the one file reidrect ban member's to a diff site....

Plus RebelRose added a block for me for guests....
Title: Re: TP error's filling up the error log
Post by: elliel on February 26, 2007, 05:16:44 PM
I just upgraded one of my forums and came here to find out what these errors meant as I was getting pages of them.  But I discovered that it seems to be because the forum was using an 1.1 RC3 theme prior to upgrade and now that I upgraded to 1.1.1 that theme isnt valid but anyone trying to log in (before I reset it to the default theme) was obviously logging in to that theme (which wasnt upgraded)

Maybe you have something similar if your board it set to use a theme other than SMF default?
Title: Re: TP error's filling up the error log
Post by: Shadow on February 26, 2007, 08:58:46 PM
Yes, I am using SMF and TP board for my forum. 

I am using a RC3 theme with the new version of 1.1.2. 

I upgrade my forum to a 1.1 final version of SMF at the same time useing a RC3 and I still upgrade the forum on that theme and I don't have any problen;s at all

I don't have any problem's with the theme i am using on my forum.

If you have tp install on your forum.  Please make sure you install TP theme's not SMF theme's.

If you install a SMF theme on your forum it's will cause problem's like that.

Note -- My theme is updata to the new version of SMF and TP. But i'm not going to change it over to the new version for that theme.
Title: Re: TP error's filling up the error log
Post by: elliel on February 27, 2007, 04:11:52 PM
I only ever use copies of default generated from the Admin Control panel - so they already have the TP code on them.  There are some themes here I like but I have so many extra buttons to add I dont have time.
Title: Re: TP error's filling up the error log
Post by: Shadow on February 28, 2007, 02:45:33 AM
If you want I can test your theme's out on my test forum ok.  I don't have a problem by doing that at all.

If yes please just pm and I will send you the info you needed to e-mail the theme's all that.  And give you the info to get to the test forum too.

I do understand about that one.