Page 1 of 1

PHP 8.4 compatibility, caching and messaging change

Posted: Sat Jun 07, 2025 2:39 pm
by kestasjk
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

Re: PHP 8.4 compatibility, caching and messaging change

Posted: Sat Jun 07, 2025 3:02 pm
by learnedSloth
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.

Re: PHP 8.4 compatibility, caching and messaging change

Posted: Sat Jun 07, 2025 3:12 pm
by kestasjk
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

Re: PHP 8.4 compatibility, caching and messaging change

Posted: Sat Jun 07, 2025 7:11 pm
by JECE
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.

Re: PHP 8.4 compatibility, caching and messaging change

Posted: Sun Jun 08, 2025 7:06 am
by kestasjk
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)

Re: PHP 8.4 compatibility, caching and messaging change

Posted: Sun Jun 08, 2025 7:08 am
by kestasjk
FYI also since this update we're compatible with the 2024 latest edition build rules re: disband priorities

Re: PHP 8.4 compatibility, caching and messaging change

Posted: Mon Jun 09, 2025 1:53 am
by JECE
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!

Re: PHP 8.4 compatibility, caching and messaging change

Posted: Wed Jun 11, 2025 10:18 pm
by echidna
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.

Re: PHP 8.4 compatibility, caching and messaging change

Posted: Thu Jun 12, 2025 12:45 pm
by dargorygel
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.

Re: PHP 8.4 compatibility, caching and messaging change

Posted: Thu Jun 12, 2025 3:11 pm
by echidna
Ah, that seems to have cured it. thanks.

Re: PHP 8.4 compatibility, caching and messaging change

Posted: Fri Jun 13, 2025 4:13 am
by Bladerunners
nice job fixing