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 10 anni fa da
BB00.
-
AutorePost
-
Ryan
OspiteWP GPX Maps Error: GPX file not found! /home/devfarm/www/wp-content/uploads/gpx/Lacock-to-bowden.gpxI’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 contributorsNot sure what is wrong?
Its hosted under the same account, so hosting settings the same.Any ideas?!
Ryan
OspiteThe code is sgpx gpx=”/wp-content/uploads/gpx/Lacock-to-bowden.gpx”
[ and ] removed 🙂
Ryan
OspiteMore 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?
Ryan
OspiteArgh!
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!!
Ryan
OspiteI think its a conflict with another plugin – disabled pressok-collapsible-regions plug in and it now works.
BB00
OspiteI’v the same problem..have you find the issue?
-
AutorePost