4images Forum & Community
4images Issues / Ausgaben => Feedback & Suggestions => Topic started by: kai on November 05, 2021, 01:08:04 PM
-
Please use this thread for feedback and comments about the 4images 1.9 release.
For general bug reporting and troubleshooting please use this forum (http://www.4homepages.de/forum/index.php?board=4.0).
Bitte nutzt diesen Thread für Feedback, Kommentare und Anregungen zum 4images 1.9 Release.
Für allgemeine Bug Reports und Troubleshooting bitte dieses Forum (http://www.4homepages.de/forum/index.php?board=4.0) nutzen.
-
Hello,
I've been using 4images for many years now and I currently run 4images version 1.7.13 with a lot of heavy modifications. I've been able to get it running on PHP 7.4.25, but I run into problems with PHP 8.
Because of all the modifications throughout the years I'm unable to update to version 1.9. I was wondering if there was possibly a changelog with a list of specific changes in code on specific php files that make it php 8 compatible that I could sort through to try to get my version PHP 8 compatible? I hope that makes sense.
Glad to see an update to 4images, I honestly thought it had seen it's end.
Thanks, Have a great day.
Kitty
-
Hello,
I can recommend "WinMerge" as an alternative.
With this programme you are able to examine individual PHPs for changes.
nobby
-
@kai:
Habt ihr ein Changelog oder zumindest eine Liste für die geänderten Files?
Ich wollte an den Security Problemen arbeiten. Zumindest die unsicheren Cookies und andere Dinge die mir gemeldet wurden.
Gruß KP
----------------
Hello,
I've been using 4images for many years now and I currently run 4images version 1.7.13 with a lot of heavy modifications. I've been able to get it running on PHP 7.4.25, but I run into problems with PHP 8.
Because of all the modifications throughout the years I'm unable to update to version 1.9. I was wondering if there was possibly a changelog with a list of specific changes in code on specific php files that make it php 8 compatible that I could sort through to try to get my version PHP 8 compatible? I hope that makes sense.
Glad to see an update to 4images, I honestly thought it had seen it's end.
Thanks, Have a great day.
Kitty
Hello kitty999,
you can have a look here:
https://www.4homepages.de/forum/index.php?topic=33111.new#new
there ist a version 1.8 which I've fixed for php8. I the attached zip file you can find the files which are fixed. May you can replace them or have a look into to change it to your customised files.
-
Die Installation läuft weiterhin nicht korrekt durch
Als erstes muss man folgendes in die install.php hinzufügen.
Das Scheint das System nicht zu erkennen.
function safe_htmlspecialchars($chars) {
// Translate all non-unicode entities
$chars = preg_replace(
'/&(?!(#[0-9]+|[a-z]+);)/si',
'&',
$chars
);
$chars = str_replace(">", ">", $chars);
$chars = str_replace("<", "<", $chars);
$chars = str_replace('"', """, $chars);
return $chars;
}
Außerdem kann es noch zu folgenden Fehler kommen
DB Error: Bad SQL Query: CREATE TABLE 4images_settings (setting_name varchar(255) NOT NULL default '',setting_value mediumtext NOT NULL,PRIMARY KEY (setting_name)) ENGINE=MyISAM
Specified key was too long; max key length is 1000 bytes
Das kann man beheben in dem man unter "data/database/default" die Dateien öffnet
Sucht:
ENGINE=MyISAM;
Ersetzen mit
ENGINE=InnoDB;
Ich finde das sollte man als Update mal nachschieben.
LG
-
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).
A fix you can find here: https://www.4homepages.de/forum/index.php?topic=33113.new#new