{ Dev Farm }

Web & Windows Development

Bug in version 1.1.25: Maps not loading gpx files

Home Forum Wp Gpx Maps Support Bug in version 1.1.25: Maps not loading gpx files

  • Questo topic ha 3 risposte, 2 partecipanti ed è stato aggiornato l'ultima volta 14 anni, 2 mesi fa da max.
Stai visualizzando 4 post - dal 1 a 4 (di 4 totali)
  • Autore
    Post
  • #404 Rispondi
    GPStracks.tv
    Ospite

    Hello,

    Testing the latest version WP GPX Maps (1.1.25) in my site http://gpstracks.tv I have realized that there is a bug which is preventing the application from accessing uploaded GPX tracks. In line 176 of file wp-gpx-maps.php it is written:

    if (strpos($gpx, “http://”) !== 0 || strpos($gpx, “https://”) !== 0)

    where it should say

    if (strpos($gpx, “http://”) !== 0 && strpos($gpx, “https://”) !== 0)

    Notice the change of || by &&

    Cheers,

    #405 Rispondi
    GPStracks.tv
    Ospite

    Hello,
    Testing the latest version WP GPX Maps (1.1.25) in my site http://gpstracks.tv I have realized that there is a bug which is preventing the application from accessing uploaded GPX tracks. In line 176 of file wp-gpx-maps.php it is written:
    if (strpos($gpx, “http://&#8221 !== 0 || strpos($gpx, “https://&#8221 !== 0)
    where it should say
    if (strpos($gpx, “http://&#8221 !== 0 && strpos($gpx, “https://&#8221 !== 0)
    Notice the change of || by &&
    Cheers,

    #406 Rispondi
    GPStracks.tv
    Ospite

    (Hope the 3rd edit is the good one)
    Hello,
    Testing the latest version WP GPX Maps (1.1.25) in my site http://gpstracks.tv I have realized that there is a bug which is preventing the application from accessing uploaded GPX tracks. In line 176 of file wp-gpx-maps.php it is written:
    if (strpos($gpx, "http://") !== 0 || strpos($gpx, "https://") !== 0)

    where it should say

    if (strpos($gpx, "http://") !== 0 && strpos($gpx, "https://") !== 0)

    Notice the change of || by &&

    Cheers,

    #408 Rispondi
    max
    Membro

    🙂 thanks!

Stai visualizzando 4 post - dal 1 a 4 (di 4 totali)
Rispondi a: Risposta #406 in Bug in version 1.1.25: Maps not loading gpx files

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.