I am using ver 1.2.1 standalone, and when having the exif enabled I get the following error:
Warning: exif_read_data(CG5_0002_25~1.JPG): process tag(x000D=UndefinedTa): Illegal pointer offset(x05CE + x0044 = x0612 > x05EA) in /pub/home/yazoo322/gallery/include/exif_php.inc.php on line 58
Is there a fix for this?
There may be a problem in the exif_php.inc.php code at line 57:
$size = @getimagesize($filename);
Try removing the "@" symbol from in front of the getimagesize function:
$size = getimagesize($filename);
and see if that solves the problem.
I hope this helps.
Bill
Thanks Bill_S, what you said didn't work but you put me on the right path.
I changed the following
$exif = exif_read_data($filename,0,true);
to
$exif = @exif_read_data($filename,0,true);
And now it works :D
Yep. That solved my problem!
Thank you both! ;D
By the way... @ is like an "echo off" on ms-dos?
Sorry. i don't know php.
Quote from: PBas on September 02, 2004, 12:53:01 AMBy the way... @ is like an "echo off" on ms-dos?
Sorry. i don't know php.
Yes, it silences the output (error message, if there should be one) of a php command.
Joachim