tinuzz / wp-plugin-trackserver

A WordPress plugin for GPS tracking and publishing
https://wordpress.org/plugins/trackserver/
36 stars 14 forks source link

Illegal request. #1

Closed Micboule closed 9 years ago

Micboule commented 9 years ago

Hi!

I get Illegal request. on wordpress website.

Any clue?

Thanks,

tinuzz commented 9 years ago

Can you give me some more information?

Thank you.

Micboule commented 9 years ago

Hi,

I installed the plugin Trackserver to my latest Wordpress version. Installed successfully. Than I configured OruxMaps to my server. Than I entered the login and password of MapMyTrack which was wrong... Of course it says username or password is incorrect. So than I did entered the good login and password of my Wordpress admin. When it asking me again the login password, I enter the Wordpress login and when I clic on ok, I get a white page saying Illegal Request. This was with Chrome. Than I tested it with Internet Explorer and I get another message, HTTP 501/HTTP 505 Not implimented....

With Internet Explorer 2015-07-21062122

With Chrome 2015-07-21062234

Thanks for the reply :)

tinuzz commented 9 years ago

Yes, the "Illegal request" response is because you open the MapMyTracks slug ('maps') in the browser. You're not supposed to do that. That URL (meaning: the slug that you configured in Trackserver for the MapMyTracks protocol) is meant for OruxMaps to send location updates to, it is not meant to do anything when you open it in a browser. The request is not a valid MapMyTracks protocol update, so it is in fact illegal in this context.

Best regards, Martijn.

Micboule commented 9 years ago

Hi, thanks for replying so fast.

Hhhmm.... where can I see on the web the live tracking map of uploaded tracks?

Once the track is uploading to the Wordpress server, is there any way to see "live" my position on a webpage?

Again, thanks for helping me, little bit confused here...

Micboule

tinuzz commented 9 years ago

Hi,

I realize now that the documentation is lacking a little, but the use of the plugin is described on the 'Installation' tab of the plugin information, that you can also view via 'View details' on the plugins page of your Wordpress admin backend.

https://wordpress.org/plugins/trackserver/installation/

"Use the shortcode [tsmap] to include maps and tracks in your posts and pages."

Then look at the FAQ page

https://wordpress.org/plugins/trackserver/faq/

for all the attributes the shortcode supports.

I should improve the documentation.

Best regards, Martijn,

Micboule commented 9 years ago

Thank you again Tinuzz I really appreciate it.