× Forum for the GPXTrackMap Content Plugin for Joomla! 2.5 and 3.x

Plugin does not display with using SSL Encryption

sergio replied the topic: Plugin does not display with using SSL Encryption

7 months 19 hours ago

Salut,

- j'ai testé le plugin SSL-Redirection mais il ne me convient pas car certaines pages sont ssl et toutes les pages contenant le plugin GPXTrackMap sont non-SSL

- ensuite j'ai essayé la solution de mettre "OpenLayers script source" et "OpenStreetMap script source" dans le dossier GPXTrackMap
(j'ai aussi modifié les adressages dans le plugin)
et c'est là que ça se complique

=> en SSL ça ne fonctionne pas (les cartes ne s'affichent pas)
=> mais en non-SSL ça fonctionne !
ça veut dire que l'adressage dans le plugin fonctionne mais pas en SSL

quelqu'un peut m'aider ?

bonne journée


Hello,

- I tested the SSL-Redirection plugin but it does not suit me because some pages are ssl and all the pages containing the plugin GPXTrackMap are non-SSL

- then I tried the solution to put "OpenLayers source script" and "OpenStreetMap source script" in the folder GPXTrackMap
(I also modified the addresses in the plugin)
And that's where it gets complicated

=> In SSL it does not work (the maps do not appear)
=> But in non-SSL it works!
It means that the addressing in the plugin works but not in SSL

someone can help me ?

have a good day

Last Edit: 7 months 19 hours ago by sergio.

Please Log in or Create an account to join the conversation.

ThierryM replied the topic: Plugin does not display with using SSL Encryption

8 months 12 hours ago

Hi,
Thanks for your help and your shared work, Frank.
This "issue" is normal : it's a security avtivated in Firefox and Chrome to prevent displaying, in an https site, a content which isn't from an https site (mixed content).
So, in hosting in your own site the files OpenLayers.js and OpenStreetMap.js (with /img and /themes directories), the .gpx tracks are displayed again.
Regards,

Thierry

Please Log in or Create an account to join the conversation.

enigma replied the topic: Plugin does not display with using SSL Encryption

1 year 1 month ago

Thanks Penguin for directing my attention to this SSL redirect plugin. It is working perfectly now on my site, and GPXTrack is now at last working beautifully on my SSL site below :)

My Website that Uses GPXTrackMap

For others who may be reading this, these are the steps I followed:

1) Intall the SSL Redirect Plugin in the Extension Manager
2) In your Joomla! Backend, in Global Configuration - Server settings, set Force SSL to either none or just Administrator Only
3) Configure and Enable the SSL Redirect Plugin in the Plugin Settings as follows:

3a) Enter all the menu items that feature the GPXTrackMap plugin in the 'non-SSL pages' fields
3b) Enter all the menu items that do not feature GPXTrackMap plugin in the 'SSL pages' fields
3c) In System Options, make sure all fields are set to 'no' except for Redirect non-SSL to SSL
and Redirect SSL to non-SSL

That did the job for me....

Cheers everyone

Last Edit: 1 year 1 month ago by enigma.

Please Log in or Create an account to join the conversation.

Penguin replied the topic: Plugin does not display with using SSL Encryption

1 year 1 month ago
Last Edit: 1 year 1 month ago by Penguin.
The following user(s) said Thank You: enigma

Please Log in or Create an account to join the conversation.

Penguin replied the topic: Plugin does not display with using SSL Encryption

1 year 1 month ago

Hi Frank,

This is what I did:

Download the Openstreetmap script from www.openstreetmap.org/openlayers/OpenStreetMap.js
and the latest Openlayers release package from
github.com/openlayers/ol2/releases

The contents of the tar (or zip) and the OpenStreetMap.js have to be copied under:
/[root of joomla]/plugins/content/gpxtrackmap/

I tried to use an other directory, but then it fails in retrieving the images (zoom, fullscreen, ...)

under the advanced Settings of the plugin I have following:

OpenLayers script source :
/[root of joomla]/plugins/content/gpxtrackmap/OpenLayers.js

OpenStreetMap script source :
/[root of joomla]/plugins/content/gpxtrackmap/OpenStreetMap.js

That's it ;)

It's a nice region there, and not very far for us. We'll be back there.

Last Edit: 1 year 1 month ago by Penguin.

Please Log in or Create an account to join the conversation.

fingeradmin replied the topic: Plugin does not display with using SSL Encryption

1 year 1 month ago

@enigma: i have read some hints about using the .htaccess file
to circumvent the https/http problem. But: that only works if
you have access to / control over the .htaccess file on
your server - many hosted sites do not allow you to modify
the .htaccess file.

It would be great if you could post your results here!


@Penguin: Great! :)

Could you write down what exactly you did to solve the issue?
Did you just change the script URLs?

I guess that more and more users will run into similar issues...

btw, Zweifall is "just around the corner" from where i live ;)


Thanks for the feedback!

cheers, Frank

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum