Lost admin password, reset email won't send, next step?

I have one Zenphoto installation that I haven't logged into for a while. Lost the password but have the username, but when I try to get a reset link emailed nothing ever arrives.

What's the next step for recovering or changing the password? Looking in my mysql database, I see the admin account fields but the password appears to be some kind of encrypted string, so I'm reluctant to change that & make things worse.

Any advice here? Thanks.

Comments

  • You cannot recover the password from the database. It is encrypted by a one-way encryption. It is also improbable that you could generate the proper encryption for a new password as the inputs to the algorithm are obscure.

    Since the e-mails are not apparently working your only recourse is to drop your administrator table and re-run the setup program. You will then be given the opportunity to create a new administrator user/password.
  • Ok, I'm not exactly certain how to do this. In Phpmyadmin, do I select zp_administrators, go to Operations, and select "Delete the table (DROP)"?

    Just want to double check before doing something regrettable!
  • Well, I went ahead and dropped that table. Then ran setup.php. Unfortunately for some reason it's saying I'm now upgrading to a "new" version (though these are the same files as before) and is prompting me for my username & password.

    As stated before, I don't have the latter so am unsure how to proceed.
  • If you did drop the administrator table Setup will not ask for a user/password. (It has nothing to check against.) So something has gone wrong there. Perhaps there is more than one install and things are getting mixed up?

    Also at least on recent versions of Zenphoto the message will say that you are re-installing the current version (if that is the case), not upgrading to a new one. Another indication things are mixed up.
Sign In or Register to comment.