Bug - password reset doesn't work

I forgot my password, so I entered the captcha and received an email with a link to the admin page. I clicked that and changed the password in the form, but I still couldn't login. So I looked at the DB, and did the operation again -- and the password hash in the DB didn't change. The third time I tried adding a new user, and no new record was created.

There seems to be a bug.

Comments

  • Did the admin pannel say the change was saved? This is not something I can reproduce.
  • No, when I click "save" I get bounced back to the login screen. Should it stay on the admin screen?

    On my admin screen, I have two users listed. The save button is in the space for a third, new, user.

    I ran the form post while the firefox live headers extension was active; the post looks like this:http://view.flavor8.com/zp-core/admin.php?page=options&action=saveoptions

    POST /zp-core/admin.php?page=options&action=saveoptions HTTP/1.1
    Host: view.flavor8.com
    User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9) Gecko/2008061015 Firefox/3.0
    Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    Accept-Language: en-us,en;q=0.5
    Accept-Encoding: gzip,deflate
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
    Keep-Alive: 300
    Connection: keep-alive
    Referer: http://view.flavor8.com/zp-core/admin.php?ticket=ef0cdb821c292215b667c00c9549cb82
    Cookie: __utma=51316606.894038833.1214493520.1215190664.1215204071.3; __utmz=51316606.1214493520.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none); PHPSESSID=n7ss8bbbv4t9l9or0rdcvjghe1
    Content-Type: application/x-www-form-urlencoded
    Content-Length: 752
    saveadminoptions=yes&totaladmins=3&0-adminuser=reuben&0-adminpass=mynewpass&0-adminpass_2=mynewpass&0-main_rights=1&0-admin_rights=16384&0-options_rights=32&0-themes_rights=16&0-edit_rights=8&0-comment_rights=4&0-upload_rights=2&0-admin_name=Reuben+Firmin&0-admin_email=me@myemail.com&1-adminuser=claire&1-adminpass=++++++++++&1-adminpass_2=++++++++++&1-main_rights=1&1-options_rights=32&1-themes_rights=16&1-edit_rights=8&1-comment_rights=4&1-upload_rights=2&1-admin_name=Claire+O%27Brien&1-admin_email=mygf@heremail.com&managed_albums_1_gualala-08=on&2-adminuser=&2-adminpass=&2-adminpass_2=&2-main_rights=1&2-admin_rights=16384&2-options_rights=32&2-themes_rights=16&2-edit_rights=8&2-comment_rights=4&2-upload_rights=2&2-admin_name=&2-admin_email=
    HTTP/1.x 200 OK
    Date: Tue, 08 Jul 2008 03:32:20 GMT
    Server: Apache/2.0.61 (Unix) PHP/4.4.7 mod_ssl/2.0.61 OpenSSL/0.9.7e mod_fastcgi/2.4.2 DAV/2
    X-Powered-By: PHP/5.2.6
    Expires: Thu, 19 Nov 1981 08:52:00 GMT
    Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
    Pragma: no-cache
    Set-Cookie: zenphoto_auth=deleted; expires=Mon, 09-Jul-2007 03:32:19 GMT; path=/
    Vary: Accept-Encoding
    Content-Encoding: gzip
    Content-Length: 1298
    Keep-Alive: timeout=2, max=100
    Connection: Keep-Alive
    Content-Type: text/html; charset=UTF-8
  • Can you please try upgrading to the 1.1.7 release? You should upload the files then drop the administrators table, then run the 1.1.7 setup.
  • The reset did the trick. FWIW I had to delete from administrators, rather than drop it; when I dropped it, the admin screen wouldn't save. (Luckily I'd backed up.)
  • Setup should have recreated the administrators table. But no matter. Glad you are in business.
  • Edit: I have solved the issue follow the link from other post. Thanks anyway!

    I have the same problem here!
    What is the procedure to make it work?
    Any help please? Im new on this...
  • Same issue here. I'm locked out at this moment in time. Running latest release. Something is not functional. :(

    Edit: I can't access anything right now. I set a password on the gallery and now I can't get into the Admin. It dropped me to the login and I'm locked out now. Password reset sent twice, non functional.
  • acrylian Administrator, Developer
    I have no idea or ever noticed this myself but here is a workaround to get back in: http://www.zenphoto.org/2009/03/troubleshooting-zenphoto/#16
Sign In or Register to comment.