TinyPortal

Development => Support => Topic started by: tattooedpierre on February 06, 2008, 04:17:03 PM

Title: Recurring error in error log
Post by: tattooedpierre on February 06, 2008, 04:17:03 PM
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
Title: Re: Recurring error in error log
Post by: IchBin on February 06, 2008, 04:41:09 PM
Did you read the posting guideline at the top of this board? The search would show you that this error has been covered before.
Title: Re: Recurring error in error log
Post by: tattooedpierre on February 06, 2008, 04:53:35 PM
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.
Title: Re: Recurring error in error log
Post by: G6Cad on February 06, 2008, 04:59:57 PM
You didnt search good enough ;)

Read this links post and the posts after.

http://www.tinyportal.net/index.php?topic=12252.msg102124#msg102124
Title: Re: Recurring error in error log
Post by: tattooedpierre on February 06, 2008, 05:18:11 PM
"The topic or board you are looking for appears to be either missing or off limits to you."
Title: Re: Recurring error in error log
Post by: G6Cad on February 06, 2008, 05:28:31 PM
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.
Title: Re: Recurring error in error log
Post by: tattooedpierre on February 06, 2008, 05:39:49 PM
Many thanks.
Title: Re: Recurring error in error log
Post by: IchBin on February 06, 2008, 06:01:51 PM
That is a board that should be searchable IMO. I will bring it up in the team board.