1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.5 Can't log in cycle

Discussion in 'Troubleshooting and Problems' started by AngelArs, Apr 20, 2016.

  1. AngelArs

    AngelArs Active Member

    I haven't been able to work on my site for several weeks now because of my work load. Today is my (few) days off so I decided to do some updates on my forum, but it won't let me log in. I put my username and password in and it sends me a code for 30 day log in. I put the code in that it sends me but then it just sends me right back to the log in screen.

    How can I get out of this visious cycle and actually log in to my own forum?
  2. Brogan

    Brogan XenForo Moderator Staff Member

    I suspect the code you are referring to is the 2FA code.

    If you are having problems logging in, you can disable it by adding this to the library/config.php file:
    $config['enableTfa'] = false;
    Then you can log in, disable 2FA for your account/permissions, and remove that line again.
  3. AngelArs

    AngelArs Active Member

    I'm not sure that feature is causing the issue. I have a second account (non-admin) that is doing the same thing when I try to log in with it also.

    I was able to log into the admin panel, and then from there the forum.

    What should I look at in the admin panel to fix this so that I can log in directly from the forum login page?
    Last edited: Apr 20, 2016
  4. Brogan

    Brogan XenForo Moderator Staff Member

    There's no setting or option in the ACP which can prevent logging in directly to the front end.

    Try disabling all add-ons and testing in a default style.
  5. AngelArs

    AngelArs Active Member

    Disabled all add-ons.

    Forum still has the same characteristics, it says it's logging in, but does not actually log you in.

    Tried creating a new member. The Username and E-Mail fields keep displaying the error "The field was not recognized." (tried several browsers/computer/tablet).
  6. Brogan

    Brogan XenForo Moderator Staff Member

    Looking at your site now, it's not the default style and there are add-ons enabled.

    The error message is related to one of those.
  7. AngelArs

    AngelArs Active Member

    Yes, when I saw that none of the add-ons was causing the issue, I re-enabled them.

    I have again disabled all add-ons, and will keep them off for the next couple of hours for you. Default style is enabled.
    Last edited: Apr 21, 2016
  8. AngelArs

    AngelArs Active Member


    I think I got it working again BUT the "log in or sign up" link (upper right of forum) is still showing. There is no inbox. (same on default style)

    What do you recommend that I should be looking at to fix this?
    Last edited: Apr 21, 2016
  9. Tracy Perry

    Tracy Perry Well-Known Member

    If you are using CloudFlare and RocketLoader - disable it (RocketexpLoader).
    Check your browser console for any errors that it may be showing.
  10. AngelArs

    AngelArs Active Member

    Does CloudFlare cause these kinds of issues?

    I thought I was using it in another part of the site (not the forum) but when checked I couldn't find anything.

    I'll check again, thanks.

Share This Page