Welcome to Geeklog, Anonymous Monday, October 14 2024 @ 10:56 pm EDT
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
12
14
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
13
14
Quote
All times are EDT. The time is now 10:56 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