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 troubles

August 05, 2011 1:27pm

Subscribe [5]
  • #1 / Aug 05, 2011 1:27pm

    Chris C.

    47 posts

    I’m having a very similar issue to this since upgrading to ee2. Multiple issues, actually, but I’ll start additional threads for those. I can login via Safari on any computer, any version, but not on the newest versions of either Firefox or Chrome. Same with The Firefox Aurora build. Firefox 3 on another computer works fine, but an older Chrome build (12) is no go. The only Mac browser on which I can reliably log in is Safari.

    Over on Windows, IE9 works, Safari works, but not Chrome(12) or Firefox 5.

    I’m on 2.2.2. Cookies only. Switching to Cookies and session ID doesn’t improve things. I’ve tried every suggestion in every login issue thread going back a year. The same thing was happening in 2.2.1.

    I’ll also mention that I’d had intermittent login issues for quite some time on ee1.6, but never to this degree. And never to these specifics. I’d guess they were almost certainly cookie issues.

    OH - Forgot to mention. MSM is enabled, and I’m self-hosted.

  • #2 / Aug 05, 2011 3:05pm

    Brandon Jones

    5500 posts

    Chris,

    1. Is this with the Control Panel or the front-end of the site?
    2. What MSM-specific changes have you made to each site’s index.php and admin.php files?
    3. Have you set a cookie domain for each site?

  • #3 / Aug 05, 2011 5:51pm

    Chris C.

    47 posts

    Chris,

    1. Is this with the Control Panel or the front-end of the site?
    2. What MSM-specific changes have you made to each site’s index.php and admin.php files?
    3. Have you set a cookie domain for each site?

    1. Control Panel
    2. Nothing more than what the instructions say. Cp_url, uncomment and modify where it says. I’m not using admin.php for the second site. Just index and path. I’ve tried every variation I could find in the forums. Some totally broke login altogether, some kept me from being able to switch between sites in the CP. The way its set now is the way it’s worked best, but I’m still seeing the the problems outlined above.
    3. I’ve done it both ways. doesn’t change the behavior. Right now it’s set. This is for a public ed domain, so it’s http://www.county.k12.state.us. I took off the www.

    For those who may see this thread later and wonder, this post is the one I was referring to when I said ‘similar troubles’.

  • #4 / Aug 07, 2011 7:39pm

    Chris C.

    47 posts

    I was able to diagnose a little further this weekend. Apparently multiple site manager is at least partly to blame. Disabling MSM allows logins to work once more in all browsers. Enabling it again after login allows those logged-in users to keep working, however switching MSM sites doesn’t work at all (you stay on whichever site you logged into) and once logged out, it is impossible to log in again until MSM is disabled. Strange.

    I recreated my MSM site’s folder from scratch before trying all of this. Now all I’m using is the default index.php with appropriate changes. Switching to session ID only for CP now allows logins, but switching between MSM sites is still broken. Adding admin.php back into the mix will allow me to log into the CP of either site at the appropriate URL, but I cannot switch sites through the CP that way, either.

    Everything continues to work fine under Safari no matter what I do. Looking at the cookie panels in Chrome and FF, it doesn’t appear that Cookies are getting set at all at the login screen.

  • #5 / Aug 08, 2011 5:29pm

    Brandon Jones

    5500 posts

    Chris, just to clarify, what exactly do you have each site’s cookie domain set to? Make sure you are clearing all browser cookies and cache before each test.

  • #6 / Oct 18, 2011 3:15pm

    Chris C.

    47 posts

    OK, I decided to let this go until 2.3(.1) came out, but I’m still seeing the same issues, both on my production site and on a fresh install of EE. Safari logs in and can switch sites fine. Firefox and Chrome can log in to individual msm sites via site.com/admin.php, but neither of those browsers can switch to another msm site via the interface. Users have to visit admin.php for whichever site they want to edit. I have spent hours and hours trying every suggestion in these forums. This is getting incredibly frustrating, and is causing a large number of support issues for me. I would appreciate any help anyone could offer.

  • #7 / Oct 20, 2011 4:39pm

    Kevin Smith

    4784 posts

    Definitely understand your frustration with this one, Chris. I suspect, like Brandon, that this is likely an issue with cookies. What are the cookie settings (as found in the CP) for each of your sites? Are you running each of these sites as individual domain names, subdomains, subfolders, etc?

  • #8 / Oct 21, 2011 3:55pm

    Chris C.

    47 posts

    They match between both sites. .pasco.k12.fl.us for the domain. dsbpc for the prefix. We are a public ed institution, and our primary domain is http://www.pasco.k12.fl.us, the second is memos.pasco.k12.fl.us. If I change the cookie domain to anything else (e.g., .k12.fl.us, .fl.us), I can’t login in Firefox or Chrome - at all. The same thing is occurring in a fresh install that shares the www2.pasco and graphics.pasco domains.

  • #9 / Oct 25, 2011 12:06am

    Dan Decker

    7338 posts

    Hi Chris C.,

    If you set the cookie domains to be explicit for each site, such as:

    Site 1: <a href="http://www.pasco.k12.fl.us">http://www.pasco.k12.fl.us</a>

    and

    Site 2: memos.pasco.k12.fl.us

    Do you still experience these issues?

  • #10 / Oct 25, 2011 2:25pm

    Chris C.

    47 posts

    Yes. I can log in using those settings, but cannot switch sites in the CP.

  • #11 / Oct 26, 2011 6:34pm

    Dan Decker

    7338 posts

    Chris C.,

    Going back a couple of posts, you say you have index and path files for each site? Is that correct? ExpressionEngine 2 doesn’t require the path.php file anymore. Can you post a folder map of your second site and a sample of your index.php file? I want to make sure you don’t have some other hold-overs from EE 1.x hanging around. Although these issues seem to be more browser specific in nature, anything that can help us narrow down the issue.

    Cheers,

  • #12 / Nov 01, 2011 9:34am

    Chris C.

    47 posts

    My second (MSM) site folder lives inside my primary site folder:
    /www/
    /www/site2/

    There’s currently no path.php file in either my live or test site. There was an old path.php in my live site at one point, but deleting it had no effect. I’m trying to PM the files to you, but the site says your inbox is full.

  • #13 / Nov 03, 2011 9:46pm

    Dan Decker

    7338 posts

    Hi Chris C.,

    You’ll find that most of the EL staff have PMs turned off. That’s for security purposes, as some users will try to PM sensitive login information and that is not a secure means for doing that.

    In your case, feel free to post a sanitized version of your index.php file for review.

    Cheers,

  • #14 / Nov 07, 2011 10:00am

    Chris C.

    47 posts

    OK. These are the files from my test site (fresh install). Just a guess here, but do you think it could have something to do with the fact that we are a public ed institution, complete with the typical long, unwieldy domain name?

    These file show different cookie prefixes. I’ve tried it both ways.

  • #15 / Nov 08, 2011 11:20pm

    Dan Decker

    7338 posts

    Hi Chris C.,

    After having a look at your files and a go over the User Guide, you only need to un-comment the MSM directives for your second and subsequent sites. In your main index.php, you only need to ensure that the path to your /system is accurate. If you change your main index.php file back to its original state, are then able to switch sites?

    Thanks!

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

ExpressionEngine News!

#eecms, #events, #releases