HI there:
I finished installation properly and even upload to s9y some new articles. But later on I was trying to update some info on my user profile (administrator) and I dont know what I did but the password changed somehow, and the s9y admin closed my session. I tried to connect using the old password. Doesnt work. Also I tried to left the password field empty (as I though that was what happened before....) but it doesn't work.
What can I do to know the new password? Do I have to install again?
thanks for your help
Lost my password!!!
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Lost my password!!!
Hi!
Phew, usually the password can only be changed if you also confirm the new password - so you'd need to enter it twice. At least with Serendipity > 1.0.
If you want to reset your password, you can only do that with tools like phpMyAdmin. Go to the serendipity_authors DB table and set the "password" column in your user row to the new string. Make sure you check the "MD5" function in the dropdown on the left of that field to encode the password into the form that serendipity needs.
Another way would be to create this small php script in your s9y directory:
then call that via http://yourblog/script.php and all passwords of all users will be set to "mypassword".
Another thing that may cause your trouble is if you might have changed your login name?
Regards,
Garvin
Phew, usually the password can only be changed if you also confirm the new password - so you'd need to enter it twice. At least with Serendipity > 1.0.
If you want to reset your password, you can only do that with tools like phpMyAdmin. Go to the serendipity_authors DB table and set the "password" column in your user row to the new string. Make sure you check the "MD5" function in the dropdown on the left of that field to encode the password into the form that serendipity needs.
Another way would be to create this small php script in your s9y directory:
Code: Select all
<?php
include 'serendipity_config.inc.php';
serendipity_db_query("UPDATE {$serendipity['dbPrefix']}authors SET password = md5('mypassword')");
?>
Another thing that may cause your trouble is if you might have changed your login name?
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/
-
williamts99
- Regular
- Posts: 30
- Joined: Sat Dec 10, 2005 11:50 pm
- Contact:
Lisergica,
I think you underestimate your skills. To create that script all you would do is to create a text(using notepad or whatever) file named script.php and copy the code that Garvin gave you into that file. Save the file, upload it to where your blog is located. Then with your web browser, browse to that page and it will reset the password for you. Of course after you reset your password, you would want to delete the script.php from your server to prevent anyone else from using/abusing it.
Best Regards,
Williamts99
I think you underestimate your skills. To create that script all you would do is to create a text(using notepad or whatever) file named script.php and copy the code that Garvin gave you into that file. Save the file, upload it to where your blog is located. Then with your web browser, browse to that page and it will reset the password for you. Of course after you reset your password, you would want to delete the script.php from your server to prevent anyone else from using/abusing it.
Best Regards,
Williamts99