Error when clicking on Help > Posting

Started by kizer, May 06, 2008, 06:53:47 PM

Previous topic - Next topic

kizer

Using 1.1.5

If I click on http://www.domainname.com/forum/index.php? action=help;page=post

Which is Help > Posting
I get the following error in my error logs.

8: Undefined index: manual_posting_Change_size
File: /home/kizer/public_html/forum/Themes/default/languages/Manual.english.php (eval?)
Line: 1652

When I run debug I get the following message.

Templates: 1: Help (default).
Sub templates: 5: main_above, manual_above, manual_posting, manual_below, main_below.
Language files: 1: Manual.english (default).
Files included: 8 - 339KB. (show./index.php, ./Settings.php, ./Sources/QueryString.php, ./Sources/Subs.php, ./Sources/Errors.php, ./Sources/Load.php, ./Sources/Security.php, ./Sources/Help.php)
Queries used: 10.

            DELETE FROM smf_log_online
            WHERE logTime < NOW() - INTERVAL 900 SECOND
               AND session != '8b75af7bcc7ecc992c01e0c3e659f343'
   in /home/kizer/public_html/forum/Sources/Subs.php line 2699, which took 0.00029683 seconds.

         UPDATE smf_log_online
         SET logTime = NOW(), ip = IFNULL(INET_ATON('208.71.163.202'), 0), url = 'a:4:{s:10:\"show_debug\";s:1:\"1\";s:6:\"action\";s:4:\"help\";s:4:\"page\";s:4:\"post\";s:10:\"USER_AGENT\";s:101:\"Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; InfoPath.1; .NET CLR 2.0.50727)\";}'
         WHERE session = '8b75af7bcc7ecc992c01e0c3e659f343'
         LIMIT 1
   in /home/kizer/public_html/forum/Sources/Subs.php line 2707, which took 0.00038195 seconds.

               SELECT code, filename, description
               FROM smf_smileys
   in /home/kizer/public_html/forum/Sources/Subs.php line 2589, which took 0.00033212 seconds.

      INSERT INTO smf_log_errors
         (ID_MEMBER, logTime, ip, url, message, session)
      VALUES (2, 1210113892, SUBSTRING('208.71.163.202', 1, 16), SUBSTRING('?show_debug=1;action=help;page=post', 1, 65534), SUBSTRING('8: Undefined index: manual_posting_Change_size<br />File: /home/kizer/public_html/forum/Themes/default/languages/Manual.english.php (eval?)<br />Line: 1652', 1, 65534), '2e5abce451d577eb5dcda652a25dbad9')
   which took 0.00031996 seconds.

         SELECT lastvisit, frequency, visits
         FROM smf_ob_googlebot_stats
         WHERE url = '/forum/index.php?show_debug=1;action=help;page=post'
            AND agent = 'Googlebot'
         LIMIT 1
   in /home/kizer/public_html/forum/Sources/Subs.php line 3570, which took 0.0001719 seconds.
Own a Jeep? Links4Jeeps.com

kizer

Own a Jeep? Links4Jeeps.com

Jade Elizabeth

Those are Eval errors, please do this for me:

Quote from: BlackMage on October 15, 2007, 09:44:35 AM
This is an eval error, the error might not even be in that file.

you'll have to disable template eval temporarily to get the real file and error line.

To do this, run this query in PHPmyAdmin (What is phpMyAdmin?)

INSERT INTO smf_settings VALUES ('disableTemplateEval', 1);

Once that's done, get the error again and copy it (the file and line may have changed), then run this query to re-enable it:

DELETE FROM smf_settings WHERE variable = 'disableTemplateEval';

Once proud Documentation Writer and Help Squad Leader | Check out my new adult coloring career: Color With Jade/Patreon.

kizer

Templates: 1: Help (default).
Sub templates: 5: main_above, manual_above, manual_posting, manual_below, main_below.
Language files: 1: Manual.english (default).
Files included: 14 - 666KB. (show./index.php, ./Settings.php, ./Sources/QueryString.php, ./Sources/Subs.php, ./Sources/Errors.php, ./Sources/Load.php, ./Sources/Security.php, ./Themes/default/index.template.php, ./Themes/default/languages/index.english.php, ./Themes/default/languages/Modifications.english.php, ./Sources/Help.php, ./Themes/default/Help.template.php, ./Themes/default/languages/Manual.english.php, ./Sources/Subs-AutoEmbedVideoClips.php)
Queries used: 8.

               SELECT code, filename, description
               FROM smf_smileys
   in /home/kizer/public_html/forum/Sources/Subs.php line 2589, which took 0.00047994 seconds.

      INSERT INTO smf_log_errors
         (ID_MEMBER, logTime, ip, url, message, session)
      VALUES (2, 1210608825, SUBSTRING('208.71.163.202', 1, 16), SUBSTRING('?show_debug=1;action=help;page=post', 1, 65534), SUBSTRING('8: Undefined index: manual_posting_Change_size<br />File: /home/kizer/public_html/forum/Themes/default/Help.template.php<br />Line: 1652', 1, 65534), 'e18a1db8441a65d0e272c9865b0d8e31')
   which took 0.00053596 seconds.

         SELECT lastvisit, frequency, visits
         FROM smf_ob_googlebot_stats
         WHERE url = '/forum/index.php?show_debug=1;action=help;page=post'
            AND agent = 'Googlebot'
         LIMIT 1
   in /home/kizer/public_html/forum/Sources/Subs.php line 3570, which took 0.00046802 seconds.
Own a Jeep? Links4Jeeps.com

H

-H
Former Support Team Lead
                              I recommend:
Namecheap (domains)
Fastmail (e-mail)
Linode (VPS)
                             

kizer

1. Popup PM Message - Uses The Same Window 1.1   [ Uninstall ] [ List Files ] [ Delete ] 
2. Trim Url 1.0.2   [ Uninstall ] [ List Files ] [ Delete ] 
3. Admin Modification Menu Section 1.0.2   [ Uninstall ] [ List Files ] [ Delete ] 
4. GoogleTagged 1.2   [ Uninstall ] [ List Files ] [ Delete ] 
5. Force Reason for Deletion 1.0   [ List Files ] [ Delete ] 
6. Add Domaintools to TrackIP 1.0   [ Uninstall ] [ List Files ] [ Delete ] 
7. Anonymous Boards 0.3b  [ Apply Mod ] [ List Files ] [ Delete ] 
8. Related Topics 1.2.0   [ Uninstall ] [ List Files ] [ Delete ] 
9. Easy Edit Meta Data 1.0   [ Uninstall ] [ List Files ] [ Delete ] 
10. SMF Arcade 2.0.12   [ List Files ] [ Delete ] 
11. YouTube BBCode 1.7   [ Uninstall ] [ List Files ] [ Delete ] 
12. PM On Registration 1.0.2   [ Uninstall ] [ List Files ] [ Delete ] 
13. RemovePM 1.1.4   [ Uninstall ] [ List Files ] [ Delete ] 
14. SMF Sitemap 1.2.1   [ Uninstall ] [ List Files ] [ Delete ] 
15. Custom Profile Field Mod 3.17   [ Uninstall ] [ List Files ] [ Delete ] 
16. FontandSizeDropdown_1.2 1.3   [ Uninstall ] [ List Files ] [ Delete ] 
17. Google Member Map 0.1   [ Uninstall ] [ List Files ] [ Delete ] 
18. SMF 1.0.13 / 1.1.5 / 2.0 b3.1 Update 1.0   [ Uninstall ] [ List Files ] [ Delete ] 
19. Auto Email Inactive Ordinary Users 1.6   [ Uninstall ] [ List Files ] [ Delete ] 
20. Googlebot & Spiders Mod 2.0.3   [ Uninstall ] [ List Files ] [ Delete ] 
21. MessagePreviewOnHover 1.5  [ List Files ] [ Delete ] 
22. Auto Embed Video Clips 2.2   [ Uninstall ] [ List Files ] [ Delete ] 
23. Show Number of Errors at Top of Forum 1.0   [ Uninstall ] [ List Files ] [ Delete ] 
24. Titled Links 1.1c   [ Uninstall ] [ List Files ] [ Delete ] 
25. Auto Email Inactive Ordinary Users 1.2  [ List Files ] [ Delete ] 
26. Save PM as HTML 1.0.6   [ List Files ] [ Delete ] 
27. Ultimate Profile 0.8   [ Uninstall ] [ List Files ] [ Delete ] 
28. FAQ Tags 0.1   [ Uninstall ] [ List Files ] [ Delete ] 
29. Global Announcements 1.0   [ Uninstall ] [ List Files ] [ Delete ] 
30. All Topics Unsubscriber 1.1   [ Uninstall ] [ List Files ] [ Delete ] 
31. User Control Panel By Alan S 1.2  [ Apply Mod ] [ List Files ] [ Delete ] 
32. EmailFlash 2.0   [ List Files ] [ Delete ] 
33. Automatic Avatar for New Users 2   [ List Files ] [ Delete ] 
34. Spell Check Custom Words 1.0.1   [ Uninstall ] [ List Files ] [ Delete ] 
35. New Topic Button 1.0   [ Uninstall ] [ List Files ] [ Delete ] 
36. PaypalDonations 1.7   [ List Files ] [ Delete ] 
37. Display Age and Location next to posts 1.0   [ Uninstall ] [ List Files ] [ Delete ] 
38. SMF 1.1.4 Search "brd" Bug Fix (1.0.1) 1.0.1   [ Uninstall ] [ List Files ] [ Delete ] 
39. Personal Message Auto Responder 0.2  [ Apply Mod ] [ List Files ] [ Delete ] 
40. Sticky First Post (extends sticky topic) 1.3.2   [ Uninstall ] [ List Files ] [ Delete ] 
41. Paid Subscriptions 0.18   [ Uninstall ] [ List Files ] [ Delete ] 
Own a Jeep? Links4Jeeps.com

kizer

I really didn't notice the error up until recently when I was playing around in the help section, but then again I don't use the help section much myself.
Own a Jeep? Links4Jeeps.com

Jade Elizabeth

Quote from: kizer on May 12, 2008, 12:14:36 PM
Templates: 1: Help (default).
Sub templates: 5: main_above, manual_above, manual_posting, manual_below, main_below.
Language files: 1: Manual.english (default).
Files included: 14 - 666KB. (show./index.php, ./Settings.php, ./Sources/QueryString.php, ./Sources/Subs.php, ./Sources/Errors.php, ./Sources/Load.php, ./Sources/Security.php, ./Themes/default/index.template.php, ./Themes/default/languages/index.english.php, ./Themes/default/languages/Modifications.english.php, ./Sources/Help.php, ./Themes/default/Help.template.php, ./Themes/default/languages/Manual.english.php, ./Sources/Subs-AutoEmbedVideoClips.php)
Queries used: 8.

               SELECT code, filename, description
               FROM smf_smileys
   in /home/kizer/public_html/forum/Sources/Subs.php line 2589, which took 0.00047994 seconds.

      INSERT INTO smf_log_errors
         (ID_MEMBER, logTime, ip, url, message, session)
      VALUES (2, 1210608825, SUBSTRING('208.71.163.202', 1, 16), SUBSTRING('?show_debug=1;action=help;page=post', 1, 65534), SUBSTRING('8: Undefined index: manual_posting_Change_size<br />File: /home/kizer/public_html/forum/Themes/default/Help.template.php<br />Line: 1652', 1, 65534), 'e18a1db8441a65d0e272c9865b0d8e31')
   which took 0.00053596 seconds.

         SELECT lastvisit, frequency, visits
         FROM smf_ob_googlebot_stats
         WHERE url = '/forum/index.php?show_debug=1;action=help;page=post'
            AND agent = 'Googlebot'
         LIMIT 1
   in /home/kizer/public_html/forum/Sources/Subs.php line 3570, which took 0.00046802 seconds.


Where are you getting this from?
Is this REALLY in the error log?
Once proud Documentation Writer and Help Squad Leader | Check out my new adult coloring career: Color With Jade/Patreon.

kizer

8: Undefined index: manual_posting_Change_size
File: /home/kizer/public_html/forum/Themes/default/Help.template.php
Line: 1652
Own a Jeep? Links4Jeeps.com

Jade Elizabeth

Can I have 5 lines above and below that line please?
Once proud Documentation Writer and Help Squad Leader | Check out my new adult coloring career: Color With Jade/Patreon.

kizer

From what I can tell this might be the line its pointing out.
', $txt['manual_posting_Change_size'], '

But here is the before and after about it.

<select onchange="surroundText(\'[font=\'+this.options[this.selectedIndex].value+\']\', \'[/font]\', document.forms.postmodify.message); this.selectedIndex = 0;" style="margin-bottom: 1ex; margin-left: 2ex;">
<option value="" selected="selected">
', $txt['manual_posting_Change_Font'], '
</option>
<option value="Arial">
', $txt['manual_posting_Change_Font_Arial'], '
</option>
<option value="Times New Roman">
', $txt['manual_posting_Change_Font_Times'], '
</option>
<option value="Comic Sans MS">
', $txt['manual_posting_Change_Font_Comic'], '
</option>
<option value="Verdana">
', $txt['manual_posting_Change_Font_Verd'], '
</option>
<option value="Haettenschweiler">
', $txt['manual_posting_Change_Font_Haett'], '
</option>
<option value="Tahoma">
', $txt['manual_posting_Change_Font_Taho'], '
</option>
</select><br />
<select onchange="surroundText(\'[size=\'+this.options[this.selectedIndex].value+\']\', \'[/size]\', document.forms.postmodify.message); this.selectedIndex = 0;" style="margin-bottom: 1ex; margin-left: 2ex;">
<option value="" selected="selected">
', $txt['manual_posting_Change_size'], '
</option>
<option value="9pt">
', $txt['manual_posting_Change_Font_9'], '
</option>
<option value="10pt">
', $txt['manual_posting_Change_Font_10'], '
</option>
<option value="11pt">
', $txt['manual_posting_Change_Font_11'], '
</option>
<option value="12pt">
', $txt['manual_posting_Change_Font_12'], '
</option>
<option value="13pt">
', $txt['manual_posting_Change_Font_13'], '
</option>
<option value="14pt">
', $txt['manual_posting_Change_Font_14'], '
</option>
</select><br />


Looks like it might have something to do with this mod.
http://custom.simplemachines.org/mods/index.php?mod=639
Own a Jeep? Links4Jeeps.com

Jade Elizabeth

I think you should search that mods topic, or contact the author :).

I don't see anything wrong with it, unless you don't have the text strings from the modification. Check your language files for them (or parse the mod www.sleepycode.com and put them there).
Once proud Documentation Writer and Help Squad Leader | Check out my new adult coloring career: Color With Jade/Patreon.

kizer

What I don't understand is I only get that error in the help section under posts. I'll tinker with it some or maybe remove that mod and see if it goes away. Thanks and of course I don't know why I didn't think of it earlier.
Own a Jeep? Links4Jeeps.com

kizer

Welp removed the mod entry in the Help.template.php and all is well again. I guess some how it didn't like being there. I removed it and everything is back to normal. Thank you for all your help and giving me that kick in the pants to fix my problem. I was only stumped because I couldn't figure out why the help section would of had a mod in it.
Own a Jeep? Links4Jeeps.com

Jade Elizabeth

Once proud Documentation Writer and Help Squad Leader | Check out my new adult coloring career: Color With Jade/Patreon.

maihannijat

You have removed Font Size Drop down mod? and fix this issue

cause i have same errors in my log.

Thanks

Advertisement: