Panel redirects to non-existing page

Hi all,

Iā€™m quite new to working with Kirby and very new to the forum, so please excuse any rookie mistakes I may make here.

I set up a page for my choir using Kirby and up until now everything worked fine.

However, after I updated to version 2.5.7, I couldnā€™t access the panel anymore. When I tried to access it on https://[url]/panel I always got redirected to https://panel/login which doesnā€™t exist (the base part of the URL is missing - the redirect from https://[url]/panel to https://[url]/panel/login is the expected behaviour).
I have a link on the site that points to the panel and is created like this:
Panel
In the broken version, this link already points to the wrong URL, as described above. So the error seems to be somewhere in there. But even when I type in the correct URL, I still get redirected (via a 302) to the wrong URL where I get the 404.
I guess the redirect URL is generated in the same way and somewhere along this, an error occurs and the index() method returns an empty string. This makes the redirect URL only the suffix ā€˜panel/loginā€™, and therefore it doesnā€™t work.

I found this thread: 404 on /panel page for setup but none of the solutions worked for me. Whatā€™s strange is, that the site and the panel worked fine for about a year now, and the breaking commit is the one that only contains the kirby update.

I checked the .htaccess file, there were no changes made. I also made sure the file permissions are right. But now I donā€™t know what to do. Does anyone have an idea?

Any help is greatly appreciated.
Regards,
Jeremias

Do you happen to be on Strato hosting?

In any case, you might want to try this solution as well: Error: idn_to_ascii() expects at most 2 parameters, 3 given

2 Likes

Yes, it is hosted on Strato (hope to get the site moved to another provider ASAPā€¦). Thanks for the link, I will try it out soon!

Yes, that worked! Wow, thanks for the great and really really fast support! :slight_smile:

1 Like