Closed (outdated)
Project:
Drupal core
Version:
6.10
Component:
user system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
10 Mar 2009 at 20:34 UTC
Updated:
2 Mar 2016 at 22:18 UTC
Jump to comment: Most recent
Comments
Comment #1
samwarren commentedI can only override this "fake logged in state" by logging in as another user.
If this is not solved, I have to go back to drupal6.8.
Comment #2
buddy-1 commentedI am having the exact same problem in drupal 6.1. I hope we find a resolution soon
Comment #3
buddy-1 commentedOkay, I went to Admin-Site Config-Performance and disabled Page Caching, and all is fine again.
But shouldn't I be able to have Page Caching without this problem?
Comment #4
samwarren commentedThis happens when I use different user names to log in and out. One way to clean this up is by removing the cookies.
So, it should be related to cookie settings. After I log out, somehow server consider my out and the cookie shows I am still in, or vice versa. Just my guess.
In my settings.php, I have these lines:
# ini_set('session.name', 'localhost');
$base_url = 'http://www.emfocal.com'; // NO trailing slash!
# $cookie_domain = 'emfocal.com';
(emfocal.com is my real site name).
Removing the # sign seems making the situation worse.
Can someone show me how to set the above lines? Or is there any other issues?
Comment #5
samwarren commentedOne more information. This might be just related to Google Chrome. I don't see this problem with IE.
Comment #6
joodas commentedPerhaps a bit OT, but for people facing a "can't log out" problem not to spend two days trying to figure out what the problem might be:
check the PHP conditions with $user->uid in them.
Having "return ($user->uid = 1)" (= instead of ==) in your block's Page specific visibility settings makes it impossible to log out at all.
Comment #7
mirrie commentedwhere do I check this? Where are the visibility settings to be found?
Comment #8
pwieck commentedI have the same problem and had to turn off normal caching like in #3. Block caching seems fine.
I am using Drupal 6.28