Hello, awesome module. This is exactly what I needed to setup our two sites, one of which is the "main" site, the other which is the Shopping Cart system - so I have shop.example.com and www.example.com (root). The Shopping site is a previous Drupal solution, and the new Drupal Main site is a migration - so I'm "reverse-engineering" the main site, in a way. So far everything is working out, the only issue I have is this:

I've read the Install and Readme files, all the patches have been applied successfully. However neither anonymous nor authenticated (non-Administrator) users are able to see the content. I receive either a "You must login" screen or "You are not authorized to access this page" screen when I attempt to view it as the authenticated user.

What I'd like to do is have Products be viewable only on the Shopping Cart site, of course, but right now they are visible on both - as long as you're an Administrator.

All of my previous content shows up fine, albeit on both sites which is not what I want; but it appears that the only way to get the nodes to show up is by selecting "Show to all affiliates" - and when I select a specific affiliate, the content disappears from both.

Any ideas? Did I miss something - maybe there is another area or bit of code I can check? Any help is greatly appreciated.

Comments

torgospizza’s picture

Sorry, I should specify that creating "new" content is not accessible by authenticated users, unless it's setup to be shown on all Affiliated sites.

agentrickard’s picture

Check your cookie settings in settings.php -- it seems likely that these need to be configured according to the directions in the README.

Typically, $cookie_domain needs to be set to '.example.com'

agentrickard’s picture

Question #2 -- Do you have Domain Strict turned on? If so, turn it off.

torgospizza’s picture

I appreciate your prompt response; The cookie settings are correct (I can login / out of both sites without issue) and I think I may have had Domain Strict turned on. I'm attempting it with a new installation of the module, I will let you know the results very shortly. Thanks again!

torgospizza’s picture

Hi, that seems to have done the trick. Thanks again for the awesome module - I'll be testing and tweaking the next few days, and I'd be happy to write up a use case for you (and even with future plans). Our site is www.rifftrax.com and the shopping cart site is shop.rifftrax.com - thanks to your module, I'll be able to allow users who have already registered on shop. to access the soon-to-arrive Drupal version of www.

Thanks again!

agentrickard’s picture

Status: Active » Fixed

I saw rifftrax the other day -- it will be part of the UberCart presentation at DrupalCON.

You want to send me some free samples? :-)

Domain Strict, by the way, has confused a few other people -- see http://drupal.org/node/218947.

See the README that comes with Domain Strict.

agentrickard’s picture

Category: bug » support
Status: Fixed » Closed (fixed)