Closed ivangabriele closed 10 years ago
Please check that your sessions are working
Thank you for your answer :)
I just tested sessions, it works fine. There are 2 dotclears, 1 phpbb and 1 dokuwiki which work perfectly on the same hosting and database.
How did you installed it ? How is the user created? how are you trying to log in?
I installed it via the OSC install system just following the normal steps I guess. I try to login by going to http://www.italieaparis.net/annonces/oc-admin/?page=login and typing my admin username (admin) and the auto-generated password I received by email.
I tried both by checking and not checking "Remember me" box
regenerate another password for the admin, or make sure the password and username is case sensitive
The other problem is that I received the installation password by mail but I don't receive any new email when I'm trying to use "Forgot your password ?".
I checked the code and the password is encrypted in bcrypt ?
I can try to manually change it again in the database.
SHA1 should also works, newer passwords are encrypted with Bcrypt, but old ones are sha1
I will run a step by step debug on the login in a few hours to understand where is the problem ;)
Sorry I didn't get enough time to run tests before. Actually I forced BaseModel redirectTo() function to show me the asked url instead of redirecting, but when I'm logging in I'm still redirected after POST, which empeach me to show $_POST data and database results. Where is the redirection ?
Indeed, the problem came from a bad htaccess configuration, hence the redirection problem.
Hi,
I tried to install it 2 times, tables are created and the admin user too with what I guess to be a sha1 encrypted password but it's impossible to log in administration.