Posted on: 11/05/06 08:30am
By: Nightdude
Suddenly, during the past 48 hours, one of my sites wont allow anyone to log-in, shows as logged in on the who's online block, but no access to registered member services.
I have four Geeklog sites total all on the same server - different domains of course, only one has this problem. Error log shows "Failed to set session cookie"
Would could have happened - config file corruption maybe? Already reloaded a new one, no change..
Ideas?
ND
Set Cookie Failure
Posted on: 11/05/06 09:36am
By: Dirk
[QUOTE BY= Nightdude] Error log shows "Failed to set session cookie"[/QUOTE]
This error message is only used once, in lib-sessions.php, when Geeklog tries to set the user's session cookie. Which means that the setcookie() call there failed.
The PHP manual has this to say about the return value of
setcookie()[*1] :
If output exists prior to calling this function, setcookie() will fail and return FALSE.
So, to cut a long story short: Something somewhere has emitted something before that setcookie() call. Sounds like a typical whitespace problem ...
bye, Dirk
Set Cookie Failure
Posted on: 11/05/06 02:48pm
By: Nightdude
What caused the change??
This a a site that has been up for years, and it's only this site.
ND
Set Cookie Failure
Posted on: 11/05/06 03:15pm
By: Dirk
Did you change any config.php settings recently? Installed any plugins? Re-uploaded any files? Things like that.
bye, Dirk
Set Cookie Failure
Posted on: 11/06/06 02:54am
By: Nightdude
No changes what so ever since the last upgrade a while back.
Thats why I am so puzzled.
ND