Whenever users/Site admin create any nodes(Blog entry,Forum, Feed..etc) users are automatically logged out. We are using multisites(sub domains) under one root site. All subsites base_url have been commented out. Cookies_domain were set to root site. Please let me know why this is happening!!!!!

Comments

dhaven’s picture

hi, have you completed all the tasks in the read me file? or tried clearing your browser cache?

valuewing admin’s picture

This module did work properly earlier. Now it is not working as expected. Probably browser cache would have been cleared. Not sure about it..Does that have some things to do with this issue?

please suggest some thing to sort out this issue?

dhaven’s picture

do you create pages to be shown in the sub domain? if so then you would need to log in to the sub domain to view it unless you checked the 'view on all sites' (i think) box. so maybe when you create a node it take you to the sub domain it is made to view from?

valuewing admin’s picture

I have changed the options to "Show on all affiliate sites " in domain module behaviours in domain settings page. But still the problem persists..

I am just describing how my site navigation is..
I am logging in from the root site and jumped to another subsite. Still i am logged in. when i create a node, it says "node successfully created". But site seems to be logged out.

Any other chances to lock out this issue?

agentrickard’s picture

Category: bug » support
Priority: Critical » Normal

This is not an error that has been reported before, and certainly would have been noticed.

You say We are using multisites(sub domains) under one root site. Did you initially have a traditional multi-site Drupal configuration?

Be sure that the cookies that you set are readable by all domains. Then check to be sure that you only have one settings.php file.

Upgrading to 5.x.1.9 is also recommended.

valuewing admin’s picture

Yes, we had an multisite configuration earlier. Then we did install this module and did work well.. What do you mean by setting cookies readable by all domains? Are there any options to do this?

agentrickard’s picture

See section 4.3 of INSTALL.txt

If your sites do not share a common top-level domain, then cookie-based login sharing will not work.

valuewing admin’s picture

Yes thats true. But i said earlier "Cookies_domain were set to root site.". we are setting root domain as cookie_domain in all its settings file. Moreover, even if we create/delete nodes in root site, it is logging out. so i am not sure whether it is to do with cross site login issue.

agentrickard’s picture

"In all its settings file"?

You can only have _one_ settings file when using Domain Access.

agentrickard’s picture

Status: Active » Closed (fixed)