TinyPortal

Development => Support => Topic started by: Mick on April 11, 2010, 07:49:52 PM

Title: another undefined variable
Post by: Mick on April 11, 2010, 07:49:52 PM
So far is just 1 error in the same place.   :-\

Error: Undefined
8: Undefined variable: code
File: /home/*******/public_html/Sources/TPortal.php
Line: 2765
Title: Re: another undefined variable
Post by: G6Cad on April 11, 2010, 08:17:58 PM
Setup ? Versions on SMF and TP ? What have you done when you get that error ? 
Clear your errorlog and browse your forum and portal, for every click, go back to the error logg and check it, when you see the error again there, you know what page it generates and report back. It's hard to find and fix an error when we have no clue on where and what you do when it happend ;)
Title: Re: another undefined variable
Post by: Mick on April 11, 2010, 08:21:25 PM
Yep,   RC3 & TPb5-1

Im not sure, i have deleted the error log and it keeps appearing at every click.

Hmm,....let me remove some mods....
Title: Re: another undefined variable
Post by: Mick on April 16, 2010, 04:07:46 PM
It seems to me that "Frontpage blocks" using "according to grid" 1,2,3,4 is giving me these 2 errors. Lots of them.

http://www.chevyavalancheclub.com/index.php?http://www.chevyavalancheclub.com/
8: Undefined variable: code
File: /home/********/public_html/Sources/TPortal.php
Line: 2765


8: Undefined variable: code
File: /home/*******/public_html/Sources/TPortal.php
Line: 2765


I have 4 blocks there,... i turned them all off and the errors went away. Cool,.... i thought it was my coding in my blocks but.....
.... i used the TP's rss block only and the errors came back.   

Hmmm.... i turned them off vice-versa and errors still apears so its not my coding.  I think the problem is the "frontpage block" itself.