Logout problem [solved]

Started by Fanta, February 04, 2005, 03:43:35 PM

Previous topic - Next topic

[Unknown]

Quote from: Radianation on March 14, 2005, 01:54:57 AM
Try recreating my error by doing this:

Login to the forum, then click on gallery. Then go back to the forum and try to logout. I think my coppermine bridge is the culprit.

http://www.louipimps.com/forum/printrcookie.php

There is the page you requested.

Still works fine?

Okay, how about trying this:

<?php

setcookie
('louipimps'''time() - 3600'/'''false);
setcookie('louipimps'''time() - 3600'/forum'''false);
setcookie('louipimps'''time() - 3600'/''louipimps.com'false);
setcookie('louipimps'''time() - 3600'/forum''louipimps.com'false);
setcookie('louipimps'''time() - 3600'/''.louipimps.com'false);
setcookie('louipimps'''time() - 3600'/forum''.louipimps.com'false);
setcookie('louipimps'''time() - 3600'/''www.louipimps.com'false);
setcookie('louipimps'''time() - 3600'/forum''www.louipimps.com'false);

?>


-[Unknown]

NoRad

Same problem. I hit this page first, then logged in and hit the gallery, tried to logout and I get the error. =/

http://www.louipimps.com/forum/timeouts.php

I am noticing that my logout link looks like this: http://www.louipimps.com/forum/index.php?action=logout;sesc=

NoRad

Well, I just tried it again and it appears to be working? Weird...... I've cleared all of the cookies for my domain several times, what would change now?

Oh here is something... try logging out from the homepage? (outside of the forum, using SSI). It doesn't have the sesc there

[Unknown]

Quote from: Radianation on March 14, 2005, 04:21:56 AM
I am noticing that my logout link looks like this: http://www.louipimps.com/forum/index.php?action=logout;sesc=

Oh, okay.  I thought you were logging out from THE FORUM.

This is a known problem with Coppermine's integration.  I've described a method that can fix it, which will probably be used with the next version of Coppermine.

As for any SSI pages, are you absolutely 100% positive that the very first thing is:

<?php

require('/path/to/SSI.php');


Before anything else, even a space?  To test that, try:


<?php

require('/path/to/SSI.php');

echo 
$context['session_id'];

?>


It should give a code of some sort, not nothing.  Nothing means it didn't load the session data, which would probably mean it wasn't the first thing in the file.

-[Unknown]

NoRad

I didn't realize it was the homepage either. I thought it was both the forum and the homepage. I think I fixed it by adjusting my index.php that was using the SSI ... You're right. It wasn't the first line. Testing now.

samler

I have had the same problem, but since I have added the forum to the existing site (hxxp:tipstraders.com [nonactive], with its own login) I decided to let the main logout take care of the problem.

I let the main logout delete cookie 'SMFCookie10' and unset $_SESSION['login_SMFCookie10'].

Not very elegant, perhaps, but effective.

NoRad

Well, by adjusting my SSI page so that the include happened first it fixed my problem.

jitspoe

I'm having this problem when in maintenence mode using 1.1 RC2.  I can log in / log out just fine as admin, but if I try to use a different user (my test user account), it will not log out.  Also, when it's logged in as a non-admin, trying to log in as somebody else does not work, either (the login screen is all that shows up in maintenence mode).  This isn't a huge deal since this is probably the first time (and possibly the last) I've used maintenence mode, but I figured I'd throw it out there.

Advertisement: