Fork me on GitHub

can't log in  Bottom

  • Hej allihopa!

    Using 0.8 on an Unix server.
    After having used the same username and password for admin since first install, it's suddenly not possible for me to login. It doesn't say "wrong password" or anything, justs redirects me to
    [my domain]/index.php?module=Users&func=loginscreen
    and adds another anonymus user to the "who's online"-list. After 25 attempts to login, it says "25 anonymous users and 0 registered users online". (If I close browser and reopen, it still says the same.)
    No access to admin.

    I have a second admin account as well, with other name and password. It doesn't work either.

    What is this? Is it me being embarrasingly newbie-ish?
    Enlighten me, anyone?

    Önskar
    Klas
  • It happens to me once, but my problem was a cached AuthKey and the error message was "AuthKey invalid", but wrong password?

    To me you can take two ways:
    do you have other 0.8 PN-site with a functional password?
    if yes, you can copy from the 'pn_users' of that site the hash password of the known user and replace the password of the 'pn_users' in your problematic site.

    if not, have you a user account with a functional password in that site?
    you can copy the known hash password again and replace the admin one with it..

    or, thinking better, here's a third alternative icon_razz
    replace your admin password with: 5e884898da28047151d0e56f8dc6292773603d0d6aabbdd62a11ef721d1542d8
    (in your 'pn_users' table off course)
    this hash is equivalent to "password", try to use that. icon_wink

    Good luck! icon_wink

    And about the session counter...
    that's an issue to the core-devs icon_wink

    --
    - Mateo T. -
    Mis principios... son mis fines
  • Hej Mateo!
    Thanks for helping me, it's really appreciated.

    OK, I understand it that I need to change the password by accessing and altering the actual data base table, did I understand right? By using phpMyAdmin and an SQL statement?

    I have only used Transact SQL and Jet SQL earlier, and then I would have used this syntax:
    UPDATE pn_users SET pn_pass = 'NEWPASSWORD'
    WHERE pn_pass = 'OLDPASSWORD'
    Will it work with MySQL as well?

    And: Do you think I should report these problems as bugs? (Both the lost access and the session counter going haywire) Don't want to waste the devs' time...



    edited by: Menvafan, Jan 25, 2008 - 12:37 PM
  • Klas,

    Can you provide me with access to the non-working site (in it's non working state!). Without being able to work on the problem directly it'll be difficult to do anything about.

    -Mark

    --
    Visit My homepage and Zikula themes.
  • Hello.
    Mark, did you change anything?
    Cause now it works again, strangely enough. And I am 100% totally no-doubts positive that I used the same (& the right) name & pass both earlier when it behaved weird and now when it works.
    Klas
  • No - didn't change anything. Just browsed to the site, logged in using the credentials supplied. The login worked for me first time.

    -Mark

    --
    Visit My homepage and Zikula themes.
  • OK, hard to debug something that appears bug free, of course. But as I said, I'm positive that this is not about using wrong credentials. If that would have been the case, I would have had 25 error messages, not being logged in as 25 anonymous users.
    So, i guess we just leave it there, and I get back to you if it happens again?
    Klas
  • Yes if it happens again.

    It could be a database glitch.. with sessions or similar... stuff happens

    --
    David Pahl
    Zikula Support Team
  • I have a similar problem with a local xampp Insallation.

    When I log in, I'm redirected to the site and the session_info-Table says "pn_uid=2" and "pn_remember=1" => I'm logged in.
    Now, when I click on any link, I'm not logged in anymore (session_info-Table: "pn_uid=2" and "pn_remember=0").
    Strange. icon_confused

    cu
    rigo

    --
    Regards
    rigo
    PetBase :: Haustiermarkt
    HorseBase :: Pferdemarkt
  • There is an issue with the authkey...

    Are you able to login back in after being logged out?

    --
    David Pahl
    Zikula Support Team
  • Yes, I'm able to log in after being logged out. But after one click im logged out again icon_frown

    Thing I have done before logging in:
    1. Cookies cleared
    2. Browser cache cleared
    3. pnRender_cache- and -_compiled-dir cleared
    4. Xanthia_cache- and -_compiled-dir cleared

    --
    Regards
    rigo
    PetBase :: Haustiermarkt
    HorseBase :: Pferdemarkt
  • Double check your time settings - I've had this happen before where the session was started...yet expired BEFORE the actual time (due to misconfigured server time and/or misconfigured timezone settings). Login, then go to the DB and see when the session expires.
  • please see: http://community.postnuke.com/module-Forum-viewtopic-topic-54177-start-15.htm#pid234806
    I have also logged a corresponding bug report

    --
    David Pahl
    Zikula Support Team
  • The Server Time is correct. I also got the same SessionID in logged in and logged out state.
    After logging in:

    Code

    pn_sessid   pn_ipaddr   pn_lastused     pn_uid  pn_remember
    4e6602e23c18601c87392825ab0be38b    f528764d624db129b32c21fbca0cb8d6    2008-03-06 12:42:02     2   1

    After the first click on a link:

    Code

    pn_sessid   pn_ipaddr   pn_lastused     pn_uid  pn_remember
    4e6602e23c18601c87392825ab0be38b    f528764d624db129b32c21fbca0cb8d6    2008-03-06 12:43:42     0   0


    --
    Regards
    rigo
    PetBase :: Haustiermarkt
    HorseBase :: Pferdemarkt

This list is based on users active over the last 60 minutes.