Announcement

  •  » Extensions
  •  » Undefined Offset in AMetaData GpsReader

#1 2011-10-13 12:48:39

mixedbredie
Member
Dundee, Scotland
2011-09-06
20

Undefined Offset in AMetaData GpsReader

Hey all

I get the following error in my apache logs:

Code:

PHP Notice:  Undefined offset: 3 in /piwigo/plugins/AMetaData/JpegMetaData/Readers/GpsReader.class.php on line 80

I use an HTC Wildfire (Froyo) with built in camera and GPS and upload the photos to my gallery with the Piwigo and ReGalAndroid apps.

Line 80 in GpsReader.class.php is:

Code:

$returned=sprintf("%d.%d.%d.%d", $values[0], $values[1], $values[2], $values[3]);

I use the RV Maps and Earth plugin and run the Synchronise tool against the uploaded photos.  Any idea what the problem may be?

I am using 2.3.0.
Operating system: Linux
PHP: 5.3.2-1ubuntu4.9 (Show info) [2011-10-13 11:31:03]
mysql: 5.1.41-3ubuntu12.10-log [2011-10-13 11:31:03]
Graphics Library: ImageMagick 6.5.7-8

Offline

 

#2 2011-10-13 12:56:19

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13182

Re: Undefined Offset in AMetaData GpsReader

Hi mixedbredie,

AMetadata is not required to run RV Maps & Earth. Can you deactivate AMetadata and check that GPS data are correctly read by Piwigo and that your photo is displayed on the map?


Latest blog post (November 9th 2018) Why Flickr could not remain free for ever

Offline

 

#3 2011-10-13 13:46:44

mixedbredie
Member
Dundee, Scotland
2011-09-06
20

Re: Undefined Offset in AMetaData GpsReader

Thanks plg

That appears to have worked.  The error no longer appears.  I'll monitor the logs for a bit to check.  It's probably not a show stopper.  I might re-enable AMetaData in order to display the photo coordinates.

Thanks again.

Offline

 
  •  » Extensions
  •  » Undefined Offset in AMetaData GpsReader

Board footer

Powered by FluxBB

github twitter facebook google+ newsletter Donate Piwigo.org © 2002-2019 · Contact