Thread: Announce issue
View Single Post
  #1  
Old 25th July 2011, 21:58
KustomizeR KustomizeR is offline
Senior Member
 
Join Date: May 2008
Posts: 26
Default [ FIXED] U-232 Announce issue
Hello!

I' using the not-memcached version of U-232 and I am receiving the error

Code:
Tracker: [Failure reason "torrent not registered with this tracker CODE 2"]
when I am trying to seed.
I did no modifications to the original file.
I c have compared the database info_hash with the hash from the client and they have different lenghts:
database: 20 chars
client: 32 chars

Any Ideas?
Should i chnge the varchar of the db column from 20 to 32?

This is the announce part with the error:

Code:
$res = mysql_query("SELECT torrents.id, torrents.banned, torrents.free, torrents.seeders + torrents.leechers AS numpeers, torrents.added AS ts, freeslots.free AS freeslot, freeslots.double AS doubleslot FROM torrents LEFT JOIN freeslots ON (torrents.id=freeslots.tid AND freeslots.uid=".sqlesc($user['id']).") WHERE info_hash = ".sqlesc($info_hash));//" . hash_where("info_hash", $info_hash));

$torrent = mysql_fetch_assoc($res);
if (!$torrent)
    err("torrent not registered with this tracker CODE 2");
Click the image to open in full size. Click the image to open in full size.

Last edited by KustomizeR; 26th July 2011 at 03:14.
Reply With Quote