PHP 8.4 compatibility, caching and messaging change

Members can make suggestions for improving the site and improving the forum as well as submit bug reports to be reviewed by our support team here.
Post Reply
Message
Author
User avatar
kestasjk
Developer
Developer
Posts: 561
Joined: Tue Mar 14, 2017 8:13 pm
Location: Perth, Australia
Contact:

PHP 8.4 compatibility, caching and messaging change

#1 Post by kestasjk » Sat Jun 07, 2025 2:39 pm

Hi,

webDiplomacy.net has been updated to run on PHP8.4, from PHP7.4, and to change the internal caching system to use Redis instead of memcached and internal messaging system to use SSE instead of websockets.

These changes will make webDiplomacy more sustainable and maintainable, but it is a major update so there may be issues. If you notice any issues please post here, ideally with details and screenshots.

Thanks,
KEstas

learnedSloth
Posts: 269
Joined: Mon Sep 12, 2022 10:20 pm
Contact:

Re: PHP 8.4 compatibility, caching and messaging change

#2 Post by learnedSloth » Sat Jun 07, 2025 3:02 pm

I got "AJAX ERROR" when I tried to + this and "ERROR" when I clicked the yellow triangle in the attachment listing. I tried to attach screenshots, but they seem to have disappeared upon requesting preview. :lol:

Edit: + seems to have worked after all.
¶ Keep thy heart with all diligence; for out of it are the issues of life.
-- Proverbs of Solomon, chapter 4, verse 23

User avatar
kestasjk
Developer
Developer
Posts: 561
Joined: Tue Mar 14, 2017 8:13 pm
Location: Perth, Australia
Contact:

Re: PHP 8.4 compatibility, caching and messaging change

#3 Post by kestasjk » Sat Jun 07, 2025 3:12 pm

Thanks, that should be fixed now.

Getting quite a few minor bugs coming through; from 7.4 to 8.4 a lot of things that used to be okay no longer work like using variables that aren't declared, which are hard to find without running through every part of the code. Luckily they're all quick fixes

User avatar
JECE
Posts: 1831
Joined: Sun Dec 31, 2017 4:35 pm
Contact:

Re: PHP 8.4 compatibility, caching and messaging change

#4 Post by JECE » Sat Jun 07, 2025 7:11 pm

This has been broken for a very long time (if it ever worked), but I thought that I'd report it here since the update didn't fix the minor bug.

If you go to any user's Forum Profile page, then click on the "Show list with all +1 actions" hyperlink and click on any hyperlinked username, a plain white page with the text "File not found." appears.
See my full Profile:
http://www.webdiplomacy.net/profile.php?userID=17421

User avatar
kestasjk
Developer
Developer
Posts: 561
Joined: Tue Mar 14, 2017 8:13 pm
Location: Perth, Australia
Contact:

Re: PHP 8.4 compatibility, caching and messaging change

#5 Post by kestasjk » Sun Jun 08, 2025 7:06 am

Hi JECE, I've sorted that out, issue with resolving paths (which is a pain with phpBB unfortunately, it's making phpBB updates a headache also)

User avatar
kestasjk
Developer
Developer
Posts: 561
Joined: Tue Mar 14, 2017 8:13 pm
Location: Perth, Australia
Contact:

Re: PHP 8.4 compatibility, caching and messaging change

#6 Post by kestasjk » Sun Jun 08, 2025 7:08 am

FYI also since this update we're compatible with the 2024 latest edition build rules re: disband priorities

User avatar
JECE
Posts: 1831
Joined: Sun Dec 31, 2017 4:35 pm
Contact:

Re: PHP 8.4 compatibility, caching and messaging change

#7 Post by JECE » Mon Jun 09, 2025 1:53 am

kestasjk wrote:
Sun Jun 08, 2025 7:08 am
FYI also since this update we're compatible with the 2024 latest edition build rules re: disband priorities
Awesome!
See my full Profile:
http://www.webdiplomacy.net/profile.php?userID=17421

User avatar
echidna
Posts: 90
Joined: Thu Nov 24, 2022 11:40 pm
Contact:

Re: PHP 8.4 compatibility, caching and messaging change

#8 Post by echidna » Wed Jun 11, 2025 10:18 pm

Maybe it's been this way all along, or maybe I am simply overlooking how to do it (duh), but on an Android phone using the Point and click UI, I can read press, but I can't seem to be able to create any new press.

User avatar
dargorygel
Site Moderator
Site Moderator
Posts: 7173
Joined: Mon Dec 18, 2017 1:55 pm
Location: Over the rainbow
Contact:

Re: PHP 8.4 compatibility, caching and messaging change

#9 Post by dargorygel » Thu Jun 12, 2025 12:45 pm

echidna wrote:
Wed Jun 11, 2025 10:18 pm
Maybe it's been this way all along, or maybe I am simply overlooking how to do it (duh), but on an Android phone using the Point and click UI, I can read press, but I can't seem to be able to create any new press.
I assume you tried this... my knee jerk reaction is to clear your cache.

User avatar
echidna
Posts: 90
Joined: Thu Nov 24, 2022 11:40 pm
Contact:

Re: PHP 8.4 compatibility, caching and messaging change

#10 Post by echidna » Thu Jun 12, 2025 3:11 pm

Ah, that seems to have cured it. thanks.


Post Reply

Who is online

Users browsing this forum: No registered users