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.

problems login in and moving between sites in MSM

October 27, 2011 6:33am

Subscribe [4]
  • #1 / Oct 27, 2011 6:33am

    JamMan

    9 posts

    I’m running 3 different sites in MSM but when I try and a go between the sites (top right in the control panel) it doesn’t always respond.

    Furthermore,

    If I login to site1.com it lands me on the control panel of site3.com

    If I try and login to site3.com it won’t actually load, and just remains on the login page. (but no errors as such are showing)

    If I login in to site2.com I’m taken to site2.com’s control panel, but I can not browse between the different sites.

    I can’t really determine a logic this, as to where to fix this.

    Firefox 7.0.1
    EE 2.2.2

  • #2 / Oct 27, 2011 4:48pm

    Kevin Smith

    4784 posts

    Hi JamMan,

    Could you double-check to make sure this particular part of the MSM setup was completed correctly? Each site’s index.php and admin.php files need to have their own $assign_to_config variables properly set.

    If you take a look through those and set them correctly, does EE behave as you expect for switching between MSM sites? If not, are you using a Super Admin account to do this?

  • #3 / Oct 28, 2011 10:48am

    JamMan

    9 posts

    Hi Kevin,

    Yes Super Admin.

    I double checked all of the ‘config’ settings, and as far as I can see they’re all set up correctly.

    As mentioned in my first post, the behavior when attempting to go between the different sites is a bit strange, and different depending which control panel you log in to.

    Do you have any other suggestion? I can send you the login details for the various control panels or/and ftp details if you want to check it out?

  • #4 / Oct 29, 2011 4:54pm

    Dan Decker

    7338 posts

    JamMan,

    Be on the look out for an email from me. Keep in mind, it may be the first of the week before we have a chance to login and take a look.

    Cheers,

  • #5 / Nov 02, 2011 10:25pm

    Dan Decker

    7338 posts

    JamMan,

    I had a chance to go in and have a look. I ran through your sites several times in Safari and Firefox without any issues. What method are you using to access each site’s Control Panel? I accessed each CP through admin.php Are there any other details that might aid in helping us experience this?

    Cheers,

  • #6 / Nov 03, 2011 12:08am

    astuteo

    36 posts

    Try setting unique cookie domains for each site (ADMIN -> SECURITY & PRIVACY -> COOKIE SETTINGS). I was having tons of login/logout related issues with MSM and 2.3.0 and this seems to have fixed everything.

  • #7 / Nov 04, 2011 4:12pm

    Kevin Smith

    4784 posts

    Thanks for the tips, astute!

    JamMan, have astuteo’s tips helped at all?

  • #8 / Nov 09, 2011 7:06am

    JamMan

    9 posts

    HI Guys,

    Thanks for all of the help and suggestions so far.

    As astuteo suggested I’ve set unique cookie domains for each site, but I can’t say much has changed. I’m still seeming to have the same problems. Should I also fill in the Cookie Path and Cookie Prefixes? If so are able to suggest what these might be? I’d did read the following page, but was unsure:

    http://expressionengine.com/legacy_docs/cp/admin/system_preferences/cookie_settings.html

    Dan - I’m accessing the sites via admin.php

    Cheers,

  • #9 / Nov 10, 2011 5:25pm

    Dan Decker

    7338 posts

    Hi JamMan,

    As long as you have each site’s cookie domain set properly for that site’s domain, you shouldn’t need to bother with the other 2 settings. You can try adding a value to cookie prefix, but you would likely want to leave cookie path alone, as an improper setting there could cause the cookie to be unavailable in parts of your site. Just for clarification, your cookie domain should look similar to this:

    .site1.com
    
    .site2.com

    Thanks!

  • #10 / Nov 25, 2011 8:44am

    JamMan

    9 posts

    Hi,

    Cookie settings are as follows:

    .site1.com
    .site2.com
    .store.site1.com (is this correct? or should it be .site1.com/store)


    After spending a lot of time reading relative threads I stumbled across people with very similar/the same issues and problems with the config file were mentioned a lot…
    On inspection I noticed that the CP url was still set to the an older setup of EE - this strangely hadn’t updated?

    Having changed it, it currently seems that in terms of login into EE and my multisite setup is working as it is suppose to be.

    However, now I’m having several problems with my brilliant retail setup (store.site1.com), and suspect that they might be related?:

    When I try to register a new user in BR, on submission of the form the page is returned with blank fields.

    If I try to login as a current user, it says that I’ve logged in but I’m unable to consequently access the ‘user area’.

    On the occasion that I have been in the ‘user area’ and tried editing the user’s profile on return the fields are returned blank.

    At no point do I get any error messages.

    Could these issues be relative to cookie setting with EE?

    Regards.

  • #11 / Nov 29, 2011 3:38pm

    Dan Decker

    7338 posts

    Hi JamMan,

    For your third site’s cookie should be:

    domain: .store.site1.com

    Are you having any issues with ExpressionEngine’s Member management features, or only when in BR? If you are experiencing issues only when using BR, you will need to contact Brillant2 for support.

     

  • #12 / Nov 30, 2011 5:16am

    JamMan

    9 posts

    Hi Dan

    Thanks for confirming that, we have contacted Brilliant Retail support too. Think it’s something in the module settings.

  • #13 / Nov 30, 2011 7:04am

    JamMan

    9 posts

    Hi Dan,


    Thanks very much for having another look at our sites - really appreciate all the help.

    I’m wanting to configure the sites so that they’re all secure. We’ve purchased a multisite SSL certificate; how would I set up the .htaccess files, (and any other settings) correctly across our EE MSM? - I couldn’t find any documentation on this.

    At the moment the store’s .htaccess file has been edited to force store.domain1.com (including the brilliantretail module) to use https , but given that the member database is essentially shared with EE, when I try and login or register new members I get the following browser message:


    Security Warning

    Although this page is encrypted, the information you have entered is to be sent over an unencrypted connection and could easily be read by a third party.

    Are you sure you want to continue sending this information?

    Kind Regards.

    (PS. I think we might have two conversations going on at the moment - over mail and forum, this being the ‘latest’ update)

  • #14 / Dec 02, 2011 2:35pm

    Dan Decker

    7338 posts

    Hi JamMan,

    Since we have pretty well resolved the issue that prompted the private discussion, we’ll keep working here.

    There really isn’t a lot of documentation, per se, because how to handle HTTPS is in the hands of the developer. There are several add-ons that can give you some assistance. I did a quick search on Devot://ee and turned up quite a list.

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

ExpressionEngine News!

#eecms, #events, #releases