I can still read my blog but when I try to administer it I get a message saying that the username or password are wrong. I can still reach the database on the server using the same password and username. I hadn't changed anything; it just stopped working after many months.
I thought that serendipity_config_local.inc.php might have got corrupted so I deleted it and went through the installation process again. Everything seemed to go smoothly and I can see the blog but still I can't administer it.
Could the permissions on serendipity_config_local.inc.php be wrong? At present they are -rwx.
Suddenly can no longer administer my blog.
-
- Regular
- Posts: 138
- Joined: Fri Jun 09, 2006 8:59 pm
- Location: London, UK
- Contact:
Suddenly can no longer administer my blog.
Anthony Campbell
-
- Regular
- Posts: 138
- Joined: Fri Jun 09, 2006 8:59 pm
- Location: London, UK
- Contact:
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
This is not related to your database access. The password you use for serendipity itself is another one. It is stored in the serendipity_authors DB table, not in the config_local.inc.php file.
By re-executing the installation you might now have some duplicate author rows. Try to login with the username you used for the new installation (John Doe, PW "john" is default).
You also might want to delete your browser's cookies to properly relogin?
Regards,
Garvin
This is not related to your database access. The password you use for serendipity itself is another one. It is stored in the serendipity_authors DB table, not in the config_local.inc.php file.
By re-executing the installation you might now have some duplicate author rows. Try to login with the username you used for the new installation (John Doe, PW "john" is default).
You also might want to delete your browser's cookies to properly relogin?
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/
-
- Regular
- Posts: 138
- Joined: Fri Jun 09, 2006 8:59 pm
- Location: London, UK
- Contact:
Thanks for the prompt reply, Garvin. I tried the steps you suggest, but no luck. I can see the author's row on the database and there is an encrypted password there, but I'm reluctant to meddle with it because I'm not sure how to reconstitute it - in particular I can't see how to encrypt it. There doesn't seem to be a button for that.
My provider has a means to change the database password but from what you say that is not for Serendipity.
My provider has a means to change the database password but from what you say that is not for Serendipity.
Anthony Campbell
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
If you use phpMyAdmin, you can edit that row and change the dropdown on the left of it to use "MD5" (in that dropdown you should also see things like UPPERCASE, ENCRYPT etc. Those are mysql functions. The passwords are md5 encrypted, and if you choose this option in the dropdown you can enter the cleartext password you want for that user, and save the row in phpmyadmin.
HTH,
Garvin
If you use phpMyAdmin, you can edit that row and change the dropdown on the left of it to use "MD5" (in that dropdown you should also see things like UPPERCASE, ENCRYPT etc. Those are mysql functions. The passwords are md5 encrypted, and if you choose this option in the dropdown you can enter the cleartext password you want for that user, and save the row in phpmyadmin.
HTH,
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/
-
- Regular
- Posts: 138
- Joined: Fri Jun 09, 2006 8:59 pm
- Location: London, UK
- Contact:
-
- Regular
- Posts: 138
- Joined: Fri Jun 09, 2006 8:59 pm
- Location: London, UK
- Contact: