Hello garvinhicking,
I was wondering if it is possible to hardcode a new user ID and password into the installed database?
I am having similiar issues to this thread
http://board.s9y.org/viewtopic.php?t=7 ... ogin+admin
Full fresh install. Install is fine. Here's my working admin page:
http://www.parkview-baptist-church.org/ ... _admin.php
Everything works but I cannot log in. Obviously, without being able to log into the administration area interface I cannot change or alter my login names and passwords, add users etc. However, I do have access directly to the SQL database.
Is it possible/advisable to directly alter the main/primary user id and password there? Will that break the app?
What is really odd is that I can log into MyPHPAdmin just fine using the original login id and pw but I can't use the same thing to get past serendipity_admin.php.
Any help would be appreciated.
-Metajon
More Password Miseries
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: More Password Miseries
Hi!
You can access the DB directly. Check out the serendipity_authors DB table. It holds your login name and an MD5-encrypted Password. You can overwrite those with your custom/wantedvalues.
s9y and PMA use different login routines. It could also be that your PHP session management does not work, and doesnotallow s9y to authenticate you properly,while PMA might use a cookie login or a HTTP Auth login.
Also, does your username or password maybe contain special characters like umlauts or high ascii bytes? Those can make trouble in charset transcoding.
Regards,
Garvin
You can access the DB directly. Check out the serendipity_authors DB table. It holds your login name and an MD5-encrypted Password. You can overwrite those with your custom/wantedvalues.
s9y and PMA use different login routines. It could also be that your PHP session management does not work, and doesnotallow s9y to authenticate you properly,while PMA might use a cookie login or a HTTP Auth login.
Also, does your username or password maybe contain special characters like umlauts or high ascii bytes? Those can make trouble in charset transcoding.
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/