News:

SMF 2.1.2 has been released! Take it for a spin! Read more.

Main Menu

Smf 2.1RC 2 Display.php (Line 1656)

Started by Seyit, April 12, 2019, 04:56:18 PM

Previous topic - Next topic

Seyit

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

Kindred

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
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Sesquipedalian

Please post the following:

  • Information on how to reproduce the error.
  • A screenshot of the full error message shown in the Error log
  • A screenshot of the backtrace information for the error.
Slava Ukraini!
Heroiam slava!

I promise you nothing.

Sesqu... Sesqui... what?
Sesquipedalian, the best word in the English language.

Arantor

The post has an icon that SMF doesn't know about, so the array doesn't load correctly and then produces a broken image.

Seyit


Sesquipedalian

Replikacep, Arantor is correct. Make sure that clip.png is in the Themes/<theme_name>/images/post/ folder.
Slava Ukraini!
Heroiam slava!

I promise you nothing.

Sesqu... Sesqui... what?
Sesquipedalian, the best word in the English language.

Seyit

Quote from: 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.

I'm sure it's in

Seyit

this problem happens when you add an add-in to the topic

GigaWatt

"This is really a generic concept about human thinking - when faced with large tasks we're naturally inclined to try to break them down into a bunch of smaller tasks that together make up the whole."

"A 500 error loosely translates to the webserver saying, "WTF?"..."

Sesquipedalian

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.
Slava Ukraini!
Heroiam slava!

I promise you nothing.

Sesqu... Sesqui... what?
Sesquipedalian, the best word in the English language.

Seyit


Advertisement: