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.

MSM - Site Offline issue

June 01, 2010 11:27am

Subscribe [4]
  • #1 / Jun 01, 2010 11:27am

    handiyman

    17 posts

    I want to make the default_site offline and others additional site work normal. I have configured additional site general configuration to offline to NO and the default site offline to YES. But when I accessed the additional site, it displays the message site offline. When I turned back default_site offline to NO, the additional website start working.
    Can some one able to guide how to fix this ? Thanks in advance

  • #2 / Jun 01, 2010 11:35am

    Sue Crocker

    26054 posts

    Are you logged into both sites?

  • #3 / Jun 01, 2010 6:47pm

    handiyman

    17 posts

    First test:
    Opened 3 new blank tabs.
    First tab - login as admin for the default site. Set the “is site on” to No.
    Second tab - Checked default site - site displayed offline message
    Third tab - Checked third site - site displayed offline message


    Second Test:
    Frist tab: Set the “is site on” of default site to Yes
    Second tab : refreshed the page (default site), site was online
    thrid tab: refreshed the page (second site), site was online.

  • #4 / Jun 02, 2010 5:25am

    handiyman

    17 posts

    Sorry I just realised that the thread is created in the wrong forum. The product I am using is 2.0.2 pb1 20100430 Can you please move it to the 2.0 Public Beta technical support area.

  • #5 / Jun 02, 2010 5:42am

    Ingmar

    29245 posts

    Moved. Are you logged in as a Superadmin? You will always be able to see your sites that way. Be sure to logout and login to the other site as a common user (or anonymous). Are you sharing a login between sites? If so, how, ie what do you have in your config.php?

  • #6 / Jun 02, 2010 7:31pm

    handiyman

    17 posts

    Hi Ingmar
    There seems change in original problem reported. I was making sites online and offline, clearing browser cache etc. Some how, not sure how, I am unable to reproduce exact same issue. but noticed a different issue that I am able to reproduce.
    I have only one user in the system (i.e super user). I don’t have any frontend login. So it is just a public access (or anonymous) to the front end.
    Openned 2 different browsers
    a. Google Chrome (GC): For admin configuration and checking
    b. Internet Explorer(IE): for Public acess


    GC:
    a. tab1:Logged in as super admin through default_site admin page. set Default_site status offline and selected the additional site (SiteB) from the sites menu and set status of it to offline.

    b. tab2 - acessed default_site front end - able to see the website
    c. tab3 - accessed second site front end - site offline message

    Checked in IE: (results as expected)
    a. tab1: default_site - site offline message
    b. tab2: second site - site offline message

    Simply, if the site is offline for the second site, even though you have logged in as super admin, unable to see the front end website.

  • #7 / Jun 02, 2010 8:09pm

    Ingmar

    29245 posts

    My question remains, are you sharing logins between sites? Are you using cookies and/or sessions ids? Try to add

    {logged_in_group_id}

    to your template and you’ll always see at a glance what group you’re currently in.

  • #8 / Jun 03, 2010 5:21am

    handiyman

    17 posts

    Hi Ingmar
    for the default site {logged_in_group_id} shows 1 (Super Admin Group)
    for additional websites it is 3 (Guest group).
    at present i have not shared logins between sites (assumed super admin will have access to all sites created) - No cookie or session is also used.

  • #9 / Jun 03, 2010 5:45am

    Ingmar

    29245 posts

    So you are not logged in to the additional sites, and consequently treated as a Guest. Is that experience consistent with your expectations? You should probably use cookie based authentication to make a shared login easier.

  • #10 / Jun 08, 2010 12:33am

    handiyman

    17 posts

    Thanks Ingmar
    Yes you are right. I should set cookie authentication. Thanks for the help.

  • #11 / Jun 08, 2010 2:28am

    John Henry Donovan

    12339 posts

    handiyman,

    Please confirm that this is a viable solution for you and we can close this one out.

  • #12 / Jun 08, 2010 6:03am

    handiyman

    17 posts

    Yes you can close the case but still figuring out the ways to setup. Once I set up the name in cookie settings like .primarydomain.com and .secondarydomain.com for the respective domain names in cookie setting area, I am unable to log back into CP. The login page re-appears after entering the login credentials. So was researching those issues in the forum + KB articles etc.

  • #13 / Jun 08, 2010 8:20am

    Sue Crocker

    26054 posts

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

ExpressionEngine News!

#eecms, #events, #releases