News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Display.php Undefined offset ?action=dlattach;attach=363;type=avatar

Started by T3CHN0, September 30, 2011, 02:18:24 PM

Previous topic - Next topic

T3CHN0

Hello

my forum will not work with Internet explorer 8 or before.
each time a member try's to use my forum with IE they get an error message saying
QuoteStack overflow at line: 171
and each time they refresh they get the same error. all other browsers work OK

however all browsers IE Chrome Firefox or what ever all give the same error in my logs over and over
each time the forum is used I am given the same error in my logs

I am using SMF 2.0.1 Theme Darkrain V2

This is my error

/smf/index.php?action=dlattach;attach=363;type=avatar]http://www.mysite.com/smf/index.php?action=dlattach;attach=363;type=avatar
8: Undefined offset:  9
/home1/krajinal/public_html/mysite/smf/Sources/Display.php
Line: 1345     
 

I have ignored this error for the passed 2 weeks but now trying to work out my error

Please click on image to make bigger

List of mods installed
1. Enhanced PM Popup 1.0.1
2. Stop Spammer 2.3.9
3. Activity_Bar 1.0.1.3
4. WYSIWYG Quick Reply 2.3
5. Who_Xrevolution 1.2
6. Enhancements to purge inactive members 1.2.3
7. Downloads System 1.3.8
8. Download Quota 1.3
9. PM Auto Responder 1.0
10. AJAX Instant Quick Reply 1.0.4
11. Country Flags 1.1.2
12. Hide Edited Line 1.0.0
13. BK-SMF Sub-Board 1.5
14. Login Security 1.0.2.2
15. Advanced Recent Posts 1.1
16. Change Report Text To Image 1.0
17. CustomBox 1.0
18. Menu Buttons 1.1
19. Active Members In Topic 1.8
20. Glossy BBCODE 1.0
21. Resize Attached Images 2.4.1
22. Member Awards 2.2.3
23. EzPortal 0.5.2
24. Hide SMF Version 1.0.6
25. Auto Refresh Who Index 1.1
26. Go up Top 1.1.0
27. Page Management 1.4
28. Topic Solved 1.1.1
29. Bad Behavior mod 1.5.5
30. Custom  And  Scripts 0.1
31. Profile Comments 2.0
32. Admin member list registration date 1.2
33. Custom Post Title 1.2.1
34. Reflect BBCODE 1.0.5
35. Ban Filter 1.0
36. Last Users In 24 Hours 1.0
37. PM Attachments 1.6
38. Bots VS Browsers 1.1
39. Aeva Media 2.10
40. NiceTooltips 1.7
41. Move Topic Notification 1.2
42. New Layout for Last Post Info 1.5
43. Profile Comments 2.0
44. AjaxChat Integration 3.2.2
45. Yarex 2 smiley set 2.0.0.1
46. SMF Gallery Lite 3.1.1
47. Event Reminder Mod for SMF2 0.06
48. SMF 2.0.1 Update 1.0
49. Forum Firewall 1.1.5
50. Firefox Watcher 1.0
51. SMF Downloads Directory 1.0.2
52. Center User Info In Posts 1.0
53. last login 2.3
54. Add IP2Location to Track IP 1.3
      55. SMF Rivals 0.3.0            not installed
56. Auto Email Inactive Users 1.7
57. Additional Home page Title | S-Ace 3.3
58. New Topic Button 1.0
59. The SMF File Management Tool 1.0.1
60. SMF Arcade 2.5 RC1
61. Curve_centered_menu 1.4
62. Add Domaintools to TrackIP 1.1
63. Contact Page 3.0
64. SMF Bay PRO 1.0.6.1
65. Birthday Posts 0.12.1 Beta
66. Simple ImageShack 4.0.0
67. Profile Song Player 1.0 Beta
68. Order Custom Profile Fields 1.1.1
69. PM Readed 1.1
70. YouTube BBCode 2.6
71. Group Color in Posts and Profile 1.3
72. css overide 1.0.1
73. Current Signature Mod 1.2
74. Glossy BBCODE 1.0
75. Minimize post buttons 0.0
76. SMF Articles 1.3.2.1
77. Quote Always WYSIWYG 1.01
78. Enhanced Dropdown 1.2
79. Adk Blog 2.0
80. Board Notices 1.0.2
81. Memberlist_Xrevolution 1.2
82. Custom Greeting Mod 1.1.1
83. Enhanced Profile Header 1.2.3
84. Menu Order 0.2.3
85. Buy me A drink

emanuele

This is a problem with some mod, not a SMF bug.
Moving to support.


Take a peek at what I'm doing! ;D




Hai bisogno di supporto in Italiano?

Aiutateci ad aiutarvi: spiegate bene il vostro problema: no, "non funziona" non è una spiegazione!!
1) Cosa fai,
2) cosa ti aspetti,
3) cosa ottieni.

T3CHN0

I found the problem with
all browsers IE Chrome Firefox or what ever all give the same error in my logs over and over
each time the forum is used I am given the same error in my logs

/smf/index.php?action=dlattach;attach=363;type=avatar]http://www.mysite.com/smf/index.php?action=dlattach;attach=363;type=avatar
8: Undefined offset:  9
/home1/krajinal/public_html/mysite/smf/Sources/Display.php
Line: 1345


Fault was mine, I remember doing this on install of mod (Download Quota 1.3)

Mods LINE =
list ($id_folder, $real_filename, $file_hash, $file_ext, $id_attach, $attachment_type, $mime_type, $is_approved, $file_size) = $temp_row;
before MOD =
list ($id_folder, $real_filename, $file_hash, $file_ext, $id_attach, $attachment_type, $mime_type, $is_approved, $id_member) = $smcFunc['db_fetch_row']($request);
My edit =
list ($id_folder, $real_filename, $file_hash, $file_ext, $id_attach, $attachment_type, $mime_type, $is_approved, $id_member, $file_size) = $temp_row;

As the mod does not includ $id_member in it's string by it not being there what will it effect in my forum.


Also
QuoteStack overflow at line: 171
still happens to members who use IE8 or before even after the avatar error is now fixed
anyone know what this error is?

T3CHN0

wow, with no support on this one but allot of researching I found the answere to my error with Internet Explorer why everyone
gets "Stack overflow at line: 171" The mod called  "Reflect BBCODE"
works with all browsers except IE,8 or before if you have the java scrpit fault but also depends on users computers setups

I found by removing this string everyone who uses my forum with IE no longer get the 171 error anymore

<script language="JavaScript" type="text/javascript" src="', $settings['default_theme_url'], '/reflection.js"></script>

but in saying that this mod works very well with IE my problem was I had 2 of the same strings as to why it was a problem

<script language="JavaScript" type="text/javascript" src="', $settings['default_theme_url'], '/reflection.js"></script><script language="JavaScript" type="text/javascript" src="', $settings['default_theme_url'], '/reflection.js"></script></home>

removed the doubled string and walla all good now.

Cheers

Illori

reflection.js is not a default file it had to be placed there by a mod, no wonder no one could find out the issue.

Advertisement: