Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   TBDev (http://www.bvlist.com/forumdisplay.php?f=20)
-   -   Can't logout . (http://www.bvlist.com/showthread.php?t=4479)

franky2008 11th February 2010 03:54

Can't logout .
 
I press the logout button , and I see a blank page. I think the problem is from here . But where ?

PHP Code:

table align="center" cellpadding="0" cellspacing="0" border="0"  class="container" id="status_on">
<tr>
<td class="tablea"><table align="center" style="width:737"  cellspacing="0" cellpadding="0" border="0">
<tr>
<td class="bottom" align="left"><span  class="smallfont"><? print("" .WELCOME_BACK"")?>,  <b><a  href="userdetails.php?id=<?=$CURUSER['id']?>"><?=$CURUSER['username']?></a></b><?=$medaldon?><?=$warn?>&nbsp;  [<a href="logout.php"><? print("" .LOG_OUT.  "")?></a>]<br/>
<font color=1900D1><? print("" .RATIO"")?>:</font>  <?=$ratio?>&nbsp;&nbsp;<font color=green><?  print("" .UPLOADED"")?>:</font> <font  color=black><?=$uped?></font>&nbsp;&nbsp;<font  color=darkred><? print("" .DOWNLOADED"")?>:</font>  <font  color=black><?=$downed?></font>&nbsp;&nbsp;<!--font  color=1900D1><? print("" .ACTIVE_TORRENTS.  "")?>:&nbsp;</font></span> <img alt="Torrents  seeding" title="Torrents seeding"  src="pic/arrowup.gif">&nbsp;<font color=black><span  class="smallfont"><?=$activeseed?></span></font>&nbsp;&nbsp;<img  alt="Torrents leeching" title="Torrents leeching"  src="pic/arrowdown.gif">&nbsp;<font color=black><span  class="smallfont"><?=$activeleech?></span></font>&nbsp;&nbsp;<font  color=1900D1><? print("" .CONNECTABLE.  "")?>:&nbsp;</font--><?=$connectable?></td>
<td class="bottom" align="right"><span  class="smallfont">Invitatii: <a  href=invite.php><b><?=$CURUSER[invites];?></b></a><br/>
<?


Phogo 11th February 2010 14:22

Nothing to do with that mate. check your cookies

franky2008 11th February 2010 16:24

no
 
is not from cookies . I've delete them all , but the same error.
PHP Code:

<?

require_once("include/tracker.php");

dbconn();
loggedinorreturn();

if (
$CURUSER[id]==$_GET[id]) {
    
logoutcookie();
    
session_destroy();

    
//header("Refresh: 0; url=/");
    
Header("Location: $BASEURL/");
}

?>

this is my logout.php
any suggestions ?

Chez 27th February 2013 11:16

Here:

PHP Code:

<td class="bottom" align="left"><span  class="smallfont"><? print("" .WELCOME_BACK"")?>,  <b><a  href="userdetails.php?id=<?=$CURUSER['id']?>"><?=$CURUSER['username']?></a></b><?=$medaldon?><?=$warn?>&nbsp;  [<a href="logout.php"><? print("" .LOG_OUT.  "")?></a>]<br/>

replace logout.php with:

PHP Code:

logout.php?id=<?=$CURUSER[id]?>


Krypto 28th February 2013 01:27

@Chez while I appreciate your efforts in posting these solutions, do you actually look at the date that they were made?

Eg. If you look at this thread, you've resurrected a 3 year old post and the member was last seen 09/10/11 some of your other posts you've resurrected are from 1 - 3 years old :sad:

Chez 28th February 2013 09:24

Quote:

Originally Posted by Krypto (Post 39741)
@Chez while I appreciate your efforts in posting these solutions, do you actually look at the date that they were made?

Eg. If you look at this thread, you've resurrected a 3 year old post and the member was last seen 09/10/11 some of your other posts you've resurrected are from 1 - 3 years old :sad:

I know but if somebody have this problem can see the solution here ... I do not care when posts are made, maybe somebody looks in this posts and find the solution on their problem:friend::suicide:


All times are GMT +2. The time now is 21:21.

Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.