White screen after updating to 3.3.11

Get help with installation and running phpBB 3.3.x here. Please do not post bug reports, feature requests, or extension related questions here.
Elvi81
Registered User
Posts: 20
Joined: Wed Mar 02, 2016 9:41 pm

White screen after updating to 3.3.11

Post by Elvi81 »

I've been searching a while for an answer to this issue but no real luck, not that well versed at linux either.
I updated to 3.3.11 from 3.2.9 after updating php from 5.4 (centos 7) to 8.2 and it worked fine for a few hours, then i come back to look at the forum and it showed an all white page.
I presume it has something to do with php going wonky as it affects other sites too.
I've tried to look for errors and find nothing, no error file except the one some site suggested i make, and it stays empty.
Tried to reinstall from a backup of the old forum version and then update again but didn't change a thing.

Need some help to go in the right direction.
Elvi81
Registered User
Posts: 20
Joined: Wed Mar 02, 2016 9:41 pm

Re: White screen after updating to 3.3.11

Post by Elvi81 »

This works btw <?php phpinfo(); ?>, forgot to add.
User avatar
Noxwizard
Support Team Leader
Support Team Leader
Posts: 10608
Joined: Mon Jun 27, 2005 8:41 pm
Location: Texas, USA
Name: Patrick Webster

Re: White screen after updating to 3.3.11

Post by Noxwizard »

White pages typically indicate a suppressed PHP error. Those error should be in PHP's error log. If you don't see an error log, you need to check the PHP configuration, namely your error_log setting.
[Support Template] - [Read Before Posting] - [phpBB Knowledge Base]
Do not contact me for private support, please share the question in our forums.
Elvi81
Registered User
Posts: 20
Joined: Wed Mar 02, 2016 9:41 pm

Re: White screen after updating to 3.3.11

Post by Elvi81 »

I have done this, enabled error loging and set it to /var/log/php-errors.log, nothing shows up.

EDIT:
Here's a link to a phpinfo file if you guys want to see. http://digital-legacy.sytes.net/test.php and yes i tried out php 8.3 too just in case it would help but no change.
Last edited by Elvi81 on Sun Feb 11, 2024 12:33 am, edited 1 time in total.
User avatar
thecoalman
Community Team Member
Community Team Member
Posts: 6597
Joined: Wed Dec 22, 2004 3:52 am
Location: Pennsylvania, U.S.A.

Re: White screen after updating to 3.3.11

Post by thecoalman »

Check error_reporting level the phpinfo file will tell you what it is. You might also want to check to see if the Apache error log tells you anything.
“Results! Why, man, I have gotten a lot of results! I have found several thousand things that won’t work.”

Attributed - Thomas Edison
Elvi81
Registered User
Posts: 20
Joined: Wed Mar 02, 2016 9:41 pm

Re: White screen after updating to 3.3.11

Post by Elvi81 »

Seems we posted at the same time, i just added a link to the php info file above you and no, nothing realy stands out in the httpd error file.
User avatar
thecoalman
Community Team Member
Community Team Member
Posts: 6597
Joined: Wed Dec 22, 2004 3:52 am
Location: Pennsylvania, U.S.A.

Re: White screen after updating to 3.3.11

Post by thecoalman »

You have relative path for the error log, presumably it would be written to the directory of the script with error.

Reporting level is good.

Edit:

I don't know for sure if phpBB supports php 8.3, it does support 8.2
“Results! Why, man, I have gotten a lot of results! I have found several thousand things that won’t work.”

Attributed - Thomas Edison
User avatar
SpIdErPiGgY
Registered User
Posts: 329
Joined: Sun May 02, 2021 2:11 pm
Location: Erpe-Mere, Aalst, BE
Name: Andy Dm

Re: White screen after updating to 3.3.11

Post by SpIdErPiGgY »

thecoalman wrote: Sun Feb 11, 2024 12:39 am I don't know for sure if phpBB supports php 8.3, it does support 8.2
It does, I use 8.3.2 without any problems
Image
Elvi81
Registered User
Posts: 20
Joined: Wed Mar 02, 2016 9:41 pm

Re: White screen after updating to 3.3.11

Post by Elvi81 »

Heh it never occured to me to look in the forum folder but there is error files there.
http://digital-legacy.sytes.net/mc/forum/php-errors.log does not realy tell me much tho :S

Still does not seem to give any other errors than for that site, the other one i have issues with does not show any php things either but html works just fine.
User avatar
SpIdErPiGgY
Registered User
Posts: 329
Joined: Sun May 02, 2021 2:11 pm
Location: Erpe-Mere, Aalst, BE
Name: Andy Dm

Re: White screen after updating to 3.3.11

Post by SpIdErPiGgY »

PHP Fatal error: Uncaught Twig\Error\LoaderError: Unable to find template "message_body.html" (looked into: /var/www/sites/html/mc/forum/styles/prosilver_dark
Image
Elvi81
Registered User
Posts: 20
Joined: Wed Mar 02, 2016 9:41 pm

Re: White screen after updating to 3.3.11

Post by Elvi81 »

Yes i know there's an issue with the styles but that's not the whole problem.

Aaaaand that's interesting, the first install of php 8.2 must have broken somehow cause now i'm again on 8.3 and the forum is talking back to me :o
I tried all the way back to php 7.4 and it all worked, the only thing that doesn't work with 8 and up is a commenter page on another site but maybe this is working now... *touch wood* :P
Elvi81
Registered User
Posts: 20
Joined: Wed Mar 02, 2016 9:41 pm

Re: White screen after updating to 3.3.11

Post by Elvi81 »

Guess i spoke too soon... as soon as i do install php-mysq* the screen goes blank again and i get that same error in the log even with php 7.4 where the other page works :(
User avatar
thecoalman
Community Team Member
Community Team Member
Posts: 6597
Joined: Wed Dec 22, 2004 3:52 am
Location: Pennsylvania, U.S.A.

Re: White screen after updating to 3.3.11

Post by thecoalman »

If you did not update the custom styles then that most certainly is the issue. Upload a version compatible with 3.3.11.

Then delete everything in the cache folder but index.html and .htaccess . Do this even if you have already updated style files previously.

Full directions for updating form 3.2 are here:

https://www.phpbb.com/support/docs/en/3 ... upgrade32/
“Results! Why, man, I have gotten a lot of results! I have found several thousand things that won’t work.”

Attributed - Thomas Edison
Elvi81
Registered User
Posts: 20
Joined: Wed Mar 02, 2016 9:41 pm

Re: White screen after updating to 3.3.11

Post by Elvi81 »

Well forum started to show itself again after more installs and tests, it's active it seems albeit on php 7.4, guess it's beter than nothing cause centos 7 was using 5.4 untill now.

Not sure if i should try any of the newer php versions now that i got things moving again, still strange how it just up and broke like that before tho.
User avatar
Mick
Support Team Member
Support Team Member
Posts: 26887
Joined: Fri Aug 29, 2008 9:49 am

Re: White screen after updating to 3.3.11

Post by Mick »

See PHP supported versions and note that only versions 8.2 and upwards are supported. phpBB 3.3.11 works fine with PHP 8.2.
  • "The more connected we get the more alone we become” - Kyle Broflovski© 🇬🇧

Return to “[3.3.x] Support Forum”