mauricerenck / rate-page

A Kirby rating plugin
MIT License
11 stars 1 forks source link

404 not found #10

Closed demlak closed 3 years ago

demlak commented 3 years ago

v1.1.2 on clicking a star (planet) on rating, console says:

stars.js:31 POST https://..../rate-page/stars 404 (Not Found)
sendRating @ stars.js:31
(anonymous) @ stars.js:113
mauricerenck commented 3 years ago

Can you please provide the full url, I cannot reproduce this behavior on my test installations. Thank you.

demlak commented 3 years ago

Fresh install of kirby starterkit 3.5.1 with ratepage v1.1.2. only edit of starterkit is: css added to head.php, stars-snippet added to note.php

https://wohnwelt-wunstorf.de/starterkit-master/notes/exploring-the-universe

mauricerenck commented 3 years ago

This was caused because you installed kirby in a subfolder not in the domain root. I had to adapt the urls for this to work. Fixed in 1.1.3

demlak commented 3 years ago

thx.. i just installed a new fresh install.. there is still a 404 with v1.1.3 https://wohnwelt-wunstorf.de/sk/notes/exploring-the-universe

mauricerenck commented 3 years ago

I am on it. The URLs are okay, the routes should be firing, but as soon as kirby is installed in a subfolder the routes don't work.

mauricerenck commented 3 years ago

I had to rewrite the whole thing to get it working with kirby installed in subfolders. You should be able to use v1.2.0.

demlak commented 3 years ago

nice! this issue seems to be fixed.. thx a very lot!