• ahoyhoy

    (@ahoyhoy-1)


    Could you tell me where I am going wrong now please?

    For shortcode I am using [tsmap user=@] for live tracking. However there are no tracks in my Manage tracks page. My site shows a map with only a ‘No tracks to display’ speech bubble.

    My TrackMe app settings are: ‘GPS’ box checked. ‘Run with high priority’ box checked. ‘Sync my positions’ box checked.
    Server settings are:
    Username is the ‘Trackserver profile for … username.’
    Password is the TrackMe password.
    URL Header is https://ontheroadbike.com/trackme
    I have also tried https://ontheroadbike.com/trackme/Trackserver profile for … username/TrackMe password
    Server Extension is z.

    Thank you again in advance for your time and trouble.
    Jason

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author tinuzz

    (@tinuzz)

    Hi Jason,

    The “No tracks to display” message seems quite accurate to me if there are no tracks in your database ??

    The URL seems correct, as in: https://ontheroadbike.com/trackme/requests.z (the final URL that TrackMe uses for location uploads) is handled by Trackserver correctly, as far as I can tell.

    What does TrackMe say in its log?

    Best regards,
    Martijn.

    Thread Starter ahoyhoy

    (@ahoyhoy-1)

    Thank you for your swift reply Martijn.

    The TrackMe LOG is a very long list of, for example:
    [08:29:15] Storing 52.683,-1.119…
    [08:29:15] Position added correctly.
    [08:32:37] Storing 52.679,-1.123…
    [08:32:37] Position added correctly.
    This would be a record of my journey to work. Tapping the globe icon shows this route.
    [17:04:58] Storing 52.635,-1.130…
    [17:04:58] Position added correctly.
    [17:04:58] Uploading 52.635,-1.130…
    [17:05:02] Position added correctly.
    This would be a record of my journey to the gym from work. Tapping the globe icon shows this on the route.

    Kind regards,
    Jason

    Plugin Author tinuzz

    (@tinuzz)

    So… you are saying that TrackMe says “Position added correctly”, but there are no tracks in your Trackserver database?

    If you have the server URL configured correctly and you are actually using the same user account in the app and in WordPress, I’d have to say that’s impossible.

    Look at your server logs (MySQL query log perhaps? to see what is actually going on.

    Best regards,
    Martijn.

    Thread Starter ahoyhoy

    (@ahoyhoy-1)

    Hi Martijn,

    I’ve found the Export Routes and Selected destination… All routes to TrackMe Server and the test route has appeared in Manage tracks page. And clicking ‘view’ shows the route in a pop up window.

    A partial success of sorts as the site still has a “No tracks to display” message.

    Could you indulge me one final time and help me display live tracking please?

    Thank you once again.

    Kind regards,
    Jason

    Plugin Author tinuzz

    (@tinuzz)

    Hi,

    In the app, under “TrackMe Server settings”, do you have “Sync my positions” checked?

    This setting was introduced a while after Trackserver was born, and the screenshots don’t mention this setting, even though it is disabled by default, IIRC.

    If:
    – you have at least one track in Trackserver,
    – the track actually has some locations,
    – you have [tsmap user=@] on your post/page,
    – the author of the post/page is the same user that has the track,

    the track should be visible. If it’s not, I’m not sure what is wrong.

    Best regards,
    Martijn.

    Plugin Author tinuzz

    (@tinuzz)

    I looked at your page once again. If you look at the source, all the way at the bottom, you’ll see:

    var trackserver_mapdata = [{"div_id":"tsmap_1","tracks":[], ...

    "tracks":[] means, the server is telling the browser there are no tracks to display. So there must be something wrong with your shortcode, a mismatch in usernames or a typo maybe.

    Can you try:

    [tsmap id=<id>]

    where <id> is the ID of the track in your database?

    Best regards,
    Martijn.

    • This reply was modified 4 years, 12 months ago by tinuzz.
    Thread Starter ahoyhoy

    (@ahoyhoy-1)

    I have a track in Manage tracks. It’s ID is ‘4’ (this is the fourth route I have exported from my phone). User is ‘ahoy.hoy’. Name is ‘test route’. Source is ‘TrackMe’. View is ‘view’ and if I click ‘view’ a large pop-up window appears and it displays the actual ‘test route’ itself on a Leaflet OpenStreetMap map. Which is picture perfect!

    However the site still has ‘No maps to display’ even using the shortcode [tsmap id=4] instead of [tsmap user=@]

    I am at a loss as to why it isn’t working for me.

    I wish to thank you very much for the trouble you have gone to.

    Kind regards,
    Jason

    Plugin Author tinuzz

    (@tinuzz)

    Can you try creating a new post or page with the shortcode and see if it works there? I suspect it doesn’t work on your homepage, because it is not an actual page in WordPress terms, and it doesn’t have an author. If the page doesn’t have an author, you run into a permissions problem. Maybe your theme manages the homepage in a non-standard way. I have seen that before.

    Best regards,
    Martijn.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘‘No tracks to display’’ is closed to new replies.