Welcome to Geeklog, Anonymous Saturday, February 08 2025 @ 08:26 pm EST
Geeklog Forums
Set Cookie Failure
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
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
20
19
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by Nightdude: Error log shows "Failed to set session cookie"
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():
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
19
18
Quote
All times are EST. The time is now 08:26 pm.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content