what’s the possible issue
I’ve tried everything, reinstalling laravel, composer and filament but it keeps showing me the forbidden page (I’m using XAMPP)
18 Replies
Can you access another project or just this one ?
This is my first project but I’ve made others with the same steps in the documentation and it’s the same
you do have your .env file?
Can you access the root laravel without/admin ?
Yes
Yes I also can login but can’t in /admin
What do you mean you can login ?
I meant i can login in root but in /admin/login it’ll show the forbidden page
So after you sign-in it give you 403 status?
Yes
That's weird, seems like your account doesn't have access to that panel
Maybe you can try that.
use Filament\Panel;
public function canAccessPanel(Panel $panel): bool
{
return true;
}
try this first
It worked after removing “&& $this->hasVerifiedEmail()”🫠, thanks
Indeed, it worked after removing “&& $this->hasVerifiedEmail()”
Ohh I tho it was fresh install from the oven 🤣
Cause by default you don't need to change anything
no problem man!
Have fun
Ikr this is why i was so confused, thought its something about XAMPP as usual….