Page 2 of 3

Re: Geolocation empty on https site

Posted: 19 Dec 2017, 23:40
by Jan
Hi, when you update to latest version 4.3.7, do you get the same problems?

https://www.phoca.cz/news/961-phoca-gal ... 7-released

Jan

Re: Geolocation empty on https site

Posted: 21 Dec 2017, 20:51
by Olg
Hi, Jan.
I install 4.3.8. The problem is there...

Re: Geolocation empty on https site

Posted: 23 Dec 2017, 20:38
by Jan
Do you get the problem with current images or do you get it when you add new image into the system too?

Jan

Re: Geolocation empty on https site

Posted: 23 Dec 2017, 21:57
by Olg
I get this problem in both cases.

Re: Geolocation empty on https site

Posted: 29 Dec 2017, 00:33
by Jan
I still don't understand what you mean with:
"after site migration from http to https Gallery don't set Geolocation Coordinates to images when create thumbnails (in original file's exif-data is GPS information). I changed in Gallery's files "http://www.google.com/jsapi" to "//www.google.com/jsapi" but Geolocation Coordinates don't set anyway."
Because reading the longitude and latitude does not have anything to do with url to google api :idea:

Jan

Re: Geolocation empty on https site

Posted: 17 Jan 2018, 18:13
by Olg
I mean that site work on https and 2 links with http inside component caused warnings (not errors). I changed links "http://..." inside Gallery's files to "//..." ones and warnings disappear.
P.S. In Gallery 4.3.9 version the problem with empty geolocation remained.

Re: Geolocation empty on https site

Posted: 18 Jan 2018, 19:14
by Jan
Hi, there were no changes regarding adding geolocation from exif. There seems to be some problem when reading the exif data from image on your server. I am testing now on 3 different servers without any problem (this feature is here for long time, and it just does not need any link - it just opens the exif data and extracts the coordinates :idea: )

Jan

Re: Geolocation empty on https site

Posted: 19 Jan 2018, 19:09
by Olg
Hi, it worked earlier.

PHP Information on server:

exif
EXIF Support enabled
EXIF Version 1.4 $Id: 8bdc0c8f27c2c9dd1f7551f1f9fe3ab57a06a4b1 $
Supported EXIF Version 0220
Supported filetypes JPEG, TIFF
Directive Local Value Master Value
exif.decode_jis_intel JIS JIS
exif.decode_jis_motorola JIS JIS
exif.decode_unicode_intel UCS-2LE UCS-2LE
exif.decode_unicode_motorola UCS-2BE UCS-2BE
exif.encode_jis no value no value
exif.encode_unicode ISO-8859-15 ISO-8859-15
fileinfo
fileinfo support enabled
version 1.0.5
libmagic 522

Re: Geolocation empty on https site

Posted: 22 Jan 2018, 16:33
by Jan
Hi, the only one chance to get information about the problem is debug the exif file, to see if you get some data from image and its exif :-(

administrator\components\com_phocagallery\libraries\phocagallery\geo\geo.php

You can e.g. remove @ for tests:

FROM:

Code: Select all

@exif_read_data($fileOriginal, 0, true);
TO:

Code: Select all

exif_read_data($fileOriginal, 0, true);
- to test if the function can read the data, etc :idea:

Jan

Re: Geolocation empty on https site

Posted: 03 Feb 2018, 09:43
by Olg
I made this, but result the same... J! 3.8.4, Phoca Gallery 4.3.10.
Oleg