TinyPortal

Development => Bugs/Errors => Feedback => Rejected Bugs => Topic started by: tino on March 15, 2019, 07:46:49 PM

Title: Clean SMF 2.1 RC1 install and TinyPortal on PHP5.6 crashes
Post by: tino on March 15, 2019, 07:46:49 PM
Not sure why, and this is something that lurkalot has raised before and I never managed to replicate, but TinyPortal 1.6.x will crash on a clean install with the latest SMF 2.1 RC1 package when running on PHP 5.6 switching to PHP 7.x and everything works ok.
Title: Re: Clean SMF 2.1 RC1 install and TinyPortal on PHP5.6 crashes
Post by: lurkalot on March 15, 2019, 07:52:38 PM
Quote from: tino on March 15, 2019, 07:46:49 PM
Not sure why, and this is something that lurkalot has raised before and I never managed to replicate, but TinyPortal 1.6.x will crash on a clean install with the latest SMF 2.1 RC1 package when running on PHP 5.6 switching to PHP 7.x and everything works ok.

Please tell me this is the white screen issue I mentioned?
Title: Re: Clean SMF 2.1 RC1 install and TinyPortal on PHP5.6 crashes
Post by: tino on March 15, 2019, 07:55:11 PM
Quote from: lurkalot on March 15, 2019, 07:52:38 PM
Quote from: tino on March 15, 2019, 07:46:49 PM
Not sure why, and this is something that lurkalot has raised before and I never managed to replicate, but TinyPortal 1.6.x will crash on a clean install with the latest SMF 2.1 RC1 package when running on PHP 5.6 switching to PHP 7.x and everything works ok.

Please tell me this is the white screen issue I mentioned?

It is. It kills the whole of apache.  :knuppel2:
Title: Re: Clean SMF 2.1 RC1 install and TinyPortal on PHP5.6 crashes
Post by: tino on March 15, 2019, 08:01:37 PM
It's this function again... TPGetMemberColour
Title: Re: Clean SMF 2.1 RC1 install and TinyPortal on PHP5.6 crashes
Post by: lurkalot on March 15, 2019, 08:04:41 PM
 :hmm: Actually tino I've had this do it in Xampp running PHP: 7.1.17 as well.

Though this has happened to me many times on my Xampp installs it hasn't really ever been an issue on my live server installs. This is why I always thought it was my local setup giving me grief.
Title: Re: Clean SMF 2.1 RC1 install and TinyPortal on PHP5.6 crashes
Post by: tino on March 15, 2019, 08:07:53 PM
Quote from: lurkalot on March 15, 2019, 08:04:41 PM
:hmm: Actually tino I've had this do it in Xampp running PHP: 7.1.17 as well.

Though this has happened to me many times on my Xampp installs it hasn't really ever been an issue on my live server installs. This is why I always thought it was my local setup giving me grief.

Ok, not a issue. I wasn't actually running the latest version of TinyPortal 1.6.2 was missing the forum_version change. So that was 2 hours wasted  :o :tickedoff: :tickedoff:
Title: Re: Clean SMF 2.1 RC1 install and TinyPortal on PHP5.6 crashes
Post by: lurkalot on March 15, 2019, 08:13:59 PM
 :'( I was almost getting excited there, thinking you'd seen the same problem I was having.
Title: Re: Clean SMF 2.1 RC1 install and TinyPortal on PHP5.6 crashes
Post by: tino on March 15, 2019, 10:41:11 PM
I think it might be related though. The rewrite of the buffer seems to cause apache and php to fall over. So next time I would start by looking there.