Page 1 of 1

Cant log in to admin suite

Posted: Fri Sep 16, 2011 9:25 pm
by tiger786
Hiya how are you? im having problems login in to my admin suite, iv forgot my password

im currently on version: Serendipity 1.5.5 and PHP 5.2.12

iv loged in to phpmyadmin and edited the

serendipity_authors table that has my username and password details,

iv selected edit and changed the password and selected md5 on the drop down table and i didnt edit anything else, and i selected save.
i can see the hashtype colum is there and is currently on "1"

I then tried to login, but with no success, i keep getting this message: You appear to have entered an invalid username or password

i downloaded a fresh copy of serendipity and uploaded it and edited the serendipity_config_local.inc file and changed the installed version from 1.5.5 to 1.4 to force an upgrade which went file although i got a duplicate error message for hashtype which was expected.

i dont know what else to try, i just cant remeber my password please help


can you install the password recovery plugin without having to login to the admin suite? so that i can reset my password?

i look foward to hearing from you

Thankyou

Re: Cant log in to admin suite

Posted: Fri Sep 16, 2011 9:29 pm
by tiger786
i hope i dont have to lose my s9y blog i have been using this blog for 8 years.

i look foward to your assistance

Re: Cant log in to admin suite

Posted: Fri Sep 16, 2011 10:53 pm
by Don Chambers
Try changing the hashtype to something other than 1....

Perhaps this post will help you: http://board.s9y.org/viewtopic.php?f=3&t=17697

Re: Cant log in to admin suite

Posted: Sat Sep 17, 2011 12:09 am
by tiger786
Hi don thankyou for your reply, iv just tried that with a different number other than 1 still cant seem to login.

Re: Cant log in to admin suite

Posted: Sat Sep 17, 2011 9:14 am
by Timbalu
hashtype 1 is ok and should not be changed.

Recent s9y versions >1.5 no longer use MD5 hashing, but sha1 with a salted hash.
Please read about fix-YOUR-login and test-MAIN-users scripts in case of upgrades here:

fixlogin.php: http://board.s9y.org/viewtopic.php?f=1& ... #p10425053

or here
testusers.php: http://board.s9y.org/viewtopic.php?f=3& ... #p10424763

Re: Cant log in to admin suite

Posted: Sat Sep 17, 2011 11:38 pm
by Don Chambers
I merely mentioned setting it to something other than one due to this quote on the other thread by Garvin:

S9y has a fallback mechanism, when the hashtype is "non-1", it will use md5 login, then properly store the new sha1 value and switch hashtype to 1. So in your case, you should've repaired that mechanism properly.
Regardless, perhaps the fixlogin.php suggestion will do the trick.