Home › Forum › Wp Gpx Maps › Support › GPX routes no longer showing
- Questo topic ha 2 risposte, 1 partecipante ed è stato aggiornato l'ultima volta 7 anni, 10 mesi fa da Mark.
-
AutorePost
-
MarkOspite
Hi… I was using this plugin to show my gpx routes and all was working well until recently when the routes no longer showed. It still shows the actual map but no route. I’ve tried both relative and absolute paths but still nothing. I’ve checked the gpx file on several other gpx viewing sites and it displays fine so it’s not a problem with the file. Any ideas how I can best troubleshoot this? It’s possible it may have happened after updating to wordpress 4.5.2. I’ve tried uninstalling and reinstalling the plugin but still no luck.
MarkOspiteWP GPX Maps Error: GPX file not found! /home/mxvysmpn/public_html/wp-content/uploads/2016/06/route.gpx
Warning: Attempt to read property "dt" on array in /home/mxvysmpn/public_html/wp-content/plugins/wp-gpx-maps/wp-gpx-maps.php on line 416
Warning: Attempt to read property "lat" on array in /home/mxvysmpn/public_html/wp-content/plugins/wp-gpx-maps/wp-gpx-maps.php on line 417
Warning: Attempt to read property "lon" on array in /home/mxvysmpn/public_html/wp-content/plugins/wp-gpx-maps/wp-gpx-maps.php on line 418
Warning: Attempt to read property "maxEle" on array in /home/mxvysmpn/public_html/wp-content/plugins/wp-gpx-maps/wp-gpx-maps.php on line 420
Warning: Attempt to read property "minEle" on array in /home/mxvysmpn/public_html/wp-content/plugins/wp-gpx-maps/wp-gpx-maps.php on line 421
Warning: Attempt to read property "maxTime" on array in /home/mxvysmpn/public_html/wp-content/plugins/wp-gpx-maps/wp-gpx-maps.php on line 422
Warning: Attempt to read property "minTime" on array in /home/mxvysmpn/public_html/wp-content/plugins/wp-gpx-maps/wp-gpx-maps.php on line 423
Warning: Attempt to read property "totalEleUp" on array in /home/mxvysmpn/public_html/wp-content/plugins/wp-gpx-maps/wp-gpx-maps.php on line 424
Warning: Attempt to read property "totalEleDown" on array in /home/mxvysmpn/public_html/wp-content/plugins/wp-gpx-maps/wp-gpx-maps.php on line 425
Warning: Attempt to read property "avgSpeed" on array in /home/mxvysmpn/public_html/wp-content/plugins/wp-gpx-maps/wp-gpx-maps.php on line 426
Warning: Attempt to read property "avgCad" on array in /home/mxvysmpn/public_html/wp-content/plugins/wp-gpx-maps/wp-gpx-maps.php on line 427
Warning: Attempt to read property "avgHr" on array in /home/mxvysmpn/public_html/wp-content/plugins/wp-gpx-maps/wp-gpx-maps.php on line 428
Warning: Attempt to read property "avgTemp" on array in /home/mxvysmpn/public_html/wp-content/plugins/wp-gpx-maps/wp-gpx-maps.php on line 429
Warning: Attempt to read property "totalLength" on array in /home/mxvysmpn/public_html/wp-content/plugins/wp-gpx-maps/wp-gpx-maps.php on line 430
You’ll see an example of what I mean at the address
https://hillexplorer.com/belvoir-witches-challenge-walk/
The shortcode I used was
© OpenStreetMap contributorsjQuery(document).ready(function() {
jQuery( "#wpgpxmaps_25555_2684999" ).wpgpxmaps( { targetId : "25555_2684999", mapType : "HYBRID", mapData : [], graphDist : [], graphEle : [], graphSpeed : [], graphHr : [], graphAtemp : [], graphCad : [], graphGrade : [], waypoints : [], unit : "0", unitspeed : "0", color1 : ["#3366cc"], color2 : "#3366cc", color3 : "#ff0000", color4 : "#ff77bd", color5 : "#beecff", color6 : "#beecff", color7 : "#ff77bd", chartFrom1 : "", chartTo1 : "", chartFrom2 : "", chartTo2 : "", startIcon : "", endIcon : "", currentIcon : "", waypointIcon : "", currentpositioncon : "", usegpsposition : "", zoomOnScrollWheel : "", ngGalleries : [], ngImages : [], pluginUrl : "https://devfarm.it/wp-content/plugins", TFApiKey : "74091772296743e3a6914fa00e348953", langs : { altitude : "Altitudine", currentPosition : "Current position", speed : "Velocità", grade : "Grade", heartRate : "Battito Cardiaco", atemp : "Temperature", cadence : "Cadenza", goFullScreen : "Go full screen", exitFullFcreen : "Exit full screen", hideImages : "Hide images", showImages : "Show images", backToCenter : "Ritorna al centro della mappa" } });
});
You’ll see that if you browse to https://hillexplorer.com/wp-content/uploads/2016/06/route.gpx that it’s a perfectly valid file that was working up until recently.
MarkOspiteI’ll try that again… the shortcode is:
[*sgpx gpx=”/wp-content/uploads/2016/06/route.gpx”]
without the asterix!
-
AutorePost