1.4.4 problems: I can't reset the admin password

fluor

Joined: 2003-12-01
Posts: 68
Posted: Fri, 2004-08-06 22:59

The upgrade from 1.4.3 to 1.4.4 gave me some problems. I've totally forgotten the admin password.

I can't reset the admin password, like described at
http://gallery.menalto.com/modules.php?op=modload&name=GalleryDocs&file=index&page=gallery1-install.faq.c.php#gallery1-install.faq.c.37.

I created a file:
echo blah > C:\web\gallery\setup\resetadmin

and then ran the configuration wizard. There is still no option for changing the admin password, like described in the faq. I've also tried to logon with admin and pass 1235499999 but the resetadmin file is still nothing new inside the resetadmin file. Can somebody please help?

----
Gallery version: 1.4.4
Apache version: latest 1.x
PHP version (don't just say PHP 4, please): 4
Operating system: Windows
Web browser/version (if applicable): IE6

 
fluor

Joined: 2003-12-01
Posts: 68
Posted: Fri, 2004-08-06 23:07

Update: By reading this post: http://gallery.menalto.com/index.php?name=PNphpBB2&file=viewtopic&t=19105, I finally managed to reset the password.
I just commented out the first if in login.inc.

There's clearly a bug in that file.

 
signe
signe's picture

Joined: 2003-07-27
Posts: 2322
Posted: Sat, 2004-08-07 05:51

If you had to comment the first if, that means you were logged in as another user. You must logout before attempting to reset the admin password.

 
fluor

Joined: 2003-12-01
Posts: 68
Posted: Sun, 2004-08-08 21:51

no i dont think so, since I could not access this gallery at ALL! all it said was that it was a new version and it required me to run the configuration wizard.

now i wonder (wild guess) that if this scenario creates problems with 1.4.4 upgrade:

1. Log in to your 1.4.3 album
2. Upgrade the server to 1.4.4
3. Open album, it says that you have to re-run Configuration Wizard
4. You try to log in using admin, but it wont accept it, since you were allready logged in at step 1.

See? Some developer might look into this? I still run my gallery with an edited login.inc to make the admin login work.