ℹ️️ Plugin GPX Viewer does not work for me in Flatpress 1.5.1
- RainerBielefeld
- Posts: 46
- Joined: Fri Jul 18, 2025 7:15 pm
- Location: Braunschweig, Germany
ℹ️️ Plugin GPX Viewer does not work for me in Flatpress 1.5.1
I already filed an issue for that problem with GPX Viewer Plugin, so here only for Info!
Can you confirm my observations?
CU
Rainer
Can you confirm my observations?
CU
Rainer
New here. I am planning to switch from Wordpress to FlatPress. But it seems hard ...
- fraenkiman
- Posts: 470
- Joined: Thu Feb 03, 2022 7:25 pm
- Location: Berlin, Germany
- Contact:
Re: ℹ️️ Plugin GPX Viewer does not work for me in Flatpress 1.5 RC1
Hello Rainer,
There seems to be a problem related to the PrettyURLs plugin. When I deactivate the PrettyURLs plugin and allow insecure JS, the GPX Viewer plugin works. To solve the problem with insecure JS, the echoScriptTags() function would have to look something like this. The getRelativeFilePathFromCurrentUrl() function of the GPX Viewer plugin would also need to be corrected so that the PrettyURLs plugin can be reactivated.
I'll stay on it. As soon as I get it fully up and running, you'll see it in this thread.
Best regards,
Frank
There seems to be a problem related to the PrettyURLs plugin. When I deactivate the PrettyURLs plugin and allow insecure JS, the GPX Viewer plugin works. To solve the problem with insecure JS, the echoScriptTags() function would have to look something like this. The getRelativeFilePathFromCurrentUrl() function of the GPX Viewer plugin would also need to be corrected so that the PrettyURLs plugin can be reactivated.
I'll stay on it. As soon as I get it fully up and running, you'll see it in this thread.
Best regards,
Frank
My
- RainerBielefeld
- Posts: 46
- Joined: Fri Jul 18, 2025 7:15 pm
- Location: Braunschweig, Germany
Re: ℹ️️ Plugin GPX Viewer does not work for me in Flatpress 1.5 RC1
Hi Frank,
before I try to understand all Details your research results: did you observe / reproduce my "Not even recognized?" problem?
CU
Rainer
New here. I am planning to switch from Wordpress to FlatPress. But it seems hard ...
- fraenkiman
- Posts: 470
- Joined: Thu Feb 03, 2022 7:25 pm
- Location: Berlin, Germany
- Contact:
Re: ℹ️️ Plugin GPX Viewer does not work for me in Flatpress 1.5.1
Hello everyone,
Due to stricter CSP, the Java scripts were blocked by the browser.
After I solved that, I saw a message in the browser saying that the *.gpx files could not be found (404).
With the changes commented in Codeberg, I got the plugin working in FlatPress 1.5 RC1.
You can download it from the wiki.
Best regards,
Frank
There were two problems:
Due to stricter CSP, the Java scripts were blocked by the browser.
After I solved that, I saw a message in the browser saying that the *.gpx files could not be found (404).
With the changes commented in Codeberg, I got the plugin working in FlatPress 1.5 RC1.
You can download it from the wiki.
Best regards,
Frank
My
- RainerBielefeld
- Posts: 46
- Joined: Fri Jul 18, 2025 7:15 pm
- Location: Braunschweig, Germany
Re: ℹ️️ Plugin GPX Viewer does not work for me in Flatpress 1.5.1
Hi Frank:
I – as a user, not a geek – need an answer to my question did you observe / reproduce my "Not even recognized?" problem?
And I have an additional question:
Which folder of gpx1.2.1 from .zip needs to be uploaded to the installation as subvolder of fp-plugins?
I – as a user, not a geek – need an answer to my question did you observe / reproduce my "Not even recognized?" problem?
And I have an additional question:
Which folder of gpx1.2.1 from .zip needs to be uploaded to the installation as subvolder of fp-plugins?
- gpx1.2.1?
- gpx1.2.1 reamed toflatpress_gpx or whatever else?
- subfolder from gpx1.2.1 gpx?
New here. I am planning to switch from Wordpress to FlatPress. But it seems hard ...
- fraenkiman
- Posts: 470
- Joined: Thu Feb 03, 2022 7:25 pm
- Location: Berlin, Germany
- Contact:
Re: ℹ️️ Plugin GPX Viewer does not work for me in Flatpress 1.5 RC1
Hello Rainer,
I was only able to reproduce it locally with the original version, as I did not have admin/file access to your instance.
First, I downloaded your 2025-10-18_GlobusUndSuedsee_RTr.gpx and another one from Arvid's bike tour book as a reference.
The directory and file structure must look like this:
This will display the plugin in the admin area and allow you to activate it.
Then you can assign the *.gpx file to the plugin in a test post using:
Plugin version 1.2.1 only works with FlatPress 1.5 RC1 or higher.
Best regards,
Frank
I was only able to reproduce it locally with the original version, as I did not have admin/file access to your instance.
First, I downloaded your 2025-10-18_GlobusUndSuedsee_RTr.gpx and another one from Arvid's bike tour book as a reference.
The directory and file structure must look like this:
Code: Select all
fp-plugins/gpx/plugin.gpx.phpThen you can assign the *.gpx file to the plugin in a test post using:
Code: Select all
[gpx="attachs/2025-10-18_GlobusUndSuedsee_RTr.gpx"]Best regards,
Frank
My
- RainerBielefeld
- Posts: 46
- Joined: Fri Jul 18, 2025 7:15 pm
- Location: Braunschweig, Germany
Re: ℹ️️ Plugin GPX Viewer does not work for me in Flatpress 1.5 RC1
Hello Frank,
That was one of the options I tried yesterday – without success, GPX-Viewer was not shown in the Plugins list.
And today I deleted another structure of the pluign, uploaded again the new GPX-viewer 1.2.1 and Ta-Dah:
Same success on a second test installation.
Don't ask me ... Must be some Christmas miracle
I activated the GPX-viewer, disabled Pretty-URL.
On Test for flatpress GPX Viewer still nothing visible.
On GPX-Viewer second attempt I now see
"Given file ”attachs/2025-10-18_GlobusUndSuedsee_RTr.gpx” does not exist."
(Message disappeared after having gambled around for a while
All this with inactive "Pretty-URL".
That's what I meant!fraenkiman wrote: Tue Dec 23, 2025 10:01 pm I was only able to reproduce it locally with the original version
And so the question is: why does FP / GPX-Viewer not recognize the existing file?
CU
Rainer
New here. I am planning to switch from Wordpress to FlatPress. But it seems hard ...
Who is online
Users browsing this forum: No registered users and 0 guests