WBCE CMS – Way Better Content Editing.
You are not logged in.
Hallo Florian,
du hattest mal hier:
https://forum.wbce.org/viewtopic.php?pid=24576#p24576
Eine Modifizierte Gallery zum DL bereitgestellt.
Nach dem Update auf PHP 8 kommen folgende Notices
[Notice] /modules/fotoramagal/functions.php:[210] from /modules/fotoramagal/functions.php:[28] isImageFile "getimagesize(): Read of 8192 bytes failed with errno=21 Is a directory"
[Notice] /modules/fotoramagal/functions.php:[210] from /modules/fotoramagal/functions.php:[28] isImageFile "getimagesize(): Error reading from /www/htdocs/xxx/media/fotoramagal/38/thumbs!"
Die Notices wiederholen sich, da ich mehrere Ordner habe, deshalb abgekürzt.
Last edited by Slugger (05.07.2021 15:34:51)
Hoster: ALL-INKL *** Grundsätzliche WBCE Konfig ***
WBCE: 1.5.4 • BE: 2.1.0 • PHP: 8.1.16 * 1. Projekt: FE: Simple responsive • BE: Argos * 2. Projekt: FE: hortal • BE: Argos * 3. Projekt: FE: WBCEZon • BE: Argos * 4. Projekt: FE: WBCETik • BE: Argos
Status Projekt 1-4: OK
Online
Ändere in der /modules/fotoramagal/functions.php Zeile 208ff
if (!function_exists('isImageFile')) {
function isImageFile($filename) {
if(@!is_array(@getimagesize($filename))){
return false;
}
return true;
}
}
zu
if (!function_exists('isImageFile')) {
function isImageFile($filename) {
if (!is_dir($filename)) {
if(!is_array(getimagesize($filename))){
return false;
}
return true;
} else {
return false;
}
}
}
Code allein macht nicht glücklich. Jetzt spenden!
Offline
Slugger