Home › Forum › Wp Gpx Maps › Support › Plug in not working at all after theme change
- Questo topic ha 5 risposte, 1 partecipante ed è stato aggiornato l'ultima volta 7 anni, 8 mesi fa da BB00.
-
AutorePost
-
RyanOspiteWP GPX Maps Error: GPX file not found! /home/mxvysmpn/public_html/wp-content/uploads/gpx/Lacock-to-bowden.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
I’ve upgraded my website mainly changing the theme, and on the new site, the GPX plugin no longer works – it doesn’t display anything. It is install and configured and I *think* I checked it before going live, but its not working now.
For example:-
New page: http://www.doyourdream.co.uk/2015/01/melksham-spy-park-corsham-lacock-40km-mountain-bike-ride/
Old site: http://test.doyourdream.co.uk/2015/01/melksham-spy-park-corsham-lacock-40km-mountain-bike-ride/The old site shoes the map, the new site is blank.
The “page data” is the same, and other plug ins working fine.
The GPX file is /wp-content/uploads/gpx/melksham-spy-park-lacock-corsham.gpx and is present on both www and test site.
Enabling/disabling the plug in shows/unshows the shortcode, but no fix. The code is© OpenStreetMap contributorsjQuery(document).ready(function() {
jQuery( "#wpgpxmaps_25578_144748" ).wpgpxmaps( { targetId : "25578_144748", 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 : "http://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" } });
});
Not sure what is wrong?
Its hosted under the same account, so hosting settings the same.Any ideas?!
RyanOspiteThe code is sgpx gpx=”/wp-content/uploads/gpx/Lacock-to-bowden.gpx”
[ and ] removed 🙂
RyanOspiteMore investigation shows the plug in sticks most of the data in the source, so all the styles and GPX datapoints etc, but the one that doesn’t work compared to the one that does, has this bit missing
<span class=’totlen’><span class=’summarylabel’>Total distance:</span><span class=’summaryvalue’> 39607 m</span></span><br /><span class=’maxele’><span class=’summarylabel’>Max elevation:</span><span class=’summaryvalue’> 181 m</span></span><br /><span class=’totaleleup’><span class=’summarylabel’>Total climbing:</span><span class=’summaryvalue’> 357 m</span></span><br />So this just isn’t being written by the plug in?
RyanOspiteArgh!
Try again, with < replaced with !!LT!! and > with !!GT!!
!!LT!!div id=’wpgpxmaps_summary_2460_4142884′ class=’wpgpxmaps_summary’!!GT!!!!LT!!span class=’totlen’!!GT!!!!LT!!span class=’summarylabel’!!GT!!Total distance:!!LT!!/span!!GT!!!!LT!!span class=’summaryvalue’!!GT!! 39607 m!!LT!!/span!!GT!!!!LT!!/span!!GT!!!!LT!!br /!!GT!!!!LT!!span class=’maxele’!!GT!!!!LT!!span class=’summarylabel’!!GT!!Max elevation:!!LT!!/span!!GT!!!!LT!!span class=’summaryvalue’!!GT!! 181 m!!LT!!/span!!GT!!!!LT!!/span!!GT!!!!LT!!br /!!GT!!!!LT!!span class=’totaleleup’!!GT!!!!LT!!span class=’summarylabel’!!GT!!Total climbing:!!LT!!/span!!GT!!!!LT!!span class=’summaryvalue’!!GT!! 357 m!!LT!!/span!!GT!!!!LT!!/span!!GT!!!!LT!!br /!!GT!!!!LT!!/div!!GT!!!!LT!!a href=’http://test.doyourdream.co.uk/wp-content/uploads/gpx/melksham-spy-park-lacock-corsham.gpx’ target=’_new’!!GT!!Download!!LT!!/a!!GT!!
RyanOspiteI think its a conflict with another plugin – disabled pressok-collapsible-regions plug in and it now works.
BB00OspiteI’v the same problem..have you find the issue?
-
AutorePost