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");