Re: Start your own public tracker
I'm not much in the mood for building a replacement for tbdev.
Been playing with that idea for far too long already :P
With all the suing of private sites going on lately, I'm more inclined to build something that doesn't track ratios or IPs, can be run entirely on free (anonymous) webspace and can be setup and run by a novice.
The more trackers there are, the harder it'll be for anyone to stop it.
I currently have a massive dental infection and I'm hopped up on pain pills so anything I post about aims for the thing is unlikely to make sense. My cheek and jaw feel like a balloon right now :lol:
Re: Start your own public tracker
Quote:
Originally Posted by
rvt
With all the suing of private sites going on lately, I'm more inclined to build something that doesn't track ratios or IPs, can be run entirely on free (anonymous) webspace and can be setup and run by a novice.
The more trackers there are, the harder it'll be for anyone to stop it.
that's is exactly what crossed my mind the first
time i saw that thread, and that's why i think it
have the potential to be so great.
after a few days playing with this myself, and i definitly
am a novice, i still can't make it work completly.
i tried several free hosting companies, but i'm still
having a problem with making the torrent work on the
utorrent, i manage to upload it to the site but then it
just show as "failure: database error" on the software.
on other free web hosts i had another problem, after the setup i could register
but never got the email confirmation back, when turning it into an open tracker, i run into a similar problem when uploading, it just
doesnt work on the utorrent and become red and inactive.
any ideas how to fix this?
Re: Start your own public tracker
I'll have more after new year. I'll test it on various free hosts before releasing it this time :P
Re: Start your own public tracker
does it have to do with the permissions of the folders where the data is stored?
Re: Start your own public tracker
Quote:
Originally Posted by
wrongun92
does it have to do with the permissions of the folders where the data is stored?
all the basic files are set to 0644
the folders to 0755
and only the "file" folder is set to 0777 (+ all the files inside it)
Re: Start your own public tracker
You could change the function error in announce.php to something like:
function error($msg){
if($msg==='Database error') $msg.=': '.mysql_error().' '.__LINE__;
header('Content-Type: text/plain; charset=ISO-8859');
header('Pragma: no-cache');
die('d14:failure reason'.strlen($msg).':'.$msg.'e');
}
This would output the message "Database error: " followed by the error as reported by mysql and the line number.
Because the error message may be longer than uT wants to display, you should log it with a packet sniffer. http://www.analogx.com/contents/down...twork/pmon.htm is a nice simple one.
Re: Start your own public tracker
Re: Start your own public tracker
Quote:
Originally Posted by
rvt
You could change the function error in announce.php to something like:
function error($msg){
if($msg==='Database error') $msg.=': '.mysql_error().' '.__LINE__;
header('Content-Type: text/plain; charset=ISO-8859');
header('Pragma: no-cache');
die('d14:failure reason'.strlen($msg).':'.$msg.'e');
}
This would output the message "Database error: " followed by the error as reported by mysql and the line number.
Because the error message may be longer than uT wants to display, you should log it with a packet sniffer.
http://www.analogx.com/contents/down...twork/pmon.htm is a nice simple one.
ok, i did that and it came back this time with:
"Database error: "unknown column 'time' in 'field list' 84"
i have no idea what it means tough :whistling
EDIT: i think i found the line, if it's in the announce.php:
$res=mysql_query('INSERT INTO `peers` SET `ip`='.dbesc($ip).',`port`='.$ann['port'].',`peerid`='.dbesc($hpid).',`hash`='.dbesc($hhash).',`seed`='.($seeder?'1':'0').',`time`='.$time) or error('Database error');
by the way, after i searched on many freehosts, i finally
find another one that seen to work, but again when
uploading a torrent, it's not active on uttorent
this time with the following message:
"too many redirects (http://google.sk)"
the site is located there:
http://octagon.ofingo.com//index.php
Re: Start your own public tracker
I remember that problem now. I forgot to set up a column called time in the peers table, which is what's causing the issue.
Run this SQL query on your database:
ALTER TABLE `peers` ADD `time` INT NOT NULL ;
That should fix up the error.
I wont be able to do any work on this at all till at least new year, my face now looks like the godfathers, with one huge bubble cheek sticking out :lol:
Re: Start your own public tracker
you'r a genious, it's working great now
thanks a lot, and have a great holliday!
i'll be waiting for updates, next year ;)