Hello all -
Just a quick question:
I have some clients who are complaining that they’re getting a PHP illegal pointer offset error when trying to upload jpg images that they’ve processed in Picasa (see sample error below). I’m not with them now so I haven’t tried to figure out exactly what might be going on, but if I resave these images with higher compression in Gimp they then work fine. So I’m assuming that Picasa is creating some sort of non-standard .jpg files and that’s the problem.
So the question is: Does anyone here have experience with Picasa and MaxiGallery, and if so do you have any guidance or a workaround for using the two together?
Thanks in advance for your replies.
« MODx Parse Error »
MODx encountered the following error while attempting to parse the requested resource:
« PHP Parse Error »
PHP error debug
Error: exif_read_data(someimage.jpg) [exif_read_data]: Process tag(x0001=ModeArray ): Illegal pointer offset(xFFFFFC50 + x0060 = xFFFFFCB0 > x3FC0)
Error type/ Nr.: Warning - 2
File: /home2/xyz/public_html/manager/includes/document.parser.class.inc.php(769) : eval()'d code
Line: 432
You can remove that exif data reading from maxigallery code.. it is used for just to get the time of the image capture and use that for the date.. just remove that bit of code and the upload time will be used.
It seems that picasa puts something to the EXIF data that your php version cannot read, it could possibly work with a newer php version..
"He can have a lollipop any time he wants to. That's what it means to be a programmer."
Thanks! BTW this site is running PHP version 5.2.6. Go figure...
Probably different problem, But FWIW
I had some log errors from MaxiGallery regarding _date_ time ago.
After adding this to my php.ini
[Date]
; Defines the default timezone used by the date functions
date.timezone = America/Los_Angeles
I had no more problems.