Bravo List
Register
Go Back   > Bravo List > Torrents Trackers > Free Torrent Source
Reply
  #1  
Old 10-01-10, 19:05
benjaminbih's Avatar
benjaminbih benjaminbih is offline
Hobby Coder
 
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 (08-02-10), Moh.ElBaz (11-01-10)
  #2  
Old 10-01-10, 19:41
Phogo's Avatar
Phogo Phogo is offline
Super MOD
 
Join Date: Jan 2008
United Kingdom
Posts: 869
Default
Working thanks!
Reply With Quote
  #3  
Old 15-04-12, 09:55
rootKID's Avatar
rootKID rootKID is offline
Senior Member
 
Join Date: Jan 2012
P2P
Posts: 81
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 YSE 12 14-01-10 14:57
White Page on Flush Torrents Phogo Free Torrent Source 1 10-01-10 19:05
please help pleeease !! recover.php white screen poila YSE 9 28-07-09 18:37
Flush torrents tunad Community Cafe 3 07-01-09 16:15
[TStrike 0.4]Black & White Theme 3D Hardstylerz Mods & Themes 0 09-12-08 16:29



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