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
Geolocation empty on https site
- Jan
- Phoca Hero
- Posts: 47870
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Geolocation empty on https site
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 20
- Joined: 13 Dec 2015, 16:58
Re: Geolocation empty on https site
Hi, Jan.
I install 4.3.8. The problem is there...
I install 4.3.8. The problem is there...
- Jan
- Phoca Hero
- Posts: 47870
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Geolocation empty on https site
Do you get the problem with current images or do you get it when you add new image into the system too?
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 20
- Joined: 13 Dec 2015, 16:58
Re: Geolocation empty on https site
I get this problem in both cases.
- Jan
- Phoca Hero
- Posts: 47870
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Geolocation empty on https site
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
Jan
"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
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 20
- Joined: 13 Dec 2015, 16:58
Re: Geolocation empty on https site
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.
P.S. In Gallery 4.3.9 version the problem with empty geolocation remained.
- Jan
- Phoca Hero
- Posts: 47870
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Geolocation empty on https site
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 )
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 20
- Joined: 13 Dec 2015, 16:58
Re: Geolocation empty on https site
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
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
- Jan
- Phoca Hero
- Posts: 47870
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Geolocation empty on https site
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:
TO:
- to test if the function can read the data, etc
Jan
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);
Code: Select all
exif_read_data($fileOriginal, 0, true);
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 20
- Joined: 13 Dec 2015, 16:58
Re: Geolocation empty on https site
I made this, but result the same... J! 3.8.4, Phoca Gallery 4.3.10.
Oleg
Oleg