Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > Template Shares
Reply
  #1  
Old 24th February 2009, 15:47
Floppy91 Floppy91 is offline
Member
 
Join Date: Dec 2008
Default
Posts: 12
Exclamation HTTP error 500
Hi all. I'm using TS 5,1 nulled by mrdecoder and I have a problem with data sending.. I used 5.1 version and everything seemed fine until I decided to change a domain name. I installed this engine on the same server again (with another account) and uploaded decoded benc.php file,as I did in previous site... 'cos ioncube is not installed on server..
PHP Code:
<?php

  
if (!defined ('IN_SCRIPT_TSSEv51'))
  {
    exit (
'<font face=\"verdana\" size=\"2\" color=\"darkred\">Error! Direct initialization of this file is not allowed.</font>');
  }

  @
error_reporting (E_ALL & ~E_NOTICE);
  @
ini_set ("error_reporting"E_ALL & ~E_NOTICE);
  @
ini_set ("display_errors""0");
  @
ini_set ("display_startup_errors""0");
  @
ini_set ("ignore_repeated_errors""1");
  @
ini_set ("log_errors""1");
  
function 
benc($obj) {
    if (!
is_array($obj) || !isset($obj['type']) || !isset($obj['value']))
        return;
    
$c $obj['value'];
    switch (
$obj['type']) {
        case 
'string':
            return 
benc_str($c);
        case 
'integer':
            return 
benc_int($c);
        case 
'list':
            return 
benc_list($c);
        case 
'dictionary':
            return 
benc_dict($c);
        default:
            return;
    }
}
function 
benc_str($s) {
    return 
strlen($s) . ':'.$s;
}
function 
benc_int($i) {
    return 
'i' $i 'e';
}
function 
benc_list($a) {
    
$s 'l';
    foreach (
$a as $e) {
        
$s .= benc($e);
    }
    
$s .= 'e';
    return 
$s;
}
function 
benc_dict($d) {
    
$s 'd';
    
$keys array_keys($d);
    
sort($keys);
    foreach (
$keys as $k) {
        
$v $d[$k];
        
$s .= benc_str($k);
        
$s .= benc($v);
    }
    
$s .= 'e';
    return 
$s;
}
function 
bdec_file($f$ms) {
    
$fp fopen($f'rb');
    if (!
$fp)
        return;
    
$e fread($fp$ms);
    
fclose($fp);
    return 
bdec($e);
}
function 
bdec($s) {
    if (
preg_match('/^(\d+):/'$s$m)) {
        
$l $m[1];
        
$pl strlen($l) + 1;
        
$v substr($s$pl$l);
        
$ss substr($s0$pl $l);
        if (
strlen($v) != $l)
            return;
        return array(
'type' => 'string''value' => $v'strlen' => strlen($ss), 'string' => $ss);
    }
    if (
preg_match('/^i(\d+)e/'$s$m)) {
        
$v $m[1];
        
$ss 'i' $v 'e';
        if (
$v === '-0')
            return;
        if (
$v[0] == '0' && strlen($v) != 1)
            return;
        return array(
'type' => 'integer''value' => $v'strlen' => strlen($ss), 'string' => $ss);
    }
    switch (
$s[0]) {
        case 
'l':
            return 
bdec_list($s);
        case 
'd':
            return 
bdec_dict($s);
        default:
            return;
    }
}
function 
bdec_list($s) {
    if (
$s[0] != 'l')
        return;
    
$sl strlen($s);
    
$i 1;
    
$v = array();
    
$ss 'l';
    for (;;) {
        if (
$i >= $sl)
            return;
        if (
$s[$i] == 'e')
            break;
        
$ret bdec(substr($s$i));
        if (!isset(
$ret) || !is_array($ret))
            return;
        
$v[] = $ret;
        
$i += $ret['strlen'];
        
$ss .= $ret['string'];
    }
    
$ss .= 'e';
    return array(
'type' => 'list''value' => $v'strlen' => strlen($ss), 'string' => $ss);
}
function 
bdec_dict($s) {
    if (
$s[0] != 'd')
        return;
    
$sl strlen($s);
    
$i 1;
    
$v = array();
    
$ss 'd';
    for (;;) {
        if (
$i >= $sl)
            return;
        if (
$s[$i] == 'e')
            break;
        
$ret bdec(substr($s$i));
        if (!isset(
$ret) || !is_array($ret) || $ret['type'] != 'string')
            return;
        
$k $ret['value'];
        
$i += $ret['strlen'];
        
$ss .= $ret['string'];
        if (
$i >= $sl)
            return;
        
$ret bdec(substr($s$i));
        if (!isset(
$ret) || !is_array($ret))
            return;
        
$v[$k] = $ret;
        
$i += $ret['strlen'];
        
$ss .= $ret['string'];
    }
    
$ss .= 'e';
    return array(
'type' => 'dictionary''value' => $v'strlen' => strlen($ss), 'string' => $ss);
}
?>
And now I can't seed files, because uTorrens throws an HTML 500 error.
Double checked banned clients which are turned off....
I don't know where I've made a misstake, because old tracker works perfectly on another account..
PLEASE HELP..:sorry:
Reply With Quote
  #2  
Old 24th February 2009, 15:54
aser's Avatar
aser aser is offline
Member
 
Join Date: Feb 2009
Russia
Posts: 11
Default
I was on a torrent which had been loaded with an encrypted benc.php. Back benc.php bug disappeared.
Reply With Quote
  #3  
Old 24th February 2009, 16:01
Floppy91 Floppy91 is offline
Member
 
Join Date: Dec 2008
Default
Posts: 12
Default
Quote:
Originally Posted by aser View Post
I was on a torrent which had been loaded with an encrypted benc.php. Back benc.php bug disappeared.
I can't upload encrypted file, because ioncube is not installed...
Reply With Quote
  #4  
Old 24th February 2009, 16:47
aser's Avatar
aser aser is offline
Member
 
Join Date: Feb 2009
Russia
Posts: 11
Default
and no access to php.ini?
Reply With Quote
  #5  
Old 24th February 2009, 16:51
wMan wMan is offline
Banned
 
Join Date: Feb 2008
P2P
Posts: 1,433
Default
php.ini file ask your server to enable things or do a info.php to find out things about your site/server
Reply With Quote
  #6  
Old 24th February 2009, 17:00
Floppy91 Floppy91 is offline
Member
 
Join Date: Dec 2008
Default
Posts: 12
Default
Quote:
php.ini file ask your server to enable things or do a info.php to find out things about your site/server
Yeah, I know , but is there any other options?
I mean, why does my other tracker work?
Reply With Quote
  #7  
Old 24th February 2009, 17:19
aser's Avatar
aser aser is offline
Member
 
Join Date: Feb 2009
Russia
Posts: 11
Default
Quote:
Originally Posted by Floppy91 View Post
Yeah, I know , but is there any other options?
I mean, why does my other tracker work?
You can try to restart all Torrents tracker. But I do not know what the result will be. Yes, and it vryatli enforceable. By the same likely Torrents will have to restart and your users. Sorry for my English. I am in it is not strong.
Reply With Quote
  #8  
Old 24th February 2009, 17:59
Floppy91 Floppy91 is offline
Member
 
Join Date: Dec 2008
Default
Posts: 12
Default
Quote:
Originally Posted by aser View Post
You can try to restart all Torrents tracker. But I do not know what the result will be. Yes, and it vryatli enforceable. By the same likely Torrents will have to restart and your users. Sorry for my English. I am in it is not strong.
That's OK, I'm not a good speaker too. I think there is no other way to understand each other except if you are able to talk Russian or Lithuanian :D
So I think I should copy all my ftp files from the working account and try to upload one by one to my new hosting account... However I need more advice from intelligent people...
Reply With Quote
  #9  
Old 24th February 2009, 18:05
aser's Avatar
aser aser is offline
Member
 
Join Date: Feb 2009
Russia
Posts: 11
Default
Quote:
Originally Posted by Floppy91 View Post
That's OK, I'm not a good speaker too. I think there is no other way to understand each other except if you are able to talk Russian or Lithuanian :D
So I think I should copy all my ftp files from the working account and try to upload one by one to my new hosting account... However I need more advice from intelligent people...
Yes the Russian I do not have problems. Not very appropriate here to write in Russian, please write to PM
__________________
Sorry for my English.
Reply With Quote
  #10  
Old 24th February 2009, 19:59
wMan wMan is offline
Banned
 
Join Date: Feb 2008
P2P
Posts: 1,433
Default
well im sure error 400,404,500 is when a certain file isnt present etc
Reply With Quote
Reply

Tags
500 , error , help http 500 error , http

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
http error 406 roby09 TBDev 16 20th March 2010 21:39
HTTP Error 400 elvira Free Torrent Source 1 23rd December 2009 16:16
help error, http error and invalid passkey thereal Torrent Strike 0 9th April 2009 02:07
help please :( http error 406 torrentim2 Template Shares 4 26th September 2008 16:29
HTTP Error 500 kenzo Template Shares 14 6th September 2008 10:58



All times are GMT +2. The time now is 14:40. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.