Author Topic: 4images 1.9  (Read 26579 times)

0 Members and 1 Guest are viewing this topic.

Offline kai

  • Administrator
  • Addicted member
  • *****
  • Posts: 1.423
    • View Profile
    • 4images - Image Gallery Management System
4images 1.9
« 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 veroeffentlicht. Das Release beinhaltet Anpassung fuer den Betrieb unter PHP 8.
Wir empfehlen allen Nutzern ein Update auf die aktuelle Version. Alle Aenderungen und Features sind in der Datei "docs/Changelog.txt" aufgelistet.

Download:
https://www.4homepages.de/download-4images

Demo:
https://www.4homepages.de/demo


Please use this thread for feedback about the 4images 1.9 version.

Für Feedback zur 4images 1.9 Version bitte diesen Thread nutzen.
« Last Edit: January 23, 2023, 05:05:57 PM by kai »
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

Offline kai

  • Administrator
  • Addicted member
  • *****
  • Posts: 1.423
    • View Profile
    • 4images - Image Gallery Management System
Re: 4images 1.9
« Reply #1 on: November 05, 2021, 01:00:34 PM »
=========================================================
ChangeLog Version 1.9
=========================================================
- PHP8 compatibility
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

Offline wflorian

  • Newbie
  • *
  • Posts: 47
    • View Profile
Re: 4images 1.9
« Reply #2 on: August 11, 2022, 11:28:35 PM »
Thank you for the update!

Offline kp

  • Newbie
  • *
  • Posts: 17
    • View Profile
    • www.hell-is-open.de
Re: 4images 1.9
« Reply #3 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]))
to
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.


Offline kp

  • Newbie
  • *
  • Posts: 17
    • View Profile
    • www.hell-is-open.de
Re: 4images 1.9
« Reply #4 on: November 01, 2022, 12:52:47 PM »
Found another PHP8 bug in this version.
The admin-function "Edit images" (German: Bilder bearbeiten) the result is strange when there are no filters set. Sometimes I got 0 images, sometimes 5000 sometimes all of them. This comes from the new handling in misusing a compare of string with an integer.
The problem is in the file admin\images.php at line 664.
Here you have to change
if ($image_id != "") {
to
if ($image_id != 0) {

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.

Offline kai

  • Administrator
  • Addicted member
  • *****
  • Posts: 1.423
    • View Profile
    • 4images - Image Gallery Management System
Re: 4images 1.9
« Reply #5 on: December 30, 2022, 02:20:04 PM »
thanks for reporting!

We will review the issues and fix them in the next release.
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search