I have FCK editor installed, and trying to enable FCK file manager.
It tells me that in order to use it, $cookie_domain must be set.
Easy enough, I set it to www.mysite.com. I can log in, register, etc just fine. However I started seeing a number of people get Access Denied after logging in or trying to access any protected area.
Commenting out $cookie_domain, users can get in fine.
I am looking for one of the following:
A. A harmonious answer where FCK file manager and $cookie_domain can be set
-or-
B. An alternative to FCK editor (like CK) that allows in-place file uploading without requiring cookie domain to be set (and interrupting user experience).
This is what wound up working for me (Domain Access is installed):
$base_domain = explode('.', $_SERVER['SERVER_NAME']);
unset($base_domain[0]);
$base_domain = '.' . implode($base_domain, '.');
$cookie_domain = $base_domain;