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?
Changing Password Problem
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Changing Password Problem
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
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
# 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/
Re: Changing Password Problem
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.
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.
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Changing Password Problem
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:
Save that as "fixpass.php" and execute it through http://yourdomain/fixpass.php -- and of course change "newpassword" and "yourusername" accordingly 
Regards,
Garvin
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'");
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/
Re: Changing Password Problem
Many thanks the php code worked!!!