Open azizrahaman opened 6 years ago
Hope it helps.
Thanks
On Sat, Jan 13, 2018 at 4:15 AM, Azijur Rahaman notifications@github.com wrote:
Login failing again and again, I recheck the credentials and it was fine. Actually it was founding the user in database not granting me permission to go further.
I modified the .htaccess file but still the same problem. is there any solution?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/web-project-builder/expense-management-codeigniter-adminlte-php/issues/3, or mute the thread https://github.com/notifications/unsubscribe-auth/AEbfFdyIe1P4uy5D7viNPxnixvV5Y0ybks5tJ-CbgaJpZM4Rc8qP .
Database connection is ok and when I register a new user it inserting on database. But the problem is in auth_user() function in user controller, It couldn't set the session and that's why neither it could send me to dashboard nor send a session flashdata to login screen.
How could I solve this problem? And Thanks you for replaying me.
I faced the same issue It was due to the session. The session was not set.
I resolved it by adding session_start();
in my_helper.php
.
This worked for me. And posting that it may help anyone else as well in future. :-)
I faced the same issue It was due to the session. The session was not set. I resolved it by adding
session_start();
inmy_helper.php
. This worked for me. And posting that it may help anyone else as well in future. :-)
I did this but still get a response 'invalid details'
i have this problem with one user account after i have migrated the software to a new hosting account. other users are logging in fine.
i removed the encrypted password value in the database Users table directly with phpmyadmin. Still not able to login. Tried the session_start(); as well but didn't help.
a "reset password" option would be nice.
Login failing again and again, I recheck the credentials and it was fine. Actually it was founding the user in database not granting me permission to go further.
I modified the .htaccess file but still the same problem. is there any solution?