hi
I ve had running coppermine 1.1 for about 3 Month.
On this version, i played a little bit with the scripts and i´ve installed successfully the exif function.
After upgrading to version 1.2 today (great job from the programmers)
without any problems, my exif isn´t running anymore.
An error occures from somehing like my php doesn´t support exif.
After a look in my php.ini, my php does support exif.
someone wrote in this board that exif can run either if exif is checked or not in the php.ini. okay......
I searched in my old scripts from version 1.1 how i get exif running. so I changed the same lines in the Version 1.2 and now, exif is working good.
I am runnung coppermine on windows 2000 with php 4.2xxx
In the file: displayimage.php i changed the following lines near line 30
to:
//if ($CONFIG['read_exif_data'] && function_exists('exif_read_data')) {
include("include/exif_php.inc.php");
//} elseif ($CONFIG['read_exif_data']) {
// cpg_die(CRITICAL_ERROR, 'PHP running on your server does not support reading EXIF data in JPEG files, please turn this off on the config page', __FILE__, __LINE__);
//}
that means, the only thing I have done is to comment out a few lines.
I have to say, i have no plan from php :-)
but on version 1.1 I searched the internet for exif and I have found
some exif files I used instead of the originals:
php_exif.dll put it in php\extensions and system32
exif.php in the include dir
exif_php.inc.php in the include dir
i am not realy sure wich of the last 2 files are not the original coppermine files but after this, my exif is working well.
I know, the changings in the displayimage.php is a bad hack, but on my system, it works now.
If there is anybody intersting in these changed files and the dll i will give a link for downloading these files.
//slash