ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Login to Forums with SuperAdmin breaks Main Site with Cookies

November 29, 2011 1:50pm

Subscribe [2]
  • #1 / Nov 29, 2011 1:50pm

    dclarkrenton

    25 posts

    This question may be related to a resolved thread.

    Hope the title and the related thread says it all. I have been working for months on this issue, all the while being logged into the backend of EE with MSM/EE 2.3.1/Forums in Safari… and front end viewing primary site pages (no login) with Chrome, and Forums Login with Super Admin in Firefox…

    Boiled it down to definitely cookie issue as I can replicate problem over and over, and have changed config.php to multiple logins, several URL choices etc. I have allowed multiple logins from single account, however all informal web sessions are a short URL cookie based.

    As Super Admin, I can now login to Control Panel (Backend) and configure all MSM Sites.. and can see the Front Page of the one site attached to the forums… BTW, I did try to detach the forums onto it’s own site and it made no difference. Problem begins when I need to login to the forums.

    I CAN login to the front door of the forums with MEMBER credentials… be successfully logged in, and still see the site home page, and manipulate in the CP (with my super admin creds)

    HOWEVER, when I login to the front door of the forums with my Super Admin creds, as (even though I land successfully logged in to the forums).... The cookie breaks and I I CANNOT see the site home page, (visible Cookie Errors)... Now, when I log out of the forums, the site home page now (magically) re-appears… Since the cookies were cleared on SuperAdmin logout.

    So, the issue IS definitely on using SuperAdmin on the front end (forums/member)... breaking all other set cookies for that (and other MSM) domain(s), so that when a SuperAdmin is logged into front end, the regular channel pages are broken and cannot be viewed.

    Thankfully, logging into forums/member as a ‘member’ does not have this same effect.

    I am very busy in our forum area… so, I would be grateful for a fix for this asap.

    Thanks!

  • #2 / Nov 30, 2011 2:39pm

    Kevin Smith

    4784 posts

    Hi dclarkrenton,

    I’m sorry to hear about this. It sounds like you have a unique setup, and I’m not altogether sure how to replicate the problem on my end in order to best help you. Be on the lookout for an email from me. I’d like to help get you fixed up by taking a first-hand look at the problem.

  • #3 / Dec 01, 2011 11:09pm

    dclarkrenton

    25 posts

    Our setup is not really unique, unless this is considered so… using EE 2.X, MSM, + Forum Module. BTW, I have tested with all third party plug-ins removed, and experienced the same results as described above.

  • #4 / Dec 05, 2011 9:56am

    Kevin Smith

    4784 posts

    I suspect the issues you’re running into stem from the various domain names being used on the MSM site without utilizing Multi Site Login, the “URL to the root directory of your site” possibly being incorrectly set for some of the sites, and your sites’ cookie domains being set to another domain name.

    The first thing I would recommend doing is clearing the cookie domain setting from all MSM sites. (For each site, navigate in the CP to Admin > Security and Privacy > Cookie Settings, clear the value in the Cookie Domain field, and submit.)

    Next, make sure each of your sites has the proper domain name entered in the relevant fields at Admin > General Configuration.

    Finally, use the steps in this wiki article to help you set up Multi Site Login functionality for all your sites. This will allow anyone logging into one of your sites on the front-end to be logged in on all of your sites.

    If you’re still experiencing issues after this, please let me know exactly what you’re trying to accomplish,  what you tried, what you expected to happen, and what happened instead.

    Thanks!

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases