after upgrade to 2.1 I can't login as admin

darkknight
darkknight's picture

Joined: 2003-03-01
Posts: 40
Posted: Fri, 2006-03-24 11:19

After upgrading I cannot log in as admin.
I have a test account, and remembered the password and can log in with that. So i forced the passwords for admin and test to be the same (copied hashed passwords in g2_User table) but I still cannot login as admin.

The setup is a multisite setup, but I had 2 other galleries upgraded and they are both fine. It is embedded into Wordpress, but that shouldnt stop a direct login, especially as my test account is ok to log in with...

Gallery version : 2.1 (blackjack)
PHP version (e.g. 4.3.11): 4.3.10-16
PHPInfo Link (see FAQ): http://strangeparty.com/info.php
Webserver (e.g. Apache 1.3.33): 1.3.33
Database (e.g. MySql 4.0.11): 4.0.24
Operating system (e.g. Linux): Linux (Debian)

 
darkknight
darkknight's picture

Joined: 2003-03-01
Posts: 40
Posted: Fri, 2006-03-24 12:24

I have tried looking through the debugging output, but it doesn't seem to show any details about the login process, only that it failed...

 
darkknight
darkknight's picture

Joined: 2003-03-01
Posts: 40
Posted: Fri, 2006-03-24 13:53

The reset password link does nothing for ether my admin user or my test account, and the hard reset (i.e. edit login.txt file) doesn't find my login.txt and so doesn't work (not that I think that would solve my problem...)

 
darkknight
darkknight's picture

Joined: 2003-03-01
Posts: 40
Posted: Fri, 2006-03-24 14:04

I managed to fix this by using mysql to add the test account into the admin group. I then logged in with that and overwrote all the details for the admin account, which seemed to fix it...

No idea why it happened though