{ Dev Farm }

Web & Windows Development

Plug in not working at all after theme change

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.
Stai visualizzando 6 post - dal 1 a 6 (di 6 totali)
  • Autore
    Post
  • #25578 Rispondi
    Ryan
    Ospite
    WP 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

    Not sure what is wrong?
    Its hosted under the same account, so hosting settings the same.

    Any ideas?!

    #25579 Rispondi
    Ryan
    Ospite

    The code is sgpx gpx=”/wp-content/uploads/gpx/Lacock-to-bowden.gpx”

    [ and ] removed 🙂

    #25580 Rispondi
    Ryan
    Ospite

    More 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 />

    Download

    So this just isn’t being written by the plug in?

    #25581 Rispondi
    Ryan
    Ospite

    Argh!

    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&#8217; target=’_new’!!GT!!Download!!LT!!/a!!GT!!

    #25582 Rispondi
    Ryan
    Ospite

    I think its a conflict with another plugin – disabled pressok-collapsible-regions plug in and it now works.

    #25593 Rispondi
    BB00
    Ospite

    I’v the same problem..have you find the issue?

Stai visualizzando 6 post - dal 1 a 6 (di 6 totali)
Rispondi a: Plug in not working at all after theme change

You can use BBCodes to format your content.
Your account can't use Advanced BBCodes, they will be stripped before saving.

Le tue informazioni:




Non è possibile lasciare nuovi commenti.