Dear All
Further to my previous post, I'm having problems logging into roundcube. When I try I get a "Your browser does not support cookies" error message. I've checked the browser (Firefox 3.0.5) and cookies are enabled. I've tried on three different PC's (some running linux and one running Windows XP). I've also tried in both Firefox and IE Explorer (both on Linux and Windows).
I have added some debug output to the code in index.php just before where where it checks $_COOKIE and the array is indeed empty so that is why the login is failing.
Where should the cookie get set? I can see the function setcookie in the rcmail class, but am unsure where the function is called from. At what point in index.php does it get called? when $RCMAIL is assigned with the get_instance function?
Can any one suggest why either the function isn't being called or the cookie is not being set?
Thanks
Paul
Dear All
After further investigation I've discovered that the problem is based upon the host name used to access the site.
If I try and access using the hostname on its own eg - myhost then I get the "your browser doesn't support cookies" message.
However if I try and access the site using the fully qualified domain name - myhost.mydomain.co.uk - I can log in to the server with no problems.
As such it appears the message is misleading. The problem is with the session_domain config variable. The hostname used in the url to access the site needs to include the same domain name as that used in the session_domain config variable.
Thanks to clf for pointing me in the the right direction in this thread:
http://www.roundcubeforum.net/pending-issues/2178-login-error.html
Regards
Paul