Hi all,
I've made tests with dtregister and PHP 5.4.9 since our webhoster 1&1 won't support PHP 5.2 any more April 1st 2013 - and I have good news:
During the holidays, I was able to debug the problem with event and location pictures not displayed when PHP 5.4.9 is enabled (DTRegister 2.8.4) on our homepage
http://www.nfj-hannover.de
First: the problem I described in the thread "DTRegister doesn't work with PHP 5.4.9" in this forum apply's ONLY to JPG files. GIF and PNG file's are still working.
Second: I found in "/components/com_dtregister/lib" the file "thumbnail.inc.php" which generates the thumbnails. This file has a public function in line 691:
"puplic function show($quality=100,$name = '') {...
header('Content-type: image/jpeg');
ImageJpeg($this->newImage,'',$quality)....; " which displays the JPG image.
I changed ImageJpeg($this->newImage,'',$quality);
to ImageJpeg($this-newImage,NULL,$quality); !!!! NULL seems to be imporant! and that was the solution.
I'm not sure, but I suppose that PHP 5.4.9 doesn't accept the apostrophes in the "ImageJpeg" function, the function "ImageJpeg" expects NULL as second Operator when no file is specified.
Website is now running stable with PHP 5.4.9 and I hope, my post will help other customers who stumble into the same problem.
Would also be glad, if the Admin staff of Dtregister would respond to my
post.
Regards,
Stefan