My page forum doesn't work on php 8.0 update

Post a reply


This question is a means of preventing automated form submissions by spambots.
Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :arrow: :| :mrgreen: :geek: :ugeek:

BBCode is ON
[img] is ON
[url] is ON
Smilies are ON

Topic review
   

If you wish to attach one or more files enter the details below.

Maximum filesize per attachment: 1 MiB.

Expand view Topic review: My page forum doesn't work on php 8.0 update

Re: My page forum doesn't work on php 8.0 update

by floxshifu » Wed Aug 07, 2024 7:57 pm

Hi,

I found what was the problem, it was an ext that not support php8.0 (recent topics) and crashed my forum. Thank you for the help, and sorry to have said the problem is your plugin.
You do really great job, I'm really gratefull for this.

Re: My page forum doesn't work on php 8.0 update

by floxshifu » Mon Aug 05, 2024 10:48 am

Hi,

Okay, I'll try it this week and I'll let you know if I've found the problem.

Thank you 🙏🏻

Re: My page forum doesn't work on php 8.0 update

by axew3 » Mon Aug 05, 2024 8:32 am

Hi! Sorry, but it seem that it return an error your phpBB, not the iframe.
And the error seem to me coming earlier into your system.

So i advice you to proceed as follow:

BEFORE TO UPDATE PHPBB, OR MOVE IT TO PHP8, maybe you have to:
DISABLE ALL EXTENSIONS, and if this still return error after 8 upgrade, SETUP YOUR THEME to be the default prosilver.

the first you have to think before to proceed with phpBB updates or if something goes wrong, IS to DO THE UPDATE to php8 or when doing mayor changes, like updating phpBB, setting the environment to be the most near to a clean situation or, normally, the code that has been developed by coders all around, that follow often their rules without caring if you'll after have all broken when you go to update, if you are not skilled to reverse and fix the problem that go to create errors.
Clean the cache before to update.

So resuming: before to switch to php8, set your phpBB with all extensions disabled. Clean up the phpBB cache.
Then switch.
If it fail again on work fine, then switch to the default prosilver, because maybe it is the theme that is giving errors.

Let me know, i will take a look

Re: My page forum doesn't work on php 8.0 update

by floxshifu » Sun Aug 04, 2024 9:49 am

After all, I tried again to put my config to php 8.0 and it still show a blank page, I must go back to php 7.4 to have the forum... Here is the console report :
Capture d’écran 2024-08-04 à 11.48.18.png
Capture d’écran 2024-08-04 à 11.48.18.png (289.38 KiB) Viewed 640 times

Re: My page forum doesn't work on php 8.0 update

by floxshifu » Sun Aug 04, 2024 8:24 am

So !
I've updated following this https://www.axew3.com/w3/2020/01/phpbb- ... iframe-v5/ and now (after rebuilding page-forum and recompiled style files, cache wiped) my forum is only showing the top of the index, and I can't scroll the index page...

I don't know where is the problem ? I follow all your steps to update the iframe, but it seems not working for me... :oops:

EDIT : on every page, the iframe is not scrolling, I get a cropped page :/

EDIT 2 : problem solved, it was the url config in overall_footer and overall_header, the urls are not all the same to load the jsresizer-child :)

Now everything seems to work fine in the browser console !

Re: My page forum doesn't work on php 8.0 update

by floxshifu » Sat Aug 03, 2024 5:31 pm

Hey!

Thanks for the answer. I've updated to the last version yesterday : 2.8.8 for wp and 2.0.3 for phpbb.
I've not rebuild the page forum... I'll take a look for your instructions and you'll get feedback after. Thank you ! 🙏🏻

Top