Problem mit PHP 8.0.0.

A place to report and discuss bugs - please mention CMSimple-version, server, platform and browser version
Post Reply
Tata
Posts: 3586
Joined: Tue May 20, 2008 5:34 am
Location: Slovakia
Contact:

Problem mit PHP 8.0.0.

Post by Tata » Thu Mar 31, 2022 6:29 pm

Ich habe bereits eine Webseite von 1.7.4 auf 1.7.5 umgewandelt und mit PHP 8.0.0 getestet.
Das ist die Ergebniss:
Uncaught Error: Undefined constant "Foldergallery\IMG_JPEG" in /Users/msereday/testhost/sosaw175/plugins/foldergallery/classes/ThumbnailService.php:51
Stack trace:
#0 /Users/msereday/testhost/sosaw175/plugins/foldergallery/classes/ImageService.php(99): Foldergallery\ThumbnailService->makeThumbnail('./userfiles/ima...', '150')
#1 /Users/msereday/testhost/sosaw175/plugins/foldergallery/classes/ImageService.php(69): Foldergallery\ImageService->createImage('holiday01.jpg')
#2 /Users/msereday/testhost/sosaw175/plugins/foldergallery/classes/GalleryController.php(84): Foldergallery\ImageService->findEntries()
#3 /Users/msereday/testhost/sosaw175/plugins/foldergallery/index.php(30): Foldergallery\GalleryController->indexAction()
#4 /Users/msereday/testhost/sosaw175/cmsimple/functions.php(242) : eval()'d code(1): foldergallery('gallery/odborny...')
#5 /Users/msereday/testhost/sosaw175/cmsimple/functions.php(242): eval()
#6 /Users/msereday/testhost/sosaw175/cmsimple/functions.php(202): XH_evaluateSinglePluginCall('foldergallery("...')
#7 /Users/msereday/testhost/sosaw175/cmsimple/functions.php(299): evaluate_plugincall('
Teoreti...')
#8 /Users/msereday/testhost/sosaw175/plugins/accordion/index.php(139): evaluate_scripting('
Teoreti...')
#9 /Users/msereday/testhost/sosaw175/cmsimple/functions.php(242) : eval()'d code(1): accpand()
#10 /Users/msereday/testhost/sosaw175/cmsimple/functions.php(242): eval()
#11 /Users/msereday/testhost/sosaw175/cmsimple/functions.php(202): XH_evaluateSinglePluginCall('accpand()')
#12 /Users/msereday/testhost/sosaw175/cmsimple/functions.php(299): evaluate_plugincall('
Mit PHP 7.4.12 is alles OK. Was soll das sein? Ich verstehe es nichtz ganz.
Installierte Plugins sind: accordion, calendar, exchange, expandcontract, fa, filebrowser, foldergallery, hi_updatecheck, imagescroller, jquery, meta_tags, page_params, pagemanager, privacy, slideshow, switchdebug, tinymce4, tinymce5, video_privacy, wdir.

Ich habe auf der Seite noch foldergallery mit imgalbum ersetzt. Es ist das gleiche. Es scheint als ob beide Plugins mit PHP v8.0.0 inkompatible sind.
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.

cmb
Posts: 14225
Joined: Tue Jun 21, 2011 11:04 am
Location: Bingen, RLP, DE
Contact:

Re: Problem mit PHP 8.0.0.

Post by cmb » Thu Mar 31, 2022 9:23 pm

Tata wrote:
Thu Mar 31, 2022 6:29 pm
Uncaught Error: Undefined constant "Foldergallery\IMG_JPEG" in
Da ist die GD-Extension wohl nicht aktiviert; du kannst in der PHP Info überprüfen.
Christoph M. Becker – Plugins for CMSimple_XH

Tata
Posts: 3586
Joined: Tue May 20, 2008 5:34 am
Location: Slovakia
Contact:

Re: Problem mit PHP 8.0.0.

Post by Tata » Fri Apr 01, 2022 9:00 am

1. Ich habe ausgegoogelt, dass die GDßextension war nicht mitgeliefert mit PHP 8.0.0.
2. Auf meinem Hostserver ist aber die PHP 8.0.0 und PHP 8.1 installiert.
Mit beiden 8.x Versionen läuft die Webseite ohne Probleme.
D.h. es muss auf meine MAMP Server gelösst werden. Nur - soweit - weiss ich icht, wie.
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.

olape
Posts: 2731
Joined: Fri Mar 13, 2015 8:47 am
Contact:

Re: Problem mit PHP 8.0.0.

Post by olape » Fri Apr 01, 2022 10:01 am

Gruß Olaf, Plugins for CMSimple_XH

Ich habe schon lange den Verdacht, dass so viele so eifrig auf Gender, Trans und Queer machen:
Weil sie für das Fachliche ganz einfach zu doof sind.

Post Reply