Hi everyone, congratulations for launching Kirby 3!
I was following the migration docs and the part where it says kirby 3 uses _ instead of - for folders and how you can convert your content folder to this new rule.
What I did:
Git cloned the starterkit
Used valet link (with php 7.2) to have the starterkit served on http://kirby3.test/
Copied the upgrade.php code into a file named the same name into the root of the starter kit
@distantnative I’m not using Valet+ but basic Valet and I never had any problem on Kirby 2. I also accessed Kirby 3 panel without any trouble and created my user. Still going to check for the driver file but I don’t even have an existing folder to place it in.
Just to clarify - Valet from Laravel works out of the box. Valet+ is made by a third party on top of the official Valet, and it’s Kirby driver is about 6 months behind, and needs the update.
Don’t worry, both Valet and Valet plus seems to use the same valet link commande line so that’s understandable with the other topic being discussed right now!
And I’m really not familiar with the system, but it seems from a first glance, that it only allows static files, the index.php and the panel/index.php to be accessed?
I’m not saying it does not work with K3… cause K3 just needs the index.php. But it might still block access to the upgrade.php which usually isn’t part of Kirby 3.
Other point could be the .htaccess- any custom rules there, @Thomasorus?
I restarted valet but no change. As for the .htaccess I didn’t changed anything from the starterkit outside of emptying the content folder and adding my content.
Do you have any other environment to test in? Since I know this script to work just fine, so I’d suspect it has to do with your setup, either Valet or something else. And somehow it just doesn’t find the file or refuses to deliver it, because the call the to script itself fails.
No, sorry for the confusion, I don’t have both installed. I just copy pasted both just to be sure. @texnixe I’m installing MAMP right now to try with it.
Aaaaaaand @texnixe nailed it! The script worked using MAMP as the local server. So I’m not sure what the problem is but well, it’s done so that’s cool. Just to resume a bit:
I was using valet (not valet plus)
I had access to the panel without the driver, and could create users and content
The kirby valet drivers did not change anything
In the end MAMP did the trick.
So maybe it has to do with something inside my php configuration?