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 ?
Did you use the search? I'm pretty sure this error has been seen before.
Yes i did and I couldnt find anything :-\
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
Just change $row['smileys_enabled'] to $row['smileysEnabled'].
Like I say which folder do I need to go into as ive searched and I cant find this line :-\ :-\
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
Ive changed the line to
$row['body'] = parse_bbc($row['body'], $row['smileysEnabled']);
And im still continuing to get the error messages
should smileysenabled not be all lower case?
SMF 1.1 uses camel-cased (eg SomeThing), while SMF 2.0 uses counter-case (eg some_thing or something).
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
Any body have a solution to this please
Searching the Bug tracker would have shown you what is going on:
http://www.tinyportal.net/index.php?action=bugtracker;sa=bug519
Good call Skhilled, and nice find on that 8)
I have changed the line as per the fix, but im still getting the error
Attach your file to your next post please. Do not post the code, thanks.
Thanks
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?
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]
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?
just rechecked the error log and they all seam to be tp-showlatest error
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';
Yes it does
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?
how do I know ?, In the server settings on the forum it says english
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.
Members cant select there own language, So I persume im just going to have to grin and bear it then
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 ?
Nothing to worry about. All it is, is a missing string some where.
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