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

XF 1.5 Login issue

Discussion in 'XenForo Questions and Support' started by =MGN=RedEagle, May 10, 2016.

  1. =MGN=RedEagle

    =MGN=RedEagle Well-Known Member

    Hi there,

    I am running 2 licensed versions of XF on the same domain, however, when I login to one install it logs me out of the other and vice versa. They are on the same domain:

    /forum
    /otherforum
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    You need to set a cookie prefix in the library/config.php file for each site:

    Code:
    $config['cookie'] = array(
    'prefix' => 'forum',
    'path' => '/',
    'domain' => ''
    );
    Code:
    $config['cookie'] = array(
    'prefix' => 'otherforum',
    'path' => '/',
    'domain' => ''
    );
     
    Pierce and maszd like this.
  3. =MGN=RedEagle

    =MGN=RedEagle Well-Known Member

    I did this... apparently wrong and my website is down. Says I got the config wrong :S.
     
  4. =MGN=RedEagle

    =MGN=RedEagle Well-Known Member

    I think I fixed my mistake :)
     

Share This Page