mastervanleeuwen / J-TrackGallery

GPS Track Gallery component for Joomla
https://mastervanleeuwen.github.io/J-TrackGallery/
6 stars 0 forks source link

Problem with gpx file upload (joomla 4.4.6; latest version of J-Track Gallery installed #89

Open JurekKl opened 3 months ago

JurekKl commented 3 months ago

Hello, When I try to upload and import gpx file with my track i receive following error message: "Attempt to assign property "trackname" on null"

Could you help me?

Best regards

Jerzy

mastervanleeuwen commented 3 months ago

Hello Jerzy,

Thanks for your message. Are you using the latest main release:

https://github.com/mastervanleeuwen/J-TrackGallery/releases/tag/0.9.35

or the latest test version:

https://github.com/mastervanleeuwen/J-TrackGallery/releases/tag/0.9.36-rc1

It would be useful to have the gps file that you are uploading for testing. Would it be OK to share the file here?

Best regards, Marco.

JurekKl commented 3 months ago

Hi Marco, thank you for your quick response. I use version 0.9.35 - see screenshot below [image: image.png] Best regards,

Jerzy

pt., 19 lip 2024 o 21:37 Marco van Leeuwen @.***> napisał(a):

Hello Jerzy,

Thanks for your message. Are you using the latest main release:

https://github.com/mastervanleeuwen/J-TrackGallery/releases/tag/0.9.35

or the latest test version:

https://github.com/mastervanleeuwen/J-TrackGallery/releases/tag/0.9.36-rc1

Best regards, Marco.

— Reply to this email directly, view it on GitHub https://github.com/mastervanleeuwen/J-TrackGallery/issues/89#issuecomment-2239996305, or unsubscribe https://github.com/notifications/unsubscribe-auth/BJ7F5Z4KR47POME2ATPLMNTZNFTGBAVCNFSM6AAAAABLE2OVPKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMZZHE4TMMZQGU . You are receiving this because you authored the thread.Message ID: @.***>

-- Pozdrawiam

Jurek

www.ciekawoscswiata.pl

mastervanleeuwen commented 3 months ago

Hi Jerzy, I tested this on my test system and it works for me. I think that the problem may be specific to your gpx file. Would you be willing to send it to me for testing? Does the file contain a track name?

GPX files are basically text files, so you can look inside them with a text editor (like notepad on Windows). Do you something like this in your file:

<trk>
    <name><![CDATA[03 Aug 2015 Sant'Anna to Ruf. Migliorero]]></name>
    <trkseg>

or do you have a 'route' in the file; those have tags with and

JurekKl commented 3 months ago

Hi Marco, In attachment I send you my .gpx file. Map was created in Google My Maps, exported to .kml file and converted to *.gpx file by https://www.gpsvisualizer.com/convert_input Track name exist in my file.

Jerzy

sob., 20 lip 2024 o 12:43 Marco van Leeuwen @.***> napisał(a):

Hi Jerzy, I tested this on my test system and it works for me. I think that the problem may be specific to your gpx file. Would you be willing to send it to me for testing? Does the file contain a track name?

GPX files are basically text files, so you can look inside them with a text editor (like notepad on Windows). Do you something like this in your file:

or do you have a 'route' in the file; those have tags with and — Reply to this email directly, view it on GitHub , or unsubscribe . You are receiving this because you authored the thread.Message ID: ***@***.***>

-- Pozdrawiam

Jurek

www.ciekawoscswiata.pl

mastervanleeuwen commented 3 months ago

Hi Jerzy, attachments are removed from the e-mail by gitlab, so I did not receive the file. Could you upload it via the website or send it directly to my e-mail address?

Marco.

mastervanleeuwen commented 3 months ago

Hi Jerzy, Thanks for sending the gpx file. Unfortunately, I cannot reproduce the problem; I managed to upload it and you can find it here: https://jtrackgalleryj4.gta-trek.eu/index.php/en/track/18

Could you try installing one of the newer 'pre-release' version, e.g. this one: https://github.com/mastervanleeuwen/J-TrackGallery/releases/tag/0.9.35-e or this one: https://github.com/mastervanleeuwen/J-TrackGallery/releases/tag/0.9.36-rc1

to see whether that works?

Are you uploading the track in the administrator view, or from the front end (user view)? Does the system give any more information about where the error occurs? To get more information, you can switch on the debugging in the main configuration:

image

Another way to get more debug information is to look inside the error_log file in the 'administrator' directory on your server to see whether it gives more details.

Best regards, Marco.