web-project-builder / expense-management-codeigniter-adminlte-php

A simple but powerful PHP script to manage your expenses with multi-user level and permission
36 stars 35 forks source link

Login failed and no return feedback #3

Open azizrahaman opened 6 years ago

azizrahaman commented 6 years ago

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?

msuhels commented 6 years ago
  1. Try to reset the password in database.
  2. Check database connection.

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 .

azizrahaman commented 6 years ago

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.

mabdullah4 commented 6 years ago

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. :-)

Lewenei commented 5 years ago

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 did this but still get a response 'invalid details'

Cabji commented 3 years ago

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.