I have all working except the cookie_domain shows not set on admin/build/path/subdomain (see attached .png).

However the module is working and I have [subdomain] setup for organic groups and I get myorganicgroup.example.com as the path which is all wonderful.

So my question is why am I getting the horrible error of the cookie_domain not set and does it matter?

vhosts.conf has (substituting example.com for my domain):

ServerName example.com:80
ServerAlias *.example.com
DocumentRoot /var/www/vhosts/example.com/httpdocs

<Directory /var/www/vhosts/example.com/httpdocs>
        AllowOverride All
</Directory>

settings.php has:

$cookie_domain = "example.com";

and the custom url rewrite functions as per README.txt.

Many thanks for any thoughts on the matter.

Michael.

CommentFileSizeAuthor
URL Aliases.png67.23 KBMichaelP

Comments

MichaelP’s picture

Status: Active » Closed (fixed)

Oh dear.

I looked at the code which evaluates $cookie_domain. It gets the first instance, which in my case is the commented original in the settings.php file as I had:

#$cookie_domain = 'example.com';
#Michael
$cookie_domain='myDomain.com';

so when this commented instance is passed to eval, it returns that it is not set.

Don't know why I left the original commented. Force of habit. Woe is me. All now looking green and happy.

Great module!

Michael.

finex’s picture

Status: Closed (fixed) » Active

Anyway the module should exclude commented lines from the settings file. Or not?

setvik’s picture

Status: Active » Fixed

Yeah, the module should be excluding commented lines. Will be fixed in the next release.

finex’s picture

Many thanks!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.