Closed (fixed)
Project:
Subdomain
Version:
6.x-1.5
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
29 Oct 2009 at 11:16 UTC
Updated:
15 Jan 2010 at 13:40 UTC
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.
| Comment | File | Size | Author |
|---|---|---|---|
| URL Aliases.png | 67.23 KB | MichaelP |
Comments
Comment #1
MichaelP commentedOh 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:
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.
Comment #2
finex commentedAnyway the module should exclude commented lines from the settings file. Or not?
Comment #3
setvik commentedYeah, the module should be excluding commented lines. Will be fixed in the next release.
Comment #4
finex commentedMany thanks!