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

XF 1.4 Constant Logging Out AdminCP

Discussion in 'XenForo Questions and Support' started by bmx_atvman, Dec 6, 2014.

  1. bmx_atvman

    bmx_atvman Member

    Hey guys, I've reported issues like this before, where it just ended up being an issue with CloudFlare. Well this time, it's not, as I no longer use those. So, I was wondering how to fix it. My AdminCP will not leave me logged in for more than 15-30 secs, and it's super annoying as I can't get any backend work done.

    My forum's ACP is located here: http://forums.rubergaming.com/admin.php

    Any help would be appreciated.

  2. Mike

    Mike XenForo Developer Staff Member

    It probably is similar to the CloudFlare issue. If you make posts on the forum, is the IP they're tagged with actually yours?
  3. bmx_atvman

    bmx_atvman Member

    Wow, it's actually not. What should I do? Thanks!

    Edit: I already have the Cloudflare code in my library/config.php from my last time I had this issue.
    Last edited: Dec 6, 2014
  4. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    You can visit this page in your Admin CP to check the IP reporting:


    Make sure REMOTE_ADDR shows your correct IP. If it's not correct then you can contact your host or server person to fix this. Or look for a server variable that contains the correct IP and then add this code to your library/config.php file:

    Replace the red part with the name of the server variable that contains the correct IP (from your phpinfo).
    bmx_atvman likes this.
  5. bmx_atvman

    bmx_atvman Member

    This worked. I checked out the IP it gave me, and it was CloudFlare's IP. So that code I had in the config didn't work. I added the code you recommended and it worked! Thanks!

Share This Page