Closed (fixed)
Project:
Exif
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
30 Jan 2009 at 14:51 UTC
Updated:
13 Feb 2009 at 16:30 UTC
I upgraded to January 30th version. If I click on the exif menu item under site configuration I get the following errors:
* warning: read_exif_data() [function.read-exif-data]: Unable to open file in /home/.shush/USER/WEBSITE.COM/sites/all/modules/exif/exif.module on line 112.
* warning: Invalid argument supplied for foreach() in /home/.shush/USER/WEBSITE.COM/sites/all/modules/exif/exif.module on line 117.
I replaced the user name and website name above to USER/WEBSITE.COM
If you need more info let me know.
Comments
Comment #1
timnorman commentedI believe the code is looking for a file named sample.jpg but none exist in the module directory.
EDIT:
I placed one of my own jpeg files in the directory as sample.jpg. This resulted in more errors but it also spat out what looks like the exif info for the file. Are you using a special sample.jpg file or will any photo with exif data in it work?
These are the errors I got with my own jpg file.
* warning: read_exif_data(sample.jpg) [exif_read_data]: Illegal IFD size: 2 + x1D00*12 = x15C02 > x0FCA in /home/.shush/USER/WEBSITE.COM/sites/all/modules/exif/exif.module on line 112.
* warning: read_exif_data(sample.jpg) [exif_read_data]: Process tag(x8692=UndefinedTa): Illegal format code 0x0700, suppose BYTE in /home/.shush/USER/WEBSITE.COM/sites/all/modules/exif/exif.module on line 112.
* warning: read_exif_data(sample.jpg) [exif_read_data]: Process tag(x8692=UndefinedTa): Illegal pointer offset(x2A120000 + x8010000 = x32130000 > x3819) in /home/.shush/USER/WEBSITE.COM/sites/all/modules/exif/exif.module on line 112.
The photo is a Canon 1D digital 35mm camera.
Comment #2
rapsli commentedyes, the sample.jpg files was missing... i committed it to head.