Route Problem
Hi. Been away from Filament doing other projects and have now started a new one using Laravel 11 and Filament 3. Basic install. Everything seems to have installed OK but I get a 404 not found when going to /admin/login. I get all OK from the filament install and the service provider is registered. Any idea of what this could be?
22 Replies
Can you share your
AppPanelProvider
?I don't have one ??
I have a Filament/AdminPanelProvider.php
AdminPanelProvider
probably 😅I can't paste the contents - too large - I will upload the file
Does it have
->path('/admin')
and ->login()
?yes
Hm weird.
screenshot
Any routes registered in
routes/web.php
already?just '/' to get to the welcome page which works fine
maybe I should trash Filament and re-install. It is a new site so no worries there
You could try. Not sure whether that solves your issue.
php artisan route:list shows the admin routes as being registered
It's Laravel's 404? And the
/
route works?no the server
/ works
So it's not hitting the Laravel app.
It this local?
live
Solution
So maybe an issue with the server setup?
https://gapauto.servix.link/admin/login
laravel works at / so I dunno
don't spend any more time though - I will reinstall and see what shakes loose
Maybe try adding a route like
/first/second
and see whether it works
/
is always a bit special.
I think it's your server setup that's not directing all requests to public/index.php
could be - I will look there. Thanks
hi, i have the same problem
in local all it's ok
i'm on siteground, subdomain of my main domain
doing by pulling my gitlab repository, composer update
i have 2 panels admin and customer, both Error 500 (server error not laravel)
web routes
link https://demo.alphalab.audio
.htaccess (suggested buy the customer care of siteground)
@Dennis Koch It was in fact a stupid mistake with the server vhost setup. Not sure why I was thinking this could not be if "/" route worked correctly.