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

Recent

Welcome to TinyPortal. Please login or sign up.

Members
Stats
  • Total Posts: 195,994
  • Total Topics: 21,325
  • Online today: 142
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 86
  • Total: 86

Recurring error in error log

Started by tattooedpierre, February 06, 2008, 04:17:03 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

tattooedpierre

Hi,

I've just upgraded from SMF 1.1RC3 and taken the site to 1.1.4 as well as TP updated from (iirc) 0.9.6..

Anyways, everything is perfect! Except for two recurring errors showing my logs.

Quote
8: Undefined index: tp-shouts
File: /home/theinfer/public_html/forum/Sources/TPortal.php
Line: 704

and..

Quote
8: Undefined index: tp-last
File: /home/theinfer/public_html/forum/Sources/TPortal.php
Line: 704

.. now I can't recall - as its been a year at least since I first installed TP - what changes I might have made to these files. In any case I thought the reinstall/upgrade would've overwritten any changes to these with the new files? Should I manually do this? Or, does anyone have any ideas about what might be wrong? I've attached the file in question, just in case.

From looking at TPortal.php myself, the line the errors refer to is:

$shouts= $txt['tp-last'].' '.$limit.' '.$txt['tp-shouts'].'<hr />';

Many thanks,
Peter

IchBin

Did you read the posting guideline at the top of this board? The search would show you that this error has been covered before.

tattooedpierre

Yes, I did in fact.

The error was covered but, by your own words:

QuoteThe undefined index: TPortal has been a long standing one. And I'm not sure if TP 0.9.8 has fixed it, but I'm pretty sure TP 1.0 has fixed it.

.. but later in that same post someone said they had solved the problem. So either it has been fixed or its not. I'm sure you can see then, why I was looking for clarification.

I really wouldn't bother asking; but the error log is now stretching to 500+ pages.

G6Cad


tattooedpierre

"The topic or board you are looking for appears to be either missing or off limits to you."

G6Cad

n short it say

QuoteMake sure you have these lines in your TPortal.english.php file.

$txt['tp-last'] = 'Last';
$txt['tp-shouts'] = 'Shouts:';

And further down the thread it sums up in  bad install and when a update of all tp files from the manuall install package the error went away.

tattooedpierre


IchBin

That is a board that should be searchable IMO. I will bring it up in the team board.

This website is proudly hosted on Crocweb Cloud Website Hosting.