Unable to install/access Panel

Hi.

Fresh install of Kirby, unable to install Panel.
Getting this error.

Are you on PHP 7.4 already? Then you have to either install Kirby 3.3.2-rc1 or wait for the official release or change your PHP version to 7.3.

Yes, I am on PHP 7.4.
I tried going back to 7.3.12 but still having same issue.

You have to remove the user account because it was stored wrong and then create it again.

Hi @texnixe,

These are what I have tried so far…

  • Delete accounts folder and tried again - fail

  • Uninstall all PHP via homebrew (now using macOS default version 7.3.9), downloaded new Kirby starterkit - fail

Hm, that’s weird. We did have issues with PHP 7.4 because of a breaking change introduce with PHP 7.4, that will be fixed in the next release.

When you create the first account, what does get stored in the .httpasswd file? A hash? A plain text password?

Which Kirby version are you using, 3.3.1?

Password is stored as plain text. And I’m using whatever version that 's being downloaded at getkirby.com/try

That should not happen with PHP < 7.4, though. Are you sure you did a fresh install of the Panel with PHP 7.3?

Yes. I just downloaded kirby starterkit and still same error.

Could you please try if it works with 3.3.2-rc1? https://github.com/getkirby/kirby/archive/3.3.2-rc.1.zip

Replace the /kirby folder in the Starterkit with the unpacked folder from the .zip. (rename to kirby). Delete accounts first.

Yes, 3.3.2 is working. Should I stay with this version?

Well, you should update next week when the final 3.3.2 release comes out… But for the moment, I’d stick with it.

1 Like

@sicnarf Have you verified that Kirby was really using that PHP 7.3.9 installation? Best way to check would be to put <?php phpinfo(); in a Kirby template somewhere.

1 Like

Oops! Indeed Kirby is still using PHP 7.4. I have uninstalled PHP 7.4 on my system though. Where is it being set?

That depends on your setup. Do you use a tool like MAMP or Valet? A homegrown Apache installation from Homebrew or from source? The built-in Apache server in macOS? Etc.

It could be that the PHP 7.4 server is still running even after uninstalling it. Rebooting the machine should fix that.

I did restart when troubleshooting this. I think Valet could be the culprit. Will try to reinstall and check.
Thank you all.