PHP-Web-Stat Support Forum | |
https://www.php-web-statistik.de/cgi-bin/yabb/YaBB.pl
Board (English) >> English board >> New version 24: PHP fatal error https://www.php-web-statistik.de/cgi-bin/yabb/YaBB.pl?num=1731265321 Beitrag begonnen von De Hout am 10.11.24 um 20:02:01 |
Titel: New version 24: PHP fatal error Beitrag von De Hout am 10.11.24 um 20:02:01
Thank you for the new version!
After updating to v24, I did some tests to ensure the upgrade went well. After I recreated the cache in the Admin Center, a fatal error appeared in the PHP logfiles (PHP versions 8.1.28 and 8.3.4). I'm not 100% sure if this is due to updating to v24, but I've never seen PHP Web Stats causing a fatal error before. I don't see anything strange happening during cache rebuild. Same as it was in v20. Code (][10-Nov-2024 19:15:38 Europe/Amsterdam):
|
Titel: Re: PHP fatal error during cache rebuild Beitrag von De Hout am 14.11.24 um 20:51:26
I have been testing with older PHP versions.
Version 7.4.9 is the last version which produces no error during cache rebuild. All newer versions do. With 7.4.9 I see a progress bar during cache rebuild. Never seen that before. It seems the error is there since PHP version 8.0 and not introduced in stats v24. |
Titel: Re: New version 24: PHP fatal error Beitrag von Reimar am 18.11.24 um 22:13:44
We are still analyzing to find out the reason for this.
|
Titel: Re: New version 24: PHP fatal error Beitrag von Reimar am 19.11.24 um 21:44:04
Hi there,
indeed, there is a bug and we already have a solution for this. File: func_cache_control.php Replace the lines 27, 34, and 45 as follows: Code (php):
with this line: Code (php):
This patch will be part of our next update. Thanks for your notice and best regards Reimar |
Titel: Re: New version 24: PHP fatal error Beitrag von De Hout am 21.11.24 um 20:57:08
It works. Thanks for the fix!
|
PHP-Web-Stat Support Forum » Powered by YaBB 2.5.2! YaBB Forum Software © 2000-2012. Alle Rechte vorbehalten. |