TinyPortal

Development => Support => Topic started by: dunks on January 08, 2010, 10:23:37 PM

Title: Re-occuring error message
Post by: dunks on January 08, 2010, 10:23:37 PM
Link to my site: http://www.306cab.com
SMF version: 1.1.11
TP version: TPv1.0 beta
Theme name and version: default
Browser Name and Version: ie7
Mods installed:
1. Stars to Profile 1.0.1 [ Uninstall ]
2. Unread and Replies Tabs in Main Menu 3.0 [ Uninstall ]
3. Country Flags 1.0.1 [ Uninstall ]
4. Center the Navagation Bar 1.0 [ Uninstall ]
5. Custom Profile Field Mod 3.20 [ Uninstall ]
6. Favicon 1.2 [ Uninstall ]
7. express 2 smiley set 2.0.0.1 [ Uninstall ]
8. PM On Registration 1.0.2 [ Uninstall ]
9. Enhanced PM Warning Message 1.0 [ Uninstall ]
10. Enhanced Forum Statistics 1.0 [ Uninstall ]
11. Global Headers Footers 1.4.1 [ Uninstall ]
12. Custom Tab 1.2 [ Uninstall ]
13. Watermark.light 1.0 beta2 [ Uninstall ]
14. SMF 1.0.19 / 1.1.11 Update 1.0 [ Uninstall ]
15. SMF Garage 1.0 RC1 [ Uninstall ]
16. TinyPortal 1.083 [ Uninstall ]
17. Yarex 2 smiley set 2.0.0.1 [ Uninstall ]
18. Championship Football Avatar Pack 1.0 [ Uninstall ]
19. Avatar Barclays Premiership v1.0 1.0 [ Uninstall ]
20. Header Rotator 1.1.0 [ Uninstall ]


Related Error messages: 8: Undefined index: tp-showlatest
File: /home/peugeot3/public_html/Themes/default/languages/Post.english.php (tp_above sub template - eval?)
Line: 249

This error message appears at least 20 times a minute by all members.

Any Ideas ?
Title: Re: Re-occuring error message
Post by: IchBin on January 09, 2010, 06:17:21 PM
Did you use the search? I'm pretty sure this error has been seen before.
Title: Re: Re-occuring error message
Post by: dunks on January 09, 2010, 08:12:39 PM
Yes i did and I couldnt find anything :-\
Title: Re: Re-occuring error message
Post by: dunks on January 09, 2010, 08:35:29 PM
Ok So Ive found the answer on here....To do with .....$row['body'] = parse_bbc($row['body'], $row['smileys_enabled']);

Now which folder do I find this in ? as I went to File: /home/peugeot3/public_html/Themes/default/languages/Post.english.php and that line isnt in there, Should it be or am I lookin gin the wrong place
Title: Re: Re-occuring error message
Post by: bloc on January 09, 2010, 09:26:35 PM
Just change $row['smileys_enabled'] to $row['smileysEnabled'].
Title: Re: Re-occuring error message
Post by: dunks on January 10, 2010, 02:41:57 PM
Like I say which folder do I need to go into as ive searched  and I cant find this line :-\ :-\
Title: Re: Re-occuring error message
Post by: ZarPrime on January 10, 2010, 03:31:52 PM
Unless I'm mistaken, that line should be ...


$row['body'] = parse_bbc($row['body'], $row['smileysEnabled']);


... and should be about line 1758 in /Sources/TPmodules.php

ZarPrime
Title: Re: Re-occuring error message
Post by: dunks on January 17, 2010, 08:33:33 PM
Ive changed the line to       
$row['body'] = parse_bbc($row['body'], $row['smileysEnabled']);

And im still continuing to get the error messages
Title: Re: Re-occuring error message
Post by: mc on January 17, 2010, 10:48:49 PM
should smileysenabled not be all lower case?
Title: Re: Re-occuring error message
Post by: ccbtimewizard on January 17, 2010, 11:28:52 PM
SMF 1.1 uses camel-cased (eg SomeThing), while SMF 2.0 uses counter-case (eg some_thing or something).
Title: Re: Re-occuring error message
Post by: mc on January 17, 2010, 11:47:20 PM
Just checked and it is smileysEnabled.

Having searched for the error the original poster has, the problem has been seen before, but no solution was found - http://www.tinyportal.net/index.php?topic=29210.0
Title: Re: Re-occuring error message
Post by: dunks on January 22, 2010, 10:11:00 PM
Any body have a solution to this please
Title: Re: Re-occuring error message
Post by: Skhilled on January 22, 2010, 11:18:17 PM
Searching the Bug tracker would have shown you what is going on:

http://www.tinyportal.net/index.php?action=bugtracker;sa=bug519
Title: Re: Re-occuring error message
Post by: Lesmond on January 23, 2010, 07:52:18 AM
Good call Skhilled, and nice find on that  8)
Title: Re: Re-occuring error message
Post by: dunks on May 30, 2010, 08:33:00 PM
I have changed the line as per the fix, but im still getting the error
Title: Re: Re-occuring error message
Post by: IchBin on May 30, 2010, 08:57:09 PM
Attach your file to your next post please.  Do not post the code, thanks.
Title: Re: Re-occuring error message
Post by: dunks on May 31, 2010, 10:53:40 AM
Thanks
Title: Re: Re-occuring error message
Post by: IchBin on May 31, 2010, 06:22:47 PM
At a quick glance the file looks ok. Can you Enable eval() (http://www.simplemachines.org/community/index.php?topic=290186.0) and tell me if the filename and line number change on your error?
Title: Re: Re-occuring error message
Post by: dunks on May 31, 2010, 09:50:48 PM
still get the same message, but ive just checked the error log in the cpanel and its different, so dont know if this will help, and theres 300 of the same errors in an hour

2010-05-31 15:49:40.294 [INFO] [86.17.178.27:58894-0#APVH_********.co.uk] File not found [/home/peugeot3/public_html/404.shtml]
2010-05-31 15:49:40.294 [INFO] [86.17.178.27:58894-0#APVH_********.co.uk] File not found [/home/peugeot3/public_html/Themes/default/TPShout.css.css]
Title: Re: Re-occuring error message
Post by: IchBin on June 01, 2010, 01:42:42 AM
Sorry, but I was a little confused so I went back and read this topic again. Are you having the tp-showlatest error or the smileys_enabled error?
Title: Re: Re-occuring error message
Post by: dunks on June 01, 2010, 08:26:43 PM
just rechecked the error log and they all seam to be tp-showlatest error
Title: Re: Re-occuring error message
Post by: IchBin on June 01, 2010, 09:45:22 PM
Do you have the TPShout.english.php file in your Themes/default/languages directory? Assuming you're using the english (not english-utf8) language in your forum?

If you are using the english language, and you have that file in the specified folder: if you open the file does it have this line in it?
$txt['tp-showlatest'] = 'Show 50 latest';

Title: Re: Re-occuring error message
Post by: dunks on June 02, 2010, 05:04:41 PM
Yes it does
Title: Re: Re-occuring error message
Post by: IchBin on June 02, 2010, 08:38:10 PM
Quote from: IchBinâ„¢ on June 01, 2010, 09:45:22 PM
Do you have the TPShout.english.php file in your Themes/default/languages directory? Assuming you're using the english (not english-utf8) language in your forum?

If you are using the english language, and you have that file in the specified folder: if you open the file does it have this line in it?
$txt['tp-showlatest'] = 'Show 50 latest';

So, are you using utf8 or not?
Title: Re: Re-occuring error message
Post by: dunks on June 02, 2010, 09:09:59 PM
how do I know ?, In the server settings on the forum it says english
Title: Re: Re-occuring error message
Post by: IchBin on June 02, 2010, 10:16:58 PM
There are two places to check. One is the server settings. The other if you allow in the features and options settings users to select their own language, you'll then have to check your profile to see what it is set to. If your indeed on English, then I have no idea why you are having this problem. Unless you have some other custom block or something calling the same code. That would be my only guess.
Title: Re: Re-occuring error message
Post by: dunks on June 03, 2010, 08:37:20 PM
Members cant select there own language, So I persume im just going to have to grin and bear it then
Title: Re: Re-occuring error message
Post by: dunks on August 13, 2010, 08:49:36 PM
Hi

Since my last post I have had 15000 error messages all saying the same ..

8: Undefined index: tp-showlatest
File: /home/peugeot3/public_html/Themes/default/languages/Post.english.php (tp_above sub template - eval?)
Line: 249

Is there any solution to this yet ? Have I anything to worry about ?
Title: Re: Re-occuring error message
Post by: IchBin on August 13, 2010, 10:47:14 PM
Nothing to worry about. All it is, is a missing string some where.
Title: Re: Re-occuring error message
Post by: IchBin on August 13, 2010, 10:50:19 PM
If you could figure out when you are getting this error, it would help us to figure out how to fix it. Is it only when the shoutbox is on the page? Does it only happen with guest, or does it happen with logged users too? Do you get the errors when you disable the blocks? Try all sort of tests like that to see if you can narrow it down