Page 8 of 11 FirstFirst ... 567891011 LastLast
Results 71 to 80 of 108

Thread: Start your own public tracker

  1. #71
    rvt's Avatar Poster BT Rep: +1
    Join Date
    Aug 2007
    Posts
    368
    I'm not much in the mood for building a replacement for tbdev.
    Been playing with that idea for far too long already

    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

  2. BitTorrent   -   #72
    dudave's Avatar Poster BT Rep: +70BT Rep +70BT Rep +70BT Rep +70BT Rep +70BT Rep +70BT Rep +70BT Rep +70BT Rep +70BT Rep +70BT Rep +70BT Rep +70BT Rep +70BT Rep +70
    Join Date
    Feb 2007
    Posts
    483
    Quote Originally Posted by rvt View Post

    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?

  3. BitTorrent   -   #73
    rvt's Avatar Poster BT Rep: +1
    Join Date
    Aug 2007
    Posts
    368
    I'll have more after new year. I'll test it on various free hosts before releasing it this time

  4. BitTorrent   -   #74
    wrongun92's Avatar Love Life BT Rep: +8BT Rep +8
    Join Date
    Sep 2007
    Location
    In Front of the PC
    Posts
    438
    does it have to do with the permissions of the folders where the data is stored?

  5. BitTorrent   -   #75
    dudave's Avatar Poster BT Rep: +70BT Rep +70BT Rep +70BT Rep +70BT Rep +70BT Rep +70BT Rep +70BT Rep +70BT Rep +70BT Rep +70BT Rep +70BT Rep +70BT Rep +70BT Rep +70
    Join Date
    Feb 2007
    Posts
    483
    Quote Originally Posted by wrongun92 View Post
    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)

  6. BitTorrent   -   #76
    rvt's Avatar Poster BT Rep: +1
    Join Date
    Aug 2007
    Posts
    368
    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.

  7. BitTorrent   -   #77
    AmpeD's Avatar the o'lol factor BT Rep: +10BT Rep +10
    Join Date
    Aug 2007
    Posts
    672
    any 1 need staff?!?

  8. BitTorrent   -   #78
    dudave's Avatar Poster BT Rep: +70BT Rep +70BT Rep +70BT Rep +70BT Rep +70BT Rep +70BT Rep +70BT Rep +70BT Rep +70BT Rep +70BT Rep +70BT Rep +70BT Rep +70BT Rep +70
    Join Date
    Feb 2007
    Posts
    483
    Quote Originally Posted by rvt View Post
    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

    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
    Last edited by dudave; 12-20-2007 at 08:31 PM.

  9. BitTorrent   -   #79
    rvt's Avatar Poster BT Rep: +1
    Join Date
    Aug 2007
    Posts
    368
    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

  10. BitTorrent   -   #80
    dudave's Avatar Poster BT Rep: +70BT Rep +70BT Rep +70BT Rep +70BT Rep +70BT Rep +70BT Rep +70BT Rep +70BT Rep +70BT Rep +70BT Rep +70BT Rep +70BT Rep +70BT Rep +70
    Join Date
    Feb 2007
    Posts
    483
    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

Page 8 of 11 FirstFirst ... 567891011 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •