Can't log in after upgrading to 1.4.1

Hi,

I was using the version 1.4.0.4; after upgrading the site to the latest version 1.4.1, I can't log in my site with my admin account (the only account I have). I also try with "password reset" option, but I had no luck with the new password.

Please help. Thank you very much.
«13

Comments

  • Then I guess you have to do the drop of the admin table recovery.

    With the password reset, did you get to the admin page and make a new password then apply the changes?
  • I ran into this as well when jumping one of the nightlies. Noticed the lib_auth changed and then after setup couldn't login. Had to drop the admin table as well to gain access.
  • anh Member
    sbillard wrote

    > With the password reset, did you get to the admin page and make a new password then apply the changes?

    The reset form sent me a links, and I can access the form to update the passsword. Unfortunately I can't log in with my new password (or the password hadn't been updated yet.)

    micheall wrote

    > Then I guess you have to do the drop of the admin table recovery.

    I will try again.

    Thanks for your helps
  • anh Member
    > Had to drop the admin table as well to gain access.

    Sorry I don't know how to do that. Could you please specify more details ?

    Thanks
  • You have to manage your database manually. With something like phpmyadmin or whatever your host has setup to manage it. Then you have to drop(remove) the admin table. Once you do that, re-run setup and it'll let you re-create your admin user.
  • vincent3569 Member, Translator
    hi

    I have the same problem after installing the 1.4.1 release.
    I follow the instructions of micheall and now I can log myself !

    there is another problem : now I have problems with character display :
    actualités, catégories, ...

    my other site on the same proviser works well.
    what the problem is ?
  • anh Member
    @micheall: I've tried as you said. No luck. The login form always redirects me to itself when I press Enter after filling my password & account.

    Any ideas?
  • acrylian Administrator, Developer
    See the news section please.
  • anh Member
    Perfect! It works again. Thank you very much.
  • anh Member
    Oh no. After deleting the tables "adminstrators", the setup could run again and it redirected me to the main control panel. Unfortunately, when I choose the table "users" to update my password, I was redirected to the "overview". AKA I had no chance to update my administrator's password.

    Please help again. Thank you very much.
  • anh Member
    I'ved tried to enable the plugin "user_groups", and the tab "users" disappeared. I turned of the plugin and I saw the tab again; though the tab still didn't work.
  • gjr Member
    Just a note on my upgrade, not a big deal, but may help other users:

    Had no special character requirement in the password before upgrade. Seems after upgrade it defaults to requiring special characters. Strange as it took my password during the upgrade process, but immediately after upgrade could not log in and had to do a password reset (captcha) which worked fine. So this may be confusing to some, but I have no issue with it.
  • The "users" tab is a sub-tab of the admin[ister users] tab when the user_groups plugin is enabled. Setup would have directed you to the exact tab where the password could be reset.
  • anh Member
    @gjr: Thanks for the tips. After many fail setup, I try with the simplest password. No luck :(

    @sbillard: After setting up, I wasn't redirected to form to "update password". When I enabled plugin (which is disabled by default), I selected the tab "Admin", and again I was redirected to the tab "Overview". I coulnd't get any logs so I have no idea about things happened.

    Please help. Thank you very much.
  • Please help me out here.

    If you cannot log on, how are you enabling plugins?
  • anh Member
    @sbillard: After setting up with "setup.php", I was redirected to the panel, and I can access almost all items there. I guess that the setup provides some live cookies which help me to extend the session.
  • anh Member
    any ideas ?
  • acrylian Administrator, Developer
    Try to clear the cookies or follow the troubleshooting on deleting the administrator db table.
  • anh Member
    No luck.

    NO worries. I won't try zenphoto again.
  • One of my friend had a problem too at first upon upgrading. But he managed to fix it. I wish I know how he do it but I'm not a techie guy.

    I can shot him an email maybe he can help you anh.
  • Did a fresh install just an hour ago. Downloaded the latest version from your website. I experience the same issues: I cannot login.
  • As the issue felt as a cookie-issue to me, I had to install a cookie-viewer in Firefox.

    After I installed the add-on, I had to restart Firefox to enable the cookie viewer. I did so and navigated back to my zenphoto admin login page.

    To my surprise, the login now worked.

    My advise for users: close your browser (not only the tab, but the complete browser)

    My advise for the developers: please check how initial cookie is generated.
  • New user - assessing ZenPhoto for my website. No issues with the original ZenPhoto install I did a few days ago, prior to this version release.

    Did an upgrade of ZenPhoto to this latest version, as per instructions, and experienced the no-login issue. Followed instructions to reset passwords and successfully reset password but still couldn't log in.

    To rule out cookie issue, I attempted to login using other browsers I hadn't used with ZenPhoto. I run IE, Firefox, Chrome, Safari, and others due to my job duties but Chrome is my primary so I could easily test that in my case it wasn't a cookie issue.

    As to dropping admin table and running the setup again, note that the install procedure recommends deleting the setup files once the install is complete. In my case, it's just a test install with no galleries or users, so it's not a big deal to delete the test folder, wipe the database, and start from scratch.
  • acrylian Administrator, Developer
    Yes, it is recommended to delete setup files. But it is not that big issue to reupload those again I think.

    I have no idea about the login issue and I did not encounter it on our own site, my test install and local ones. Since we get these report often we hopefully will find out what might go wrong here.
  • Update: I attempted to reupload the setup folder only but that failed. I briefly attempted to look for any additional needed files (like setup.php)and uploaded those but when that failed with a missing file error, I decided to wipe the folder and upload the entire installer from scratch.

    At this point the database was still in place, without the admin table (deleted).

    I ran the setup process successfully but the login issue was still there.

    So I deleted the database and db user, recreated the DB plus DB user and re-ran the setup. Still failed to login.

    I'm going to wipe the folder and the DB and start from clean. Will post results as soon as it's completed.
  • I deleted the zen folder from the server, deleted and recreated the MySQL database, reuploaded from a fresh download from the website (tar file), reinstalled without issues, emptied cookies, still the same error. I tried from a from an iPad to make sure as I hadn't used it before but still got the login error.

    So I reset the password to something shorter and got the same error.

    The next thing I tried I cannot verify 100% as I'm getting rushed to get some house duties completed and my 3 yr old is making my brain hurt, lol, but it seems my version.php file had an extra line at the end. I checked the originals, both the zip and tar files, and the extra lines were not there. So I modified my copy and uploaded it and the login worked. Again, this might be an issue on my end, but I don't have time to reupload and reverify.

    **************************************************
    One thing I did notice and can confirm: both CAPTCHA and the user name are case sensitive. This really threw me off for a loop a few times until I noticed they are indeed case sensitive. I tested this with IE, Firefox, and Chrome on Win7 and Safari on iPad.
  • One thing I did notice and can confirm: both CAPTCHA and the user name are case sensitive
    Of course they are! But you can limit the characters that are used in the captcha if you wish. See its options.
  • For anyone having problems loggin into the 1.4.1 release please do the following:

    Edit line 22 of `global-definitions.php` and change the define to `true`. Delete any debug_log.txt file that might be in your `zp-data` folder. Make your attempt to log in.

    This will create a log of what exactly has happened on the login.
  • Ok, I enabled the login debug on a fresh install of the 6-23 trunk. How would you like the debug text?
  • I can't login. It is successful in the debug log but then I get a 404 upon redirect.
Sign In or Register to comment.