MyBB Community Forums

Full Version: Problems with a Sub-domain
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey,

I have made a sub-domain and install on the sub-domain a new version of Mybb.

My forum url is: http://www.galaxyfreaks.nl and the sub-domain url is: http://www.nzbhunter.galaxyfreaks.nl

Now I want to login in the sub-domain forum but I can not login (after gif the details i'm still not login) I know this is the problem of the cookies settings.

I have now for the sub-domain this settings

$settings['cookiedomain'] = ".nzbhunter.galaxyfreaks.nl/";
$settings['cookiepath'] = "/";
$settings['cookieprefix'] = "";

This settings not working, I tryed to set it to this:

$settings['cookiedomain'] = ".galaxyfreaks.nl/";
$settings['cookiepath'] = "/";
$settings['cookieprefix'] = "";

This works and I can login in my new forum BUT, if I have this settings I always logout on the old forum. Do I login again on my old forum I logout on my new forum automatic. So this settings will not working together.

I have also tryed this:

$settings['cookiedomain'] = ".galaxyfreaks.nl/";
$settings['cookiepath'] = "/";
$settings['cookieprefix'] = "nzbhunter";

Also with this settings not able to login in my sub-domain. So I have take a look at this page: http://docs.mybb.com/Cookie_Settings.htm...e_Settings

But I don't know to setup the right settings so all working and that I not annymore logout automatic on one of my forums.......

Thanks helping me!!!!

Strange is... I need to switch from settings. Then it works with

$settings['cookiedomain'] = ".nzbhunter.galaxyfreaks.nl/";
$settings['cookiepath'] = "/";
$settings['cookieprefix'] = ""; 

And then after a couple of minutes I need to change to:

$settings['cookiedomain'] = ".galaxyfreaks.nl/";
$settings['cookiepath'] = "/";
$settings['cookieprefix'] = ""; 

Not 1 settings works the hole time, So someone with a sollution??
SOLVED, have installed the forum on a diffrent server now!!