Changing Password Problem

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
lytell
Regular
Posts: 11
Joined: Thu Oct 29, 2009 3:01 am

Changing Password Problem

Post 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?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Changing Password Problem

Post 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
# 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/
lytell
Regular
Posts: 11
Joined: Thu Oct 29, 2009 3:01 am

Re: Changing Password Problem

Post 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.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Changing Password Problem

Post 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
# 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/
lytell
Regular
Posts: 11
Joined: Thu Oct 29, 2009 3:01 am

Re: Changing Password Problem

Post by lytell »

Many thanks the php code worked!!!
Post Reply