TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,973
  • Latest: NonStop
Stats
  • Total Posts: 196,236
  • Total Topics: 21,353
  • Online today: 340
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 344
  • Total: 344

another undefined variable

Started by bluedevil, April 11, 2010, 07:49:52 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Mick

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

G6Cad

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 ;)

Mick

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....

Mick

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.

This website is proudly hosted on Crocweb Cloud Website Hosting.