4images Forum & Community

4images Help / Hilfe => News & Announcements => Topic started by: kai on November 05, 2021, 01:00:06 PM

Title: 4images 1.9
Post by: kai on November 05, 2021, 01:00:06 PM
:flag-en: The new version 4images 1.9 has been released. This release brings full PHP 8 compatibility.
We recommend all users to update to the current version. All changes and features are listed in "docs/Changelog.txt".

:flag-de: Die neue Version 4images 1.9 wurde veröffentlicht. Das Release beinhaltet Anpassung für den Betrieb unter PHP 8.
Wir empfehlen allen Nutzern ein Update auf die aktuelle Version. Alle Änderungen und Features sind in der Datei "docs/Changelog.txt" aufgelistet.



Please use this thread (https://www.4homepages.de/forum/index.php?topic=33114.0) for feedback about the 4images 1.9 version.

Für Feedback zur 4images 1.9 Version bitte diesen Thread (https://www.4homepages.de/forum/index.php?topic=33114.0) nutzen.
Title: Re: 4images 1.9
Post by: kai on November 05, 2021, 01:00:34 PM
ChangeLog Version 1.9
- PHP8 compatibility
Title: Re: 4images 1.9
Post by: wflorian on August 11, 2022, 11:28:35 PM
Thank you for the update!
Title: Re: 4images 1.9
Post by: kp on September 01, 2022, 11:41:38 PM
Found a PHP8 bug in this version.
If I use the function "check for new images" (German: Neue Bilder checken) and there are new images in the chosen category (which I've uploaded upfront via FTP) you will see nothing (because there is a not displayed error).
The problem is in the file admin\checkimages.php at line 836.
Here you have to change
if (!@in_array($image_list_all[$key][$i], $image_list_sql[$key]))
if (($result->num_rows == 0) or (!@in_array($image_list_all[$key][$i], $image_list_sql[$key])))

If you aren't experienced enough to change this, you can load my attached fixed file and replace it at your webspace.
Would be cool if the 4images guys could add this fix to there 1.9(.1) package.