Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: bfeist on January 11, 2018, 03:10:37 PM

Title: White screen on just a few posts 2.0.15
Post by: bfeist on January 11, 2018, 03:10:37 PM
Hi all,
I'm a happy user of SMF. I've been using it for many years to run a local hobby group forum and it has always been amazing.

I'm hoping someone can help with a problem that has just cropped up. one or two forum topics result in a white screen. All others work perfectly. I've searched this forum and done some googling and have turned on PHP error reporting and searched every PHP error log and I can not see an error being thrown anywhere. PHP version is 5.6.33. Viewing source on the blank screen shows no markup whatsoever. It's a real mystery. I'm a dev by trade, but I can't find a way in to problem solve this without being able to see an error anywhere. Can anyone recommend a way in?

Thanks in advance.
Title: Re: White screen on just a few posts 2.0.15
Post by: Sir Osis of Liver on January 11, 2018, 03:27:01 PM
Link to a blank topic?
Title: Re: White screen on just a few posts 2.0.15
Post by: bfeist on January 11, 2018, 03:32:22 PM
http://temac.ca/smf/index.php/topic,6439.0.html
Title: Re: White screen on just a few posts 2.0.15
Post by: Illori on January 11, 2018, 03:34:38 PM
try installing https://custom.simplemachines.org/mods/index.php?mod=4111 and see if it helps.
Title: Re: White screen on just a few posts 2.0.15
Post by: lurkalot on January 11, 2018, 03:37:35 PM
Is there something strange going on with your url's

The link you posted, http://temac.ca/smf/index.php/topic,6439.0.html

This works, http://temac.ca/smf/index.php?topic=6439.0

Edit:  Sorry my mistake, it doesn't
Title: Re: White screen on just a few posts 2.0.15
Post by: Illori on January 11, 2018, 03:39:11 PM
the second link does not load the topic, it loads the board index. so they are not the same.
Title: Re: White screen on just a few posts 2.0.15
Post by: Sir Osis of Liver on January 11, 2018, 03:49:37 PM
That's odd, something's changing the urls.  This one works -

http://temac.ca/smf/index.php/topic,6297.0.html

Something in .htaccess?
Title: Re: White screen on just a few posts 2.0.15
Post by: bfeist on January 11, 2018, 04:32:22 PM
Quote from: Illori on January 11, 2018, 03:34:38 PM
try installing https://custom.simplemachines.org/mods/index.php?mod=4111 and see if it helps.

That did the trick. Thanks so much!
Title: Re: White screen on just a few posts 2.0.15
Post by: Sir Osis of Liver on January 11, 2018, 04:34:17 PM
Why would that affect urls?
Title: Re: White screen on just a few posts 2.0.15
Post by: Illori on January 11, 2018, 04:36:02 PM
the topic must have had attachments that were hitting the memory limit and causing a white screen.
Title: Re: White screen on just a few posts 2.0.15
Post by: Sir Osis of Liver on January 11, 2018, 04:36:51 PM
Quote from: Sir Osis of Liver on January 11, 2018, 04:34:17 PM
Why would that affect urls?

Title: Re: White screen on just a few posts 2.0.15
Post by: Illori on January 11, 2018, 04:47:54 PM
it does not affect the URL, it affects the page that the post with the attachment on it is on.
Title: Re: White screen on just a few posts 2.0.15
Post by: Sir Osis of Liver on January 11, 2018, 04:51:45 PM
I understand that, but why are the urls changed to .html links?
Title: Re: White screen on just a few posts 2.0.15
Post by: Arantor on January 11, 2018, 04:54:18 PM
Because the 'search engine friendly URLs' option is turned on. It's a core feature since, well, pretty much forever when in the olden days search engines would assume everything with a ? in the URL was automatically duplicate content.
Title: Re: White screen on just a few posts 2.0.15
Post by: Sir Osis of Liver on January 11, 2018, 05:00:36 PM
Hmm, I must have a different server setup, that option has no affect on my installs.
Title: Re: White screen on just a few posts 2.0.15
Post by: Arantor on January 11, 2018, 06:22:02 PM
It also only works in Apache.
Title: Re: White screen on just a few posts 2.0.15
Post by: Sir Osis of Liver on January 11, 2018, 10:21:09 PM
Support and Credits reports server running LiteSpeed, my account info shows Apache 2.4.9.
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.thekrashsite.com%2Fpics%2Fidk.gif&hash=9ac7acf13f4cfaa1b58390444a38dea11e5473d2)

Title: Re: White screen on just a few posts 2.0.15
Post by: bfeist on January 12, 2018, 11:37:05 AM
For the record, the images that caused this error were only about 600k, but they were very high resolution 5500x3000