Simple Machines Community Forum

SMF Support => SMF 2.1.x Support => Topic started by: Replikacep on April 12, 2019, 04:56:18 PM

Title: Smf 2.1RC 2 Display.php (Line 1656)
Post by: Replikacep on April 12, 2019, 04:56:18 PM
Type of error: Undefined
8: Undefined index: https://smdestek.net/index.php?dummy=1&topic=84.msg158&topicseen
/home/smdesteknet/public_html/Sources/Display.php (Line 1656)


==>1656:    

   

   

$output['icon_url'] = $settings[$context['icon_sources'][$output['icon']]] . '/post/' . $output['icon'] . '.png';


https://smdestek.net/oynama-surenizi-gosterme-eklentisi-t84.0.html

icons broken images  error log therefore gives error
Title: Re: Smf 2.1RC 2 Display.php (Line 1656)
Post by: Kindred on April 12, 2019, 05:05:24 PM
I think you may be confused as to the chicken and egg here...

I suspect that the image is broken because one of the indexes in $output is not properly defined...  the error is indicative of this  and the missing index is causing the broken image - not the other way around
Title: Re: Smf 2.1RC 2 Display.php (Line 1656)
Post by: Sesquipedalian on April 12, 2019, 05:07:01 PM
Please post the following:
Title: Re: Smf 2.1RC 2 Display.php (Line 1656)
Post by: Arantor on April 12, 2019, 05:07:27 PM
The post has an icon that SMF doesn't know about, so the array doesn't load correctly and then produces a broken image.
Title: Re: Smf 2.1RC 2 Display.php (Line 1656)
Post by: Replikacep on April 12, 2019, 05:11:21 PM
pictures 
link path incorrect

https://smdestek.net/post/clip.png
Title: Re: Smf 2.1RC 2 Display.php (Line 1656)
Post by: Sesquipedalian on April 12, 2019, 05:59:41 PM
Replikacep, Arantor is correct. Make sure that clip.png is in the Themes/<theme_name>/images/post/ folder.
Title: Re: Smf 2.1RC 2 Display.php (Line 1656)
Post by: Replikacep on April 12, 2019, 06:08:16 PM
Replikacep, Arantor is correct. Make sure that clip.png is in the Themes/<theme_name>/images/post/ folder.

I'm sure it's in
Title: Re: Smf 2.1RC 2 Display.php (Line 1656)
Post by: Replikacep on April 12, 2019, 06:15:13 PM
this problem happens when you add an add-in to the topic
Title: Re: Smf 2.1RC 2 Display.php (Line 1656)
Post by: GigaWatt on April 12, 2019, 08:24:23 PM
You mean attachment?
Title: Re: Smf 2.1RC 2 Display.php (Line 1656)
Post by: Sesquipedalian on April 12, 2019, 09:01:43 PM
Go to My Community ►  Administration Center ►  Smileys and Message Icons ►  Message Icons a check if there are any broken icons. If not, my next guess is that a mod is causing a problem, because I cannot reproduce this in my tests.
Title: Re: Smf 2.1RC 2 Display.php (Line 1656)
Post by: Replikacep on April 13, 2019, 02:11:30 AM
Similar Topics  found problem with this mode
reported to the owner of the mode  : https://www.simplemachines.org/community/index.php?topic=489947.msg4015807#msg4015807