Can't install panel locally on any server

Hello,

I’m working on another Kirby project and just downloaded the plainkit and am running it on a local server.

The site works, except for the panel installation, which, when I type in localhost/panel, returns this error message: " This page is currently offline due to an unexpected error. We are very sorry for the inconvenience and will fix it as soon as possible.
Advice for developers and administrators:
Enable [debug mode] to get further information about the error."

This is the case on XAMPP, Apache, php 8.2.4 and 8.1.17.

Then I tried the same thing on MAMP, Apache, php 8.3.9 and 8.2.20. Here only the homepage works, all other links as well as /panel return 404 not found.

I tried this all with the starter and plainkit as well (.htaccess is there and I didn’t touch it) and got the same results, on MAMP with the starter kit none of the links work, not even pictures show up. .htaccess doesn’t seem to be the problem, when I type just gibberish in the file it returns an error 500, like I saw suggested in another post.

I’ve looked through all the help pages and don’t know what else to try. I even tried MAMP with nginx as well, with the boilerplate kirby.conf file, and it’s the same problem as before, every link except for the homepage is a 404.

Any help and new ideas are appreciated! Thanks!

Recent versions of MAMP require you to explicity enable Mod Rewrite. Once you do that Kirby should funtion properly on MAMP.

DId you enable Debug mode? What was the error message?

I enabled mod rewrite like written here: php - How to correctly activate mod_rewrite mamp? - Stack Overflow and now everything works, I can access all links and install the panel! Thanks so much!

2 Likes

So annoying that MAMP made this change, this is probably the hundredth topic about this issue.

To avoid this maybe it would be helpful to add it to the Quickstart or installation guide…

The requirements are in the installation guide, we cannot possibly add notes for any development setup there, need to keep it short.

I can add a note in the Mamp local dev setup guide, but doubt many will read it.

1 Like