Fork me on GitHub

Help! Can't log into my own site  Bottom

Go to page 1 - 2 [+1]:

  • I've got a problem similar to that described here:
    http://community.zikula.org/module-Forum-viewtopic-topic-57344.htm
    except that mine isn't a new installation -- it's been around for ages. I'm suddenly locked out of my own site!

    This morning I tried to get into admin and it just returns me to the login screen every time I input my username and password. I then used a different browser install which still had my login cookie stored and that got me in. I went into my user CP and re-input my standard password. Tonight I can't get in via any browser install. I reset my password and that generates the same result. Of note, the password screen has the authkey error message:

    Quote

    Invalid 'authkey': this probably means that you pressed the 'Back' button, or that the page 'authkey' expired. Please refresh the page and try again.


    Somebody help me get back into my own website!! Right now I can't update it at all. Thanks!
  • More odd behavior: the password reset worked *once*. I went back into my user account and changed it back to my default password, then (foolishly) logged out to try logging back in. Didn't work. Password reset hasn't worked since, and I've tried it about 25 times. I should note that I've repeatedly cleared cache, cookies, sessions, etc. and even tried it in Firefox, IE and Chrome -- same result every time. Nada.



    edited by: FirstTracks, datetimebrief
  • Even more odd behavior: the same thing is happening here on this site. It just repeatedly displays the login screen. I had to use Chrome to log in here because it still had a session cookie. I've also tried my own site from multiple computers...still no love.
  • Fast reply: You're behind a proxy with cache? J/K
    I haven't heard before of such huge problems, but seems like an issue of your ISP? icon_confused

    --
    - Mateo T. -
    Mis principios... son mis fines
  • Thanks for the reply, Mateo. Stranger still, what got me in last night was using the machine that still had a valid session to get into the admin screens, then turning off and turning back on short URLs -- I tried that out of curiosity as it kept returning me to the login screen every time I tried to enter my credentials. That for some reason allowed me to log in with my primary machine. I don't yet know for sure that this fixed it for I'm afraid to log out and log back in to test it.
  • Sounds exactly like the problem I experienced in the post you linked to... after wasting many hours trying to solve it I just dumped the DB and started over (working with a clean install of Zikula so I have that luxury).

    I'm just starting to piece together the modules I need again one at a time in the hope I can identify when things go tits up. I hadn't turned on short URLs so I don't think that's the problem. Don't think it's ISP related, I had 2 clean Zikula installs running on the same server, one experienced the problem irrespective of ISP (same error from home, work and mobile, 3 different providers) the other I have been using all week for "experiments" without any issues.

    Seems it wasn't server load related as I suspected, even with things working perfectly the "bugged" site wouldn't allow me to log in or create a new account (authkey error showing on both). I don't know if it means anything, but sometimes I'd see duplicate 'authkey' errors displayed, with the number of errors increasing with each subsequent attempt to log in.

    Anyhow, I'm heading into the fray again... with incremental backups every few mins... if it happens again I'll be ready for it.



    edited by: Straus, datetimebrief
  • Good luck! Please keep us in the loop with what you discover...I'll be very curious.
  • Same problem
    Impossible to log on my site (fresh upgrade to 1.2).
    Sometimes it works. Maybe a cache problem I suppose but don't know how to solve it.
  • I found that the problem occurred using short URLs (file name based) and caching. Much to my ISP's displeasure I disabled caching and that solved the problem for me. Fortunately I had another browser session on another PC that still had a valid auto-login cookie, and that allowed me to go in and disable caching.
  • I confirm a part of the solution :
    I disable caching option in pnRender and Xanthia and delete files in pnTemp (render and xanthia caches)

    I can log on.
  • hi,
    i have the same problem since upgade and a long thread in german forum but nobody can help. But the disable cache solution did not work for me.

    The only way for me is:

    in
    /systems/users/pnuser.php

    in function users_user_login()

    to comment out:

    Code

    if (!SecurityUtil::confirmAuthKey('Users')) {
            return LogUtil::registerAuthidError(pnModURL('Users','user','loginscreen'));
        }


    And the Login works "very" better.

    greets Tom



    edited by: scalelll, datetimebrief
  • Well, here I am again back with the same problem. This time, however, I have no valid browser session anywhere and can't log in to the admin module. I'm getting the invalid authkey message. If I comment out the lines above in the pnuser.php file as mentioned above I get the message "unrecognized username or password." Password reset doesn't work -- tells me there was a problem sending an email. Zikula Recovery Console doesn't seem to give me any options to solve this.

    Looking at my database in phpMyAdmin I see the "admin" user account with the following:

    pn_lastlogin: 1970-01-01 00:00:00
    pn_validfrom : 0
    pn_validuntil: 0

    Is there something I can enter here to get me back in? I'm locked out of my own site and can't do anything with it. Is there a way to disable caching or short URLs in phpMyAdmin, i.e. without the admin module, that could potentially get me back in?



    Edited by FirstTracks on May 11, 2011 - 11:26 AM.
  • Verify that you're trying to enter with the correct credential: username / email. Just happened to me that in one site I've moved the login to email, and was crazy trying to enter with username the next day.

    Second, yes, you can edit all the config variables on the zk_modvars table. shorturls to 0, Theme/Render cache too, etc. Browse that table and you have there all the ZConfig.

    Greetings

    --
    - Mateo T. -
    Mis principios... son mis fines
  • Thanks, Mateo...this gives me hope of getting back in, I dodn't look in the modvars table before. I'll mess with the config variables now and report back shortly.
  • OK, the good news: I'm back in! I was able to do so by changing the shorturls element in the pn_module_vars table from:

    Code

    shorturls      s:1:"1";


    to:

    Code

    s:1:"0";


    I then login and change it back to:

    Code

    shorturls      s:1:"1";


    The bad news: if I log out, the only way to log back in is to go through this process all over again. This is even if in pnRender settings I choose "force compliation" and make sure that "enable caching" is unchecked, and in theme settings choose "force templates recompliation" and make sure that "enable caching" is unchecked.

    Here's what I'm using in .htaccess:

    Code

    <IfModule mod_suphp.c>
     suPHP_ConfigPath /home/ftracks
     <Files php.ini>
       order allow,deny
       deny from all
     </Files>
    </IfModule>

    RewriteEngine on
    RewriteCond %{QUERY_STRING} ^name=News&file=article&sid=(.*)$
    RewriteRule ^index.php? http://www.firsttracksonline.com/index.php?module=News&func=display&sid=%1 [R=301,L]

    # ENG
    # This option is for use in Virtual Hosts or .htaccess files to inherit rewrite rules in the main section,
    # so if you have your own server you don't have to copy the rules into every Virtual Host you run.
    # Will cause an error if placed in the main httpd.conf section, as there's nothing to inherit.

    # RewriteOptions 'inherit'

    # Exclude certain directories
    RewriteRule ^modules/.*$ - [PT]
    RewriteRule ^themes/.*$ - [PT]
    RewriteRule ^javascript/.*$ - [PT]

    # Basic entry point rules
    RewriteRule ^index\.p?html?$ index.php [L,NC,NS]
    RewriteRule ^user\.p?html?$ user.php [L,NC,NS]

    # Language changing
    RewriteRule ^changelang-([^-]+)\.p?html?$ index.php?newlang= [L,NC,NS]

    # Theme changing
    RewriteRule ^changetheme-([^-]+)\.p?html?$ index.php?newtheme= [L,NC,NS]
    RewriteRule ^previewtheme-([^-]+)\.p?html?$ index.php?theme= [L,NC,NS]

    # General rules for modules with index.php?module=... / Regole generali per moduli con index.php?module=...
    RewriteRule ^module-([^-]+)\.p?html?$ index.php?module=&func=main [L,NC,NS]
    RewriteRule ^module-([^-]+)-([^-]+)\.p?html?$ index.php?module=&func= [L,NC,NS]
    RewriteRule ^module-([^-]+)-([^-]+)-([^-]+)-([^-]+)\.p?html?$ index.php?module=&func=&= [L,NC,NS]
    RewriteRule ^module-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)\.p?html?$ index.php?module=&func=&=&= [L,NC,NS]
    RewriteRule ^module-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)\.p?html?$ index.php?module=&func=&=&=&= [L,NC,NS]

    # General rules for modules with index.php?name=...
    RewriteRule ^([^-]+)\.p?html?$ index.php?name= [L,NC,NS]
    RewriteRule ^([^-]+)-([^-]+)-([^-]+)\.p?html?$ index.php?name=&= [L,NC,NS]
    RewriteRule ^([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)\.p?html?$ index.php?name=&=&= [L,NC,NS]
    RewriteRule ^([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)\.p?html?$ index.php?name=&=&=&= [L,NC,NS]
    # RewriteRule ^([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)\.p?html?$ index.php?name=&=&=&=&= [L,NC,NS]

    # General rules for modules with index.php?name=...&file=... / Regole generali per index.php?name=...&file=...
    RewriteRule ^([^-]+)\+([^-]+)\.p?html?$ index.php?name=&req= [L,NC,NS]
    RewriteRule ^([^-]+)\.p?html?$ index.php?name= [L,NC,NS]
    RewriteRule ^([^-]+)-([^-]+)\.p?html?$ index.php?name=&file= [L,NC,NS]
    RewriteRule ^([^-]+)-([^-]+)-([^-]+)-([^-]+)\.p?html?$ index.php?name=&file=&= [L,NC,NS]
    RewriteRule ^([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)\.p?html?$ index.php?name=&file=&=&= [L,NC,NS]
    RewriteRule ^([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)\.p?html?$ index.php?name=&file=&=&=&= [L,NC,NS]

    AddType text/html tpl
    AddType text/html shtm
    AddType text/html shtml

    <Files 403.shtml>
    order allow,deny
    allow from all
    </Files>


    Obviously having to go through this process every time I need to log in isn't really acceptable. Any ideas on how to permanently fix this issue?

Go to page 1 - 2 [+1]:

  • 0 users

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