Open crosman95 opened 4 years ago
Can you upload your torrent file here to GitHub, so that I can test it locally?
simpletracker does not keep track of any upload/download statistics for users. It's meant to be very minimal.
of course example.zip
I got an "Upload successful" when I uploaded your example torrent file, so there must be something different in our environment that is causing the issue. What version of PHP are you using? Is there anything that could be changing the torrent file when it is being uploaded, e.g PHP magic quoting?
If you want to debug this yourself, you could:
1) Add echo md5($data);
to upload.php and compare it to the md5 sum of the original file (93d1d5407fa94a09dad3bfeaec2d01e1). If that's not the same, then there's something affecting the file as it's being uploaded.
2) Search for return false;
in bencoding.php. Add debugging statements around those returns to figure out what part of the torrent file seems to be broken.
Hi,
When I try upload torrent files ex. 20GB, i got error messages: bencoding error
What is the problem? :( How can I listen users, how many download and upload datas?
Thanks for help! Sorry for my bad english.