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

Cookie problem - login loop XF 1.2.1

Discussion in 'Troubleshooting and Problems' started by carntheroos4eva, Sep 20, 2013.

  1. I am getting reports from my members that they seem to be having troubles with logging in.
    It seems to be a cookie problem that is in one of the files.
    Getting 404 errors on login.
    Have tried uploading the files both from customer section and normally. Had the same problem.
    You might want to rework the login loop problem.
  2. Mike

    Mike XenForo Developer Staff Member

    This is generally indicative of configuration issues. It can be one of a few different things:
    1. The users' IPs are changing constantly. This generally shouldn't happen on their end, though it can happen with mobiles. Selecting the option to stay logged in should resolve it. However, this can happen on your end if you (or your host) uses a proxy service such as CloudFlare.
    2. You've set a cookie path or domain in the config.php that's incorrect. I would recommend removing the cookie path/domain if necessary and then changing the cookie prefix as well.
    3. You've enabled caching of sessions in config.php and the cache isn't storing sessions correctly. Disable caching.
    4. If you've moved servers or something like that, it's possible that not all the data has been moved across correctly, meaning that some users have corrupted records. This likely wouldn't happen spontaneously but I have seen it happen.
  3. Checked all of that.
    It's not any of those.
    It seemed to be an Apache problem. Because it was also happening to me. I had to add apache to it. Also I re-installed the software and checked the permissions.
    Some of those permissions were a little dodgey.
  4. It's definitely a bug. So I am uninstalling it and going back to xf 1.1.5
  5. Mike

    Mike XenForo Developer Staff Member

    Nothing in this regard changed between 1.1 and 1.2. The only time we've had reports of this, it's worked out to be something like the above issues.

    If you can provide (via a support ticket if you prefer) an account that I can confirm the issue with, along with FTP access, I may be able to debug the issue for you.
  6. jayramfootball

    jayramfootball Active Member

    @Mike I am having similar issues with log ins either not working or an error message flashing up on screen, just before a successful log in... have just pm'd you
  7. that would be fantastic.

Share This Page