Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > TBDev
Reply
  #1  
Old 11th February 2010, 03:54
franky2008's Avatar
franky2008 franky2008 is offline
Senior Member
 
Join Date: Nov 2008
P2P
Posts: 22
Default 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/>
<?
Reply With Quote
  #2  
Old 11th February 2010, 14:22
Phogo's Avatar
Phogo Phogo is offline
VIP
 
Join Date: Jan 2008
United Kingdom
Posts: 902
Default
Nothing to do with that mate. check your cookies
Reply With Quote
  #3  
Old 11th February 2010, 16:24
franky2008's Avatar
franky2008 franky2008 is offline
Senior Member
 
Join Date: Nov 2008
P2P
Posts: 22
Default 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 ?
Reply With Quote
  #4  
Old 27th February 2013, 11:16
Chez's Avatar
Chez Chez is offline
Senior Member
 
Join Date: Sep 2011
P2P
Posts: 278
Default
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]?>
__________________
http://www.bvlist.com/images/avatars/signaturepics/sigpic16443_2.gif
Reply With Quote
  #5  
Old 28th February 2013, 01:27
Krypto Krypto is offline
Retired from BVList
 
Join Date: Jan 2008
P2P
Posts: 510
Question
@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
Reply With Quote
  #6  
Old 28th February 2013, 09:24
Chez's Avatar
Chez Chez is offline
Senior Member
 
Join Date: Sep 2011
P2P
Posts: 278
Default
Quote:
Originally Posted by Krypto View Post
@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
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
__________________
http://www.bvlist.com/images/avatars/signaturepics/sigpic16443_2.gif
Reply With Quote
Reply

Tags
logout

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Logout Problem devilsyard Community Cafe 3 11th November 2009 03:33



All times are GMT +2. The time now is 17:31. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.