MyBB Community Forums
Problems with a Sub-domain - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Community Archive (https://community.mybb.com/forum-106.html)
+--- Forum: Archived Forums (https://community.mybb.com/forum-143.html)
+---- Forum: Archived Development and Support (https://community.mybb.com/forum-155.html)
+----- Forum: MyBB 1.6 (https://community.mybb.com/forum-138.html)
+------ Forum: 1.6 General Support (https://community.mybb.com/forum-127.html)
+------ Thread: Problems with a Sub-domain (/thread-130066.html)



Problems with a Sub-domain - GalaxyFreak - 11-27-2012

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.html#Cookie_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??


RE: Problems with a Sub-domain - GalaxyFreak - 11-29-2012

SOLVED, have installed the forum on a diffrent server now!!