Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't login in backend after installing the October CMS successfully #1052

Closed
JKChen opened this issue Apr 8, 2015 · 7 comments
Closed

Can't login in backend after installing the October CMS successfully #1052

JKChen opened this issue Apr 8, 2015 · 7 comments

Comments

@JKChen
Copy link

JKChen commented Apr 8, 2015

When I try to login ”http://127.0.0.1/october/backend/backend/auth/signin“ with correct account & password after installing the October CMS successfully,I get an error of ”A user was not found with the given credentials.“,and I find that there is no record in the table of backend_users.
How can i fix it? Looking forward for your help.Thanks.

@DanielHitchen
Copy link

Try seeding the backend_users table with a default user - the seed file can be found here, then just login with admin admin and change the user details from the CMS backend

@daftspunk
Copy link
Member

If the migration process fails for whatever reason, the seed scripts can get skipped. To fix it you can rebuild the entire database with these commands:

php artisan october:down
php artisan october:up

If you used the installer, you should reinstall with no extra plugins.

@JKChen
Copy link
Author

JKChen commented May 29, 2015

Thanks for your reply.I‘ll try.

@samargurjar
Copy link

I am facing similar issue where backend login works on sub-domains but for main domain it shows no errors or message. I can not login to backend

@LukeTowers
Copy link
Contributor

@samargurjar please make your own issue with a detailed report of what your setup is and what is going wrong instead of adding onto this separate issue that is unlikely to have anything to do with your current problem.

@cesarmarinhorj
Copy link

cesarmarinhorj commented Feb 17, 2021

after migration, system displays the password it has defined.
"\Backend\Database\Seeds\DatabaseSeeder reported:

  • The following password has been automatically generated for the "admin" account: xxxxxxx"

this is the password, not the one we have entered before...
:/
after login with this "imposed" password, change it as you wish.

@bennothommo
Copy link
Contributor

@cesarmarinhorj This is being fixed as part of #5481.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

7 participants