Announcement

#1 2016-09-15 14:46:58

pewe
Member
2012-03-16
439

What is the real problem with GPS in Piwigo

Hello/Hi/Greetings,


have seen a number of postings on the forum regarding problems extracting the GPS details to the database from uploaded photos - which if I recall worked perfectly well a couple of years ago when I last used Piwigo.

The various posts suggest various possible causes, but the most common is that the php function 'exif_read_data' may be at fault.
Other reasons given are that the MakerNotes causes a problem and some suggest that the problem is if the 'Software' information is included in the photo.

What puzzles me is that on the same server as Piwigo is installed I have a test script set to read the GPS data from a photo that I uploaded to Piwigo.
The test script uses the 'exif_read_data' function and seems to have no problem reading the GPS data (albeit that to display it, it does not convert it to the format that it should be saved in the Piwigo database.

So if there is any of the Piwigo Team around to read this post, and who understands why the test script seems to work but Piwigo doesn't, perhaps they could clarify the issue.

The test script is here - http://pewe.uk/gpstest/gps.php
It uses this photo - http://pewe.uk/gpstest/picture.jpg

Piwigo version: 2.8
PHP version: 7.0.6
MySQL version:
Piwigo URL: http://

Last edited by pewe (2016-09-15 14:51:26)

Offline

 

#2 2016-09-16 17:23:42

flop25
Piwigo Team
2006-07-06
7037

Re: What is the real problem with GPS in Piwigo

Hello
Thank you for posting

I'm sorry to hear such deep troubles

@plg do you have such issues on *.com ?


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#3 2016-09-16 19:55:59

pewe
Member
2012-03-16
439

Re: What is the real problem with GPS in Piwigo

According to another member, the problem disappears in PHP V7.0.10 - which a lot of users do not have access to.

I think it is an incompatibility between Piwigo and certain versions of PHP, because I have 2 test scripts on the same site as I have Piwigo installed which do read gps data.

See this post - http://piwigo.org/forum/viewtopic.php?id=26785&p=1

Offline

 

#4 2016-09-18 23:57:16

pewe
Member
2012-03-16
439

Re: What is the real problem with GPS in Piwigo

I have fixed the problem - a strange situation.

see this thread - http://piwigo.org/forum/viewtopic.php?p … 65#p164665

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact