Page 1 of 1
Changing Password Problem
Posted: Sat Apr 10, 2010 2:15 pm
by lytell
Trying to change my password in Serendipity Admin page "Manage Users" i get the following:
"You cannot modify users with the same userlevel as yourself"
How Can I change my password?
Re: Changing Password Problem
Posted: Sun Apr 11, 2010 1:41 pm
by garvinhicking
Hi!
Which serendpity version are you using? The error message sounds like a bug with old versions...
Changing the password can also be done through tools like phpMyAdmin, doy ou have access to that?
Regards,
Garvin
Re: Changing Password Problem
Posted: Sun Apr 11, 2010 1:52 pm
by lytell
Thanks for looking into this. As for version... here's what I see on the bottom of the page "Powered by Serendipity 1.4.1 and PHP 4.4.9". I do not have phpMyAdmin but whatever solution is simplest as long as i have instructions to follow I'm fair to middling.
I think the issue is more about forgotten password. If i could just reset the password to Null and start over that would be great.
Re: Changing Password Problem
Posted: Mon Apr 12, 2010 7:57 pm
by garvinhicking
Hi!
Okay, serendipity 1.4.1 should be sufficient. I assume you currently have your old password and can log in? Then change your passwrd through the link "Personal Preferences" instead of "Manage Users". There you should be able to change your own passowrd.
If that doesn't work for you, I can give you another version with a custom PHP script to change the password:
Code: Select all
<?php
include 'serendipity_config.inc.php';
serendipity_db_query("UPDATE {$serendipity['dbPrefix']}authors SET password = '" . md5('newpassword') . "' WHERE username = 'yourusername'");
Save that as "fixpass.php" and execute it through
http://yourdomain/fixpass.php -- and of course change "newpassword" and "yourusername" accordingly
Regards,
Garvin
Re: Changing Password Problem
Posted: Tue Apr 13, 2010 2:25 am
by lytell
Many thanks the php code worked!!!