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

No map at all

onetoremember replied the topic: No map at all

5 years 10 months ago

That worked - many thanks for your help.

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

fingeradmin replied the topic: No map at all

5 years 10 months ago

Hi there,

sorry, my fault - when you install the new version over an old one, the settings of the old version remain as they are, so it still tries to load the script from the OpenLayers server.

Go to the plugin options, Advanced settings and set it up as follows:

OpenLayers script source: /plugins/content/gpxtrackmap/OpenLayers.2.13.2.full.js
OpenStreetMap script source: /plugins/content/gpxtrackmap/OpenStreetMap.js

...and in case you use Google Maps, set GoogleMaps script source to:
maps.1d5920f4b44b27a802bd77c4f0536f5a-gdprlock/maps/api/js?v=3.21&key=

That should fix it!

cheers, Frank

The following user(s) said Thank You: onetoremember

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

onetoremember replied the topic: No map at all

5 years 10 months ago

Thank you

I have installed 1.4.1 but it is showing the same error?


I can see the following:

Blocked loading mixed active content "www.openlayers.org/api/OpenLayers.js"[Learn More]
testgpx
Blocked loading mixed active content "www.openstreetmap.org/openlayers/OpenStreetMap.js"[Learn More]
testgpx
JQMIGRATE: Migrate is installed, version 1.4.1
jquery-migrate.min.js:2:542
JQMIGRATE: Migrate is installed, version 1.4.1
js-f864f-07732.js:30:542
Blocked loading mixed active content "www.openlayers.org/api/OpenLayers.js"[Learn More]
testgpx
Loading failed for the <script> with source “www.openlayers.org/api/OpenLayers.js”.
testgpx:51
Blocked loading mixed active content "www.openstreetmap.org/openlayers/OpenStreetMap.js"[Learn More]
testgpx
Loading failed for the <script> with source “www.openstreetmap.org/openlayers/OpenStreetMap.js”.
testgpx:52
ReferenceError: OpenLayers is not defined[Learn More]


Do I have to change anything else for it to use internal scripts - should ai change URLs in advanced settings?

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

fingeradmin replied the topic: No map at all

5 years 10 months ago

Hi,

your page is served via https, but the plugin (old version?) tries to access the OpenLayers library via http. Thus you get the error message:

Mixed Content: The page at 'www.ifootpath.com/testgpx' was loaded over HTTPS, but requested an insecure script 'openlayers.org/api/OpenLayers.js'. This request has been blocked; the content must be served over HTTPS.

(hit F12 in Chrome or Firefox and reload your page to see this).

Solution: use the latest version of the plugin (from the download page ).

This version installs the needed scripts locally on your server, so there's no https vs. http involved any more.

hth & cheers, Frank

The following user(s) said Thank You: onetoremember

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

onetoremember created the topic: No map at all

5 years 10 months ago

Hi

I installed GPXTRackMap many months ago and it worked very well. It then stopped and the page was blank. Recently I have tried again - installed again and created a test page.

I have created a Joomla Article and the page is blank no box. I have Jquery on

Here is the page

www.ifootpath.com/testgpx

I hope that you can help - many thanks.

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

Powered by Kunena Forum