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,963
  • Latest: BiZaJe
Stats
  • Total Posts: 195,917
  • Total Topics: 21,308
  • Online today: 884
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 1
  • Guests: 211
  • Total: 212
  • @rjen

Error Log message

Started by grabman, October 13, 2008, 11:32:48 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

grabman

Evening all,

I've just upgraded to TP v1.0.6B2, all went well!

I do have a strange error message though in my forum log, the message is:
8: Undefined variable: k
File: /home/brodiesc/public_html/Sources/TPortal.php
Line: 1706

This is line for Tportal.php file ;          $context['TPortal']['boardnews']=$k;

Url for site is: http://www.brodiescastlebrewing.com

Running SMF 1.1.6

Installed mods:
1.     TinyPortal      1.063                                          [ Uninstall ]  [ List Files ]  [ Delete ]
2.    SMF 1.0.14 / 1.1.6 Update    1.0                        [ Uninstall ] [ List Files ] [ Delete ]
3.    SMF 1.0.13 / 1.1.5 / 2.0 b3.1 Update    1.0        [ List Files ] [ Delete ]
4.    SMF 1.0.14 / 1.1.6 Update    1.0                        [ Uninstall ] [ List Files ] [ Delete ]
5.    TinyPortal    1.052

Any thoughts appreciated,

Grab

Ianedres

Not a fatal error, just a call to a variable that wasn't explicitly initialized...

grabman

Quote from: Ianedres on October 13, 2008, 11:53:57 AM
Not a fatal error, just a call to a variable that wasn't explicitly initialized...

True, but I'd like to stop the error log from filling with errors that aren't going to upset things.  Is there a simple fix for this? 

cheers

Ianedres

Try this at the top of the TPortal.php after the opening <? statement:
$k = '';

This is not an official fix, and please enter it into the bugtracker.


grabman

#4
Thanks,

Have added line to TPortal.php and placed in BugTracker

Grab

Ianedres

It'll go on the 'to-be-fixed' list...

Thanks!

This website is proudly hosted on Crocweb Cloud Website Hosting.