It seems the EXIF module doesnt like php 5.3, which unfortunately comes with every server install of Ubuntu :(

Im trying to debug the code but not having any luck here is a screenshot of the error im seeing when uploading a photo with gps data, http://grab.by/8Vrs

the line of code its barfing on is

          $info[$tagName['section'] .'_'. $tagName['tag']] = utf8_encode($arSmallExif[$tagName['tag']]);

Seems that what ever is going to utf8_encode is an array instead of a string of values.

Comments

gateway69’s picture

Ditto! Subscribing

gateway69’s picture

Just a quick test and not sure what other things it might mess up but to get rid of this error I changed

$info[$tagName['section'] .'_'. $tagName['tag']] = utf8_encode($arSmallExif[$tagName['tag']]);

to

$info[$tagName['section'] .'_'. $tagName['tag']] = utf8_encode((string)$arSmallExif[$tagName['tag']]);

I cast the value in the utf8 to a string..

jphautin’s picture

Issue summary: View changes
Status: Active » Closed (won't fix)

Drupal6 EOL