can't login to Administration Suite

Having trouble installing serendipity?
Post Reply
sunshinegypsy
Regular
Posts: 8
Joined: Mon Dec 21, 2009 8:16 pm

can't login to Administration Suite

Post by sunshinegypsy »

This happened to me before I moved servers and I don't remember how I fixed it. I have deleted and reinstalled serendipity-1.5.2.tar.gz over and over trying to make this work. I can get my site up, but I can't get into the back page.
Welcome to the Serendipity Administration Suite.
Please enter your credentials below.
You appear to have entered an invalid username or password
Don Chambers
Regular
Posts: 3657
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Re: can't login to Administration Suite

Post by Don Chambers »

Reinstalling the files several times will not change the username and password stored in the database. If you really cannot recall the credentials, you could create a new database, delete the file serendipity_config_local.inc.php then browse to your site - installation should be automatically triggered again.

There may be a way to do the same thing with the existing database - perhaps dropping all tables - but I have never tried that. Garvin may be able to provide additional suggestions.
=Don=
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: can't login to Administration Suite

Post by garvinhicking »

Hi!

You could check your serendipity_authors table with a tool like phpMyAdmiun, pick out the user that you cannot login with, edit that user, and set the "password" column to your new password, pick the "MD5" function to apply, and also set the "hashtype" column to the value "0".

With that, you should be able to then relogin with the new password you entered.

Also, what Don said, is an option as well, if you can completely delete your old installation.

Best 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/
sunshinegypsy
Regular
Posts: 8
Joined: Mon Dec 21, 2009 8:16 pm

Re: can't login to Administration Suite

Post by sunshinegypsy »

garvinhicking wrote:Hi!

You could check your serendipity_authors table with a tool like phpMyAdmiun, pick out the user that you cannot login with, edit that user, and set the "password" column to your new password, pick the "MD5" function to apply, and also set the "hashtype" column to the value "0".
I tried editing/deleting/adding the user password information with MD5 and it didn't work. However, I couldn't find the "hashtype" column in the serendipity_authors table - where is it?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: can't login to Administration Suite

Post by garvinhicking »

Hi!
I tried editing/deleting/adding the user password information with MD5 and it didn't work. However, I couldn't find the "hashtype" column in the serendipity_authors table - where is it?
This column got introduced with serendipity 1.5 - if you have s9y 1.5 and don't have that column, you did not execute the upgrade properly; check the FAQ on how to re-upgrade properly.

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/
Post Reply