Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > Free Torrent Source
Reply
  #1  
Old 10th January 2010, 19:05
benjaminbih benjaminbih is offline
Senior Member
 
Join Date: Jul 2008
Bosnia-Herzegovina
Posts: 70
Default [FIX] FTS 1.1 white page on flush ghost torrents
First open userdetails.php and find:
PHP Code:
        print("<h2>".str37." <a href=page.php?type=takeflush.php&id=$CURUSER[id]>".str38."</a></h2>\n"); 
change it to:
PHP Code:
        print("<h2>".str37." <a href=page.php?type=takeflush&id=$CURUSER[id]>".str38."</a></h2>\n"); 
Then open page.php and find:
PHP Code:
if (get_user_class() >= UC_MODERATOR OR $CURUSER[id] == "$id")
{  
   
$deadtime deadtime();
   
sql_query("DELETE FROM peers WHERE last_action < FROM_UNIXTIME($deadtime) AND userid=" $id);
   
$effected mysql_affected_rows();

   
stderr('Success'"$effected ghost torrent" . ($effected 's' '') . 'where sucessfully cleaned.');

replac it by:

PHP Code:
if (get_user_class() >= UC_MODERATOR OR $CURUSER[id] == "$id")
{  
   
$deadtime deadtime();
   
sql_query("DELETE FROM peers WHERE last_action < FROM_UNIXTIME($deadtime) AND userid=" $id);
   
$effected mysql_affected_rows();
   if(
$effected == 0){
   
header("Refresh: 2; $DEFAULTBASEURL/userdetails.php?id=$id");
   echo 
"".stdhead("Redirecting")."".stdmsg("Redirect","Please wait we redirecting you, because you have no ghost torrents....")."".stdfoot()."";
   }else{
   
header("Refresh: 4; $DEFAULTBASEURL/userdetails.php?id=$id");
   echo 
"".stdhead("Redirecting")."".stdmsg("Success""$effected ghost torrent" . ($effected "s" "") . "where sucessfully cleaned. Please wait, we redirect you back")."".stdfoot()."";
   }

Reply With Quote
The Following 2 Users Say Thank You to benjaminbih For This Useful Post:
Daz (8th February 2010), Moh.ElBaz (11th January 2010)
  #2  
Old 10th January 2010, 19:41
Phogo's Avatar
Phogo Phogo is offline
VIP
 
Join Date: Jan 2008
United Kingdom
Posts: 902
Default
Working thanks!
Reply With Quote
  #3  
Old 15th April 2012, 09:55
rootKID rootKID is offline
VIP
 
Join Date: Jan 2012
P2P
Posts: 99
Cool nice...
nice dudes, thanks alot! :),.
Reply With Quote
Reply

Tags
11 , fix , flush , fts , ghost , page , torrents , white

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
Ghost torrents Genkai Yuna Scatari Edition (YSE) 12 14th January 2010 14:57
White Page on Flush Torrents Phogo Free Torrent Source 1 10th January 2010 19:05
please help pleeease !! recover.php white screen poila Yuna Scatari Edition (YSE) 9 28th July 2009 18:37
Flush torrents tunad Community Cafe 3 7th January 2009 16:15
[TStrike 0.4]Black & White Theme 3D Hardstylerz Mods & Themes 0 9th December 2008 16:29



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