Thank you for this great app in 1st place!
I have noticed that with latest 16.4.0 version Piwigo is intermittently freezing (http 504) , sometimes only admin.php / identification.php , sometimes even gallery does not load at all.
After few hours of troubleshooting i found the reason - Piwigo is now connecting to https://piwigo.org and when it's blocked by firewall, everything get stuck up to timeout.
Can the behaviour be changed in a way to not affect Piwigo functionality when piwigo.org is not reachable?
Thanks a lot!
@plg sure, i have opened issue on github, thank again! [Github] Piwigo issue #2563
Hello,
Same error there since i switch to php 8.5.
Edit : solution :-)
the issue line :
if ( ord($fname_wo_ext)>ord('9') or !preg_match('/^\d+(-|$)/', $fname_wo_ext) )
The correction
if ( ord($fname_wo_ext[0])>ord('9') or !preg_match('/^\d+(-|$)/', $fname_wo_ext) )
Nicolas
EtienneG wrote:
thanks, I appreciate your concerns about security and the good maintenance of piwigo!!
after upgrading to 16.4 switching to PHP 8.5 i get the following error:Deprecated: ord(): Providing a string that is not one byte long is deprecated. Use ord($str[0]) instead in /home/p-t6mte9/html/etienne-piwigo-fu381/include/functions_url.inc.php on line 262
after changing it to the suggested fix "Use ord($str[0])" everything seems to be fine again.
anybody else?
best,
etienne
Last edited by nlb (2026-07-01 14:55:28)
Offline