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