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

XF 1.5 A cookie problem (?) with two XenForos

Discussion in 'Troubleshooting and Problems' started by Mystinen Metsätyömies, Dec 28, 2015.

  1. We have two XenForo forums. They are under the same domain, but in different folders. Like this:

    http://domain.com/forum1 (old forum, XenForo 1.4.8)
    http://domain.com/forum2 (new forum, XenForo 1.5.4)

    They have mostly different users, but some of us use both forums, at least me as an admin. I have a unsolved configuration problem, which I suppose might be cookie-related. I'd like to get an easily understandable guide how to configure the forums to avoid the occurred problem.

    The problem:
    If I login the old forum and then login also to the new one, the old forum kicks me out instantly. Vice versa, the same behavior if I try to login old forum when I am already logged to the new one.
  2. Chris D

    Chris D XenForo Developer Staff Member

    You need to set a different cookie prefix for one or both sites.

    e.g. add to config.php:
    $config['cookie']['prefix'] = '15x_';
  3. Thanks!

    I'll try that. [​IMG]

    EDIT: Now it's OK. If someone other has the same problem, the Config.php options are explained in this list.
    Last edited: Dec 28, 2015

Share This Page