-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Herd can't open files (Kirby CMS) #391
Comments
Which error do you get? |
That's the strange thing, I only get a 404 error back. Error logs are empty. I somehow can't explain this. |
Are you using any framework? You might need to take a look at Herds drivers in order to properly serve your site: https://herd.laravel.com/docs/1/extending-herd/custom-drivers |
Yes, I use Kirby CMS. But already asked there in the Forum and they got no solution |
Do you have an example repo that I can reproduce this? |
@Werbschaft ping |
Sorry for the delay. I created a repo. It's a fork of the original Kirby Starterkit, the only difference is one CSS File, located in The original Starterkit works like in this Video: https://www.youtube.com/watch?v=Mb_-bo77IPc |
My guess is that this is related to the underlying Laravel Valet component that Herd also uses. Both are using this driver to serve Kirby: https://github.com/laravel/valet/blob/master/cli/Valet/Drivers/Specific/KirbyValetDriver.php. This driver is also by maintained by 3rd party developers, likely from the Kirby community, so I'd address this problem in their community so that they can fix the driver in Valet and eventually we can do that in Herd as well. We don't have Kirby experience and rely on others to provide a driver that supports this and so it's not a Herd issue that we can fix. |
nginx error for future reference:
|
Thanks so much. I will ask the Kirby Community for help |
Solution is found, Kirby Valet Driver has a new PR: laravel/valet#1471 |
Fixed in Herd 1.4.2 |
Operating system version
macOS Sonoma 14.0
System architecture
ARM64 (M1, M2, etc)
Herd Version
1.4.0 Build 20
PHP Version
PHP 8.3
Bug description
I have a lot of PHP files that dynamically output content but with a different header. Example
template.css.php
However, this does not work with Laravel Herd. It works with Mamp Pro and also on every server. Only Herd gives me a 404 status. Does anyone know what the problem could be? I would like to switch from Mamp Pro to Laravel Herd.
Steps to reproduce
No response
Relevant log output
No response
The text was updated successfully, but these errors were encountered: