Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
2 Forums on one domain — accounts get messed up
We're having 2 separate installs of Vanilla on our domain: one is main forum page at ourdomain.name/forum/ , and one more — for test purposes to play with extensions and other bonuses and not to be afraid to screw things up, over at ourdomain.name/poligon/
And we're having some weird problems with the accounts on these 2. Currently there are 2 administrators on the both forums — me and one more guy. And our accounts are always messed up: I log in to one forum, and when I open up the 2nd forum, I'm logged in as my friend, and not as me. And the same thing goes backwards: if I log in on the test forum, when I open the main forum, I'm logged in not under my account as well.
Any ideas what might be causing this? Is it cookies or something with the forums bein in the same MySQL db?
0
This discussion has been closed.
Comments
If you open up conf/settings.php and edit it for each installation, here is what you will need to change (or add if it's not already there):
For domain.com/forum1/
$Configuration["COOKIE_USER_KEY"] = "forum1cookieone"; $Configuration["COOKIE_VERIFICATION_KEY"] = "forum1cookietwo"; $Configuration["SESSION_USER_IDENTIFIER"] = "Forum1UserID"; $Configuration["COOKIE_DOMAIN"] = ".domain.com"; $Configuration["COOKIE_PATH"] = "/forum1/";
For domain.com/forum2/
$Configuration["COOKIE_USER_KEY"] = "forum2cookieone"; $Configuration["COOKIE_VERIFICATION_KEY"] = "forum2cookietwo"; $Configuration["SESSION_USER_IDENTIFIER"] = "Forum2UserID"; $Configuration["COOKIE_DOMAIN"] = ".domain.com"; $Configuration["COOKIE_PATH"] = "/forum2/";
Then you will likely have to sign out and back in to make everything work properly.