Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> PHP-Nuke Patched Series By Chatserv
Author Message
ThePiston
Worker
Worker



Joined: Dec 22, 2004
Posts: 135

PostPosted: Tue Oct 11, 2005 11:24 am Reply with quote

i can't seem to logout properly anymore since I upgraded. it redirects me when i logout to a blank page and I have to delete cookies to get cookie cleared. here's my logout funtion
Code:
function logout() {

    global $prefix, $db, $user, $cookie, $redirect;
    cookiedecode($user);
    $r_uid = $cookie[0];
    $r_username = $cookie[1];
    setcookie("user", false);
    $db->sql_query("DELETE FROM ".$prefix."_session WHERE uname='$r_username'");
    $db->sql_query("DELETE FROM ".$prefix."_bbsessions WHERE session_user_id='$r_uid'");
    $user = "";
    include("header.php");
    OpenTable();
    if (!empty($redirect)) {
        echo "<META HTTP-EQUIV=\"refresh\" content=\"3;URL=modules.php?name=$redirect\">";
    } else {
        echo "<META HTTP-EQUIV=\"refresh\" content=\"3;URL=index.php\">";
    }
    echo "<center><font class=\"option\"><b>"._YOUARELOGGEDOUT."</b></font></center>";
    CloseTable();
    include("footer.php");
}
 
View user's profile Send private message
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Tue Oct 11, 2005 7:54 pm Reply with quote

Check your server error log to see if there is anything in it.
 
View user's profile Send private message
ThePiston







PostPosted: Tue Oct 11, 2005 9:08 pm Reply with quote

nope, nothing of interest there. when i logout the page ends up on this URL (and it does log out, I just need to refresh the webpage)
[ Only registered users can see links on this board! Get registered or login! ]
 
Raven







PostPosted: Tue Oct 11, 2005 10:22 pm Reply with quote

You said it redirects you to a blank page. Are you saying that url returns a blank page?
 
ThePiston







PostPosted: Wed Oct 12, 2005 7:42 am Reply with quote

yep
 
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> PHP-Nuke Patched Series By Chatserv

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©