OpenSIS 9.0. Incorrect Username or password in first installation
jmoyola opened this issue · 3 comments
After do a 9.0 new zero installation (Php8.1, Mariadb 10.3, relax mysql...), admin username and Whatever password is rejected to login in index.php...
I try with 9.0 tag code, last main code,... no with no luck
Thanks you and Good job.....
Hi @jmoyola faced the same issue
here's a work around if you still have the old install on the server and if both your old and new install are working off the same database.
- If you still l have the folder with the previous install in which you were able to login, use that install to login as you used to.
- once login, switch to the folder with the new install and refresh.. the session form the previous install should get you in without entering your login user/pass
- once in, update your own admin password from the staff module like you would do for another user (do not use the reset your own password because your new install might not recognize the old password, which is needed if you use that route), the log out and log back in.. your new install should now work with the password just updated.
good luck
ps. I think this is due to a php upgrade.
Please use the updated code from the repo and check to see if you are still getting this error or not.
Thanks!
I tried latest code but still had an issue with both password missmatch and blank screen on login after succesful upgrade.
Another work around regarding the auth issue:
- Take backup of your upgraded database
- To access to your admin account you could do a fresh opensis install in a different database
- Copy the string from the password column coresponding to the admin user from the login_authentication table into your upgraded database.
- Log into your upgraded installation using the password you setup for the dummy install.