| ||||||
![]() |
|
#61
|
|||
|
|||
|
i get white page any idea how to sort
or with torrentstrikes i get 1045 access denied user apache@local host now i am sure it is darn plesk i dont normally have issues |
|
#62
|
||||
|
||||
|
look at include/secrets.php and announce.php end find $mysql_host end put detalis
|
|
#63
|
|||
|
|||
|
okay i got 2 different sources in and now i get white page on both
this one is TBDEV = http://sitename.com this one is Torrentstrikes fully modded i had no problem putting them both in before now i seems to get white page with both sources on 2 different domains http://sitename.info - Torrent Strikes any idea how to get the blank page gone on both sites thanks in advance Last edited by NatashaRhea; 16th February 2009 at 20:08. |
|
#64
|
|||
|
|||
|
Uploaders can`t see the Upload section in the menu ? what I can do about this?
I promoted an user to uploader and he can`t see the upload button in the menu Another Problem I have an error..can`t seed the torrents .. tracker error : Tracker sending invalid data: <NULL> I have deleted in announce.php what says in readme.txt but same problem occur. I have replaced the announce.php with announce.php from netmaniack v1.6 and it works ok. Last edited by hellalien; 22nd May 2009 at 18:56. |
|
#65
|
||||
|
||||
|
I`m having problems with seding the torrents, if I use this code in upload.php
Code:
<p><tr><td class=colhead align=center><? print("" .ANNOUNCE_URL. "")?> <b><?= $announce_urls[0] ?>?passkey=<?= $CURUSER['passkey'] ?></b></td></tr></p>
After any refresh i get a new passkey : The tracker's announce url is https://powerstrike2.sytes.net/annou...81a2f5fd82f29f The tracker's announce url is https://powerstrike2.sytes.net/annou...1663d5b20e553e The tracker's announce url is https://powerstrike2.sytes.net/annou...d67be7e2a14c6e So I figured I`ll remove this from upload.php Code:
<p><tr><td class=colhead align=center><? print("" .ANNOUNCE_URL. "")?> <b><?= $announce_urls[0] ?>?passkey=<?= $CURUSER['passkey'] ?></b></td></tr></p>
Code:
<td class=colhead align=center><? print("" .ANNOUNCE_URL. "")?> <b><?= $announce_urls[0] ?></b>
![]() If I leave the upload code the way it is, when i`m uploading a torrents, and try to seed it, it gives me the "Tracker sending invalid data: <NULL>." aldough i`ve removed Code:
/////////////////////Fix Increase ratio using Firefox //////////////////////
$headers = getallheaders();
if (isset($headers["Cookie"]) || isset($headers["Accept-Language"]) || isset($headers["Accept-Charset"]))
err("Anti-Cheater= You cannot use this agent");
///////////////////end of fix//////////////////////
![]() What should i do ? How do you add that code in the database? |
|
#66
|
|||
|
|||
|
simple fix for the max sysop problem
replace this in bittorrent.php Code:
//-----------------------------------------------------------------------------------------------
//---- Max. Sysops and Admins v0.1 by xam
//-----------------------------------------------------------------------------------------------
function maxsysop () {
global $CURUSER;
$lmaxsysop = 4; // How many sysop account on your website? write here..
$lmaxclass = 6; // Max. Class, e.g: mine is: define ("UC_SYSOP", 8);
$lsysopnames = array("SysOp"); // Case sensitive.
$query = mysql_query("SELECT COUNT(id) AS total FROM users WHERE class >= $lmaxclass") or sqlerr(__FILE__, __LINE__); // get total sysops
list($info['maxsysop']) = mysql_fetch_row($query); // list
if ($info['maxsysop'] > $lmaxsysop)
if ($CURUSER['class'] >= $lmaxclass)
if (!in_array($CURUSER["username"], $lsysopnames)){
write_log(htmlstrip($CURUSER['username'])." changed themselves to class ".htmlstrip($CURUSER['class']).". Current page: $_SERVER[PHP_SELF], previous page: $_SERVER[HTTP_REFERER]");
mysql_query("UPDATE users set enabled='no' WHERE id=$CURUSER[id]");
$msg="Fake Account Detected: Username: ."]".$CURUSER["username"]." - UserID: ".$CURUSER["id"]." - UserIP : ".getip();
$subject="Fake account detected, greater than SysOp!";
mysql_query("INSERT INTO messages (poster, sender, receiver, added, msg, subject) VALUES(0, 0, 1, '" . get_date_time() . "', " .sqlesc($msg) . ", ".sqlesc($subject).")") or sqlerr(__FILE__, __LINE__);
stderr("Locked!","We come to believe you are using a fake account, therefore we've logged this action, and disabled your account!"); // die
}
if(get_user_class() >= UC_MODERATOR){
$adminids = array(1,x,x,xx); // put your admins id in here like this (5,1553,956,12414)
if (!in_array($CURUSER['id'], $adminids)){
write_log(htmlstrip($CURUSER['username'])." changed themselves to class ".htmlstrip($CURUSER['class']).". Current page: $_SERVER[PHP_SELF], previous page: $_SERVER[HTTP_REFERER]");
mysql_query("UPDATE users set enabled='no' WHERE id=$CURUSER[id]");
$msg="Fake Account Detected: Username: ."]".$CURUSER["username"]." - UserID: ".$CURUSER["id"]." - UserIP : ".getip();
$subject="Fake account detected, not a Mod+!";
mysql_query("INSERT INTO messages (poster, sender, receiver, added, msg, subject) VALUES(0, 0, 1, '" . get_date_time() . "', " .sqlesc($msg) . ", ".sqlesc($subject).")") or sqlerr(__FILE__, __LINE__);
stderr("Locked!","We come to believe you are using a fake account, therefore we've logged this action, and disabled your account!");
}
}
}
//---------------------------------------------------------------------------------------------------
//---- Max. Sysops and Admins v0.1 by xam
//---------------------------------------------------------------------------------------------------
Code:
//-----------------------------------------------------------------------------------------------
//---- Max. Sysops and Admins v0.1 by xam
//-----------------------------------------------------------------------------------------------
function maxsysop () {
}
//---------------------------------------------------------------------------------------------------
//---- Max. Sysops and Admins v0.1 by xam
//---------------------------------------------------------------------------------------------------
|
|
#67
|
||||
|
||||
|
This tracker is keep sending invalid data: <NULL>.
So: I edited announce.php and I filled up the fields with MySQL details, then I removed "Fix increase ratio using firefox", but the tracker still gave me this error. Does anyone know how to fix this problem?
__________________
* Ubuntu Linux User since 2009 * |
|
#68
|
|||
|
|||
|
Thanks.
__________________
I do not assume any risk.
|
|
#69
|
|||
|
|||
|
Why do I get Whitewood page? inability to home.?
|
![]() |
| Tags |
| edition , netmaniack tbdev source , tbdev , tobbies |
|
|