| ABC, G3 Torrent, XBT - "missing key" error [message #1998] |
Fri, 09 May 2008 22:13  |
Revan  Messages: 125 Registered: April 2007 |
Super-Seeder |
|
|
Ok so here's the fix to the problem I was talking about before:
The problem is simple when you try to use any of those 3 clients (maybe some more out there), you'll get error "missing key"
Here's a fix:
find this line in announce.php
$req = "info_hash:peer_id:!ip:port:uploaded:downloaded:left:!event:!key:!compact:!no_peer_id:!passkey";
and put these before:
if (strpos($passkey, "?"))
{
$tmp = substr($passkey , strpos($passkey , "?"));
$passkey = substr($passkey , 0,strpos($passkey , "?"));
$tmpname = substr($tmp, 1, strpos($tmp, "=")-1);
$tmpvalue = substr($tmp, strpos($tmp, "=")+1);
$$tmpname = $tmpvalue;
}
Should be fixed
*EDIT* maybe it should be better to put $passkey=$_GET["passkey"]; before the if, but it works for me even without it...
[Updated on: Fri, 09 May 2008 22:14] Report message to a moderator
|
|
|
|
|