F
Filament•2y ago
wotan6891

I installed filament and I can't log in.

I installed filament and I can't log in. I did everything, created the admin user, but I can't log in.
43 Replies
christmex
christmex•2y ago
did the data exist in database? is there any error returns?
wotan6891
wotan6891OP•2y ago
Hello. if the user is created. and it doesn't give any error, you just see the filamentphp login page again
wotan6891
wotan6891OP•2y ago
is xampp
Virgil
Virgil•2y ago
Is the user record in the user table of Mysql or something like that?
wotan6891
wotan6891OP•2y ago
yes I did the steps to create the user as requested by the filamentphp documentation, and I do see the user that is created in phpmyadmin I did another installation and the same thing happens.
Xiquita
Xiquita•2y ago
Did you configure the database in the .env file? and then do php artisan migrate
wotan6891
wotan6891OP•2y ago
yes
wotan6891
wotan6891OP•2y ago
No description
wotan6891
wotan6891OP•2y ago
No description
Xiquita
Xiquita•2y ago
php artisan make:filament-user, you create this?
wotan6891
wotan6891OP•2y ago
Yeah. It is just the user that is seen created in the second image
wotan6891
wotan6891OP•2y ago
No description
No description
wotan6891
wotan6891OP•2y ago
I am working on localhost xampp
Xiquita
Xiquita•2y ago
show .env file pls
wotan6891
wotan6891OP•2y ago
No description
Xiquita
Xiquita•2y ago
It seems ok, do php artisan migrate:fresh and then create the first user another alternative is to create a user per seeder
LeandroFerreira
LeandroFerreira•2y ago
why /public ? what is the error on the browser?
Xiquita
Xiquita•2y ago
or delete this .env and create a new one by copying the .env.example, then just assign the key and define the db
LeandroFerreira
LeandroFerreira•2y ago
I think you have a setup issue You could try it in a diff way https://www.freecodecamp.org/news/configure-a-laravel-project-with-custom-domain-name/
freeCodeCamp.org
How to Configure a Laravel Project with a Custom Domain Name on Win...
Laravel's simplicity and MVC architecture make it an ideal PHP framework for building web applications. In this article, I will show you how to set up Laravel on your Windows machine and configure it to run on a custom domain name. This guide is best suited for a beginner
wotan6891
wotan6891OP•2y ago
I already created a new user and the .env file also changed it
Xiquita
Xiquita•2y ago
create a user per seeder
wotan6891
wotan6891OP•2y ago
No description
Xiquita
Xiquita•2y ago
change your app_url also to http://localhost in .env file
wotan6891
wotan6891OP•2y ago
I already finished doing it. The strange thing is that it doesn't give an error. Only the login does not work.
Xiquita
Xiquita•2y ago
you installed the php artisan filament:install --panels?
wotan6891
wotan6891OP•2y ago
yes
Xiquita
Xiquita•2y ago
uninstall everything and install laravel and filament again from scratch When you run php artisan serve does it give an error?
wotan6891
wotan6891OP•2y ago
sin uso de servicio artesanal php. uso solo xampp I don't use php artisan serve. I use only xampp
Xiquita
Xiquita•2y ago
ho ok
wotan6891
wotan6891OP•2y ago
I uninstalled and created everything again. I even set permissions of 777 to the files to test if that wasn't the problem, but it's still the same.
Xiquita
Xiquita•2y ago
you have to do it with laravel and composer, only with xampp you will never leave the same
wotan6891
wotan6891OP•2y ago
php artisan serve. Where is phpmyadmin?
Xiquita
Xiquita•2y ago
in the .env file
wotan6891
wotan6891OP•2y ago
What I mean is that in xampp I have where to manage mysql. in artisan serve where do I manage mysql?
Xiquita
Xiquita•2y ago
I just use xampp with php myadmin and when running php artisan serve I open the app
wotan6891
wotan6891OP•2y ago
No description
Xiquita
Xiquita•2y ago
good
wotan6891
wotan6891OP•2y ago
you were absolutely right. It was php artisan serve. šŸ˜€ thank you very much Miss.
Xiquita
Xiquita•2y ago
good, it's solved, have fun You're welcome
wotan6891
wotan6891OP•2y ago
šŸ¤ šŸ‘ thank you
LeandroFerreira
LeandroFerreira•2y ago
note: when you are running php artisan serve you aren't using webserver from xampp
Xiquita
Xiquita•2y ago
Yes I know

Did you find this page helpful?