F
Filamentā€¢16mo 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ā€¢16mo ago
did the data exist in database? is there any error returns?
wotan6891
wotan6891OPā€¢16mo ago
Hello. if the user is created. and it doesn't give any error, you just see the filamentphp login page again
wotan6891
wotan6891OPā€¢15mo ago
is xampp
Virgil
Virgilā€¢15mo ago
Is the user record in the user table of Mysql or something like that?
wotan6891
wotan6891OPā€¢15mo 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ā€¢15mo ago
Did you configure the database in the .env file? and then do php artisan migrate
wotan6891
wotan6891OPā€¢15mo ago
yes
wotan6891
wotan6891OPā€¢15mo ago
No description
wotan6891
wotan6891OPā€¢15mo ago
No description
Xiquita
Xiquitaā€¢15mo ago
php artisan make:filament-user, you create this?
wotan6891
wotan6891OPā€¢15mo ago
Yeah. It is just the user that is seen created in the second image
wotan6891
wotan6891OPā€¢15mo ago
No description
No description
wotan6891
wotan6891OPā€¢15mo ago
I am working on localhost xampp
Xiquita
Xiquitaā€¢15mo ago
show .env file pls
wotan6891
wotan6891OPā€¢15mo ago
No description
Xiquita
Xiquitaā€¢15mo 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ā€¢15mo ago
why /public ? what is the error on the browser?
Xiquita
Xiquitaā€¢15mo 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ā€¢15mo 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ā€¢15mo ago
I already created a new user and the .env file also changed it
Xiquita
Xiquitaā€¢15mo ago
create a user per seeder
wotan6891
wotan6891OPā€¢15mo ago
No description
Xiquita
Xiquitaā€¢15mo ago
change your app_url also to http://localhost in .env file
wotan6891
wotan6891OPā€¢15mo 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ā€¢15mo ago
you installed the php artisan filament:install --panels?
wotan6891
wotan6891OPā€¢15mo ago
yes
Xiquita
Xiquitaā€¢15mo ago
uninstall everything and install laravel and filament again from scratch When you run php artisan serve does it give an error?
wotan6891
wotan6891OPā€¢15mo ago
sin uso de servicio artesanal php. uso solo xampp I don't use php artisan serve. I use only xampp
Xiquita
Xiquitaā€¢15mo ago
ho ok
wotan6891
wotan6891OPā€¢15mo 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ā€¢15mo ago
you have to do it with laravel and composer, only with xampp you will never leave the same
wotan6891
wotan6891OPā€¢15mo ago
php artisan serve. Where is phpmyadmin?
Xiquita
Xiquitaā€¢15mo ago
in the .env file
wotan6891
wotan6891OPā€¢15mo ago
What I mean is that in xampp I have where to manage mysql. in artisan serve where do I manage mysql?
Xiquita
Xiquitaā€¢15mo ago
I just use xampp with php myadmin and when running php artisan serve I open the app
wotan6891
wotan6891OPā€¢15mo ago
No description
Xiquita
Xiquitaā€¢15mo ago
good
wotan6891
wotan6891OPā€¢15mo ago
you were absolutely right. It was php artisan serve. šŸ˜€ thank you very much Miss.
Xiquita
Xiquitaā€¢15mo ago
good, it's solved, have fun You're welcome
wotan6891
wotan6891OPā€¢15mo ago
šŸ¤ šŸ‘ thank you
LeandroFerreira
LeandroFerreiraā€¢15mo ago
note: when you are running php artisan serve you aren't using webserver from xampp
Xiquita
Xiquitaā€¢15mo ago
Yes I know

Did you find this page helpful?