Advertisement:

Author Topic: Smf 2.1RC 2 Display.php (Line 1656)  (Read 551 times)

Offline Replikacep

  • Jr. Member
  • **
  • Posts: 395
  • Gender: Male
    • Orjinal Cin Kore Telefon lari Rom ve Destek
Smf 2.1RC 2 Display.php (Line 1656)
« 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

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 58,330
  • Gender: Male
    • Kindred-999 on GitHub
Re: Smf 2.1RC 2 Display.php (Line 1656)
« Reply #1 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
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

Offline Sesquipedalian

  • The Mad Doctor
  • On Hiatus
  • Sr. Member
  • *
  • Posts: 908
  • Gender: Male
  • It works! ... in theory.
    • Sesquipedalian on GitHub
Re: Smf 2.1RC 2 Display.php (Line 1656)
« Reply #2 on: April 12, 2019, 05:07:01 PM »
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.
I promise you nothing.

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

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 71,228
    • StoryBB/StoryBB on GitHub
Re: Smf 2.1RC 2 Display.php (Line 1656)
« Reply #3 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.
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline Replikacep

  • Jr. Member
  • **
  • Posts: 395
  • Gender: Male
    • Orjinal Cin Kore Telefon lari Rom ve Destek
Re: Smf 2.1RC 2 Display.php (Line 1656)
« Reply #4 on: April 12, 2019, 05:11:21 PM »
pictures 
link path incorrect

https://smdestek.net/post/clip.png

Offline Sesquipedalian

  • The Mad Doctor
  • On Hiatus
  • Sr. Member
  • *
  • Posts: 908
  • Gender: Male
  • It works! ... in theory.
    • Sesquipedalian on GitHub
Re: Smf 2.1RC 2 Display.php (Line 1656)
« Reply #5 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 promise you nothing.

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

Offline Replikacep

  • Jr. Member
  • **
  • Posts: 395
  • Gender: Male
    • Orjinal Cin Kore Telefon lari Rom ve Destek
Re: Smf 2.1RC 2 Display.php (Line 1656)
« Reply #6 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

Offline Replikacep

  • Jr. Member
  • **
  • Posts: 395
  • Gender: Male
    • Orjinal Cin Kore Telefon lari Rom ve Destek
Re: Smf 2.1RC 2 Display.php (Line 1656)
« Reply #7 on: April 12, 2019, 06:15:13 PM »
this problem happens when you add an add-in to the topic

Offline GigaWatt

  • The Smiley Guy
  • Support Specialist
  • SMF Hero
  • *
  • Posts: 2,059
  • Gender: Male
    • Macedonian electronics forum
Re: Smf 2.1RC 2 Display.php (Line 1656)
« Reply #8 on: April 12, 2019, 08:24:23 PM »
You mean attachment?
"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?"..."

Offline Sesquipedalian

  • The Mad Doctor
  • On Hiatus
  • Sr. Member
  • *
  • Posts: 908
  • Gender: Male
  • It works! ... in theory.
    • Sesquipedalian on GitHub
Re: Smf 2.1RC 2 Display.php (Line 1656)
« Reply #9 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.
I promise you nothing.

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

Offline Replikacep

  • Jr. Member
  • **
  • Posts: 395
  • Gender: Male
    • Orjinal Cin Kore Telefon lari Rom ve Destek
Re: Smf 2.1RC 2 Display.php (Line 1656)
« Reply #10 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