F
Filament13mo ago
Eth

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)
No description
18 Replies
einnlleinhatt_
einnlleinhatt_13mo ago
Can you access another project or just this one ?
Eth
EthOP13mo ago
This is my first project but I’ve made others with the same steps in the documentation and it’s the same
Quin.
Quin.13mo ago
you do have your .env file?
einnlleinhatt_
einnlleinhatt_13mo ago
Can you access the root laravel without/admin ? squint
Eth
EthOP13mo ago
Yes Yes I also can login but can’t in /admin
einnlleinhatt_
einnlleinhatt_13mo ago
What do you mean you can login ?
Eth
EthOP13mo ago
I meant i can login in root but in /admin/login it’ll show the forbidden page
No description
einnlleinhatt_
einnlleinhatt_13mo ago
So after you sign-in it give you 403 status?
Eth
EthOP13mo ago
Yes
einnlleinhatt_
einnlleinhatt_13mo ago
That's weird, seems like your account doesn't have access to that panel
einnlleinhatt_
einnlleinhatt_13mo ago
Maybe you can try that.
Quin.
Quin.13mo ago
use Filament\Panel; public function canAccessPanel(Panel $panel): bool { return true; } try this first
Eth
EthOP13mo ago
It worked after removing “&& $this->hasVerifiedEmail()”🫠, thanks
No description
Eth
EthOP13mo ago
Indeed, it worked after removing “&& $this->hasVerifiedEmail()”
einnlleinhatt_
einnlleinhatt_13mo ago
Ohh I tho it was fresh install from the oven 🤣 Cause by default you don't need to change anything
Quin.
Quin.13mo ago
no problem man! Have fun
Eth
EthOP13mo ago
Ikr this is why i was so confused, thought its something about XAMPP as usual….
Want results from more Discord servers?
Add your server