Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   Template Shares (http://www.bvlist.com/forumdisplay.php?f=26)
-   -   TSSE 1.3.9 (http://www.bvlist.com/showthread.php?t=5)

rame 2nd November 2009 20:53

thx daffy, the short tag was off, now its work

very thanks to all you helped me here =)

greetz

robertionut95 27th December 2009 20:06

TS v.1.3.9 INVALID ID
 
So here is my problem,i got this when i invite to register a friend.

Code:

Error

Invalid ID! For security  reason, we have been logged this action.
TS v.1.3.9 FINAL by xam (based on TBDEV) (c) 2009 ****.**

[Executed  in  0.000048 seconds with 0 queries!]

What should i do to solve it?

danield 19th January 2010 22:07

I got 1 problem the user is not connectable

Code:

Connectable: No

valaki 9th June 2010 14:45

thank you very much

outlander 9th October 2010 17:22

on the setup page I get this error why ?

what should I do ?


http://img148.imageshack.us/img148/4628/53817071.png

and what causes this

http://img818.imageshack.us/img818/3636/91906048.png

ultrafranco 9th October 2010 18:08

install php5 on your server and you have to specified a valid user and password for your database

outlander 9th October 2010 18:29

@ultra

where to specified the user and password ?

if you need my functions.php file I'll upload it to you

to show me cause I'm newbie at these sort of things


wMan 9th October 2010 18:30

install
 
Quote:

Originally Posted by outlander (Post 25013)
@ultra

where to specified the user and password ?

if you need my functions.php file I'll upload it to you

to show me cause I'm newbie at these sort of things


on install you need to put all in it password and db name so on

ultrafranco 9th October 2010 18:32

i cant remember were in this source but its shoud be in config.php or something like that replace root with your database username and just after you should have the password

outlander 9th October 2010 18:55

http://img716.imageshack.us/img716/9030/50668778.png

Code:

-- phpMyAdmin SQL Dump
-- version 3.2.4
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: Oct 09, 2010 at 08:45 م
-- Server version: 5.1.41
-- PHP Version: 5.3.1

SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";


/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;

--
-- Database: `localhost`
--

-- --------------------------------------------------------

--
-- Table structure for table `torrent`
--

CREATE TABLE IF NOT EXISTS `torrent` (
  `Browse Torrents` int(1) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `torrent`
--


/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;

Code:

# IMPORTANT: Do not edit below unless you know what you are doing!
if(!defined('IN_INSTALL'))
  die('Hacking attempt!');
 
  function validusername($username)
{
    if ($username == "")
      return false;

    // The following characters are allowed in user names
    $allowedchars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";

    for ($i = 0; $i < strlen($username); ++$i)
      if (strpos($allowedchars, $username[$i]) === false)
        return false;

    return true;
}
function validemail($email) {
    return preg_match('/^[\w.-]+@([\w.-]+\.)+[a-z]{2,6}$/is', $email);
}
function mksecret($len = 20) {
    $ret = "";
    for ($i = 0; $i < $len; $i++)
        $ret .= chr(mt_rand(0, 255));
    return $ret;
}
function get_date_time ()
{
    return date("Y-m-d H:i:s");
}
function sqlerr($file = '', $line = '')
{
  print("" .
    "

SQL Error

\n" .
  "" . mysql_error() . ($file != '' && $line != '' ? "

in $file, line $line

" : "") . "
");
  die;
}
function sqlesc($value) {
    // Stripslashes
  if (get_magic_quotes_gpc()) {
      $value = stripslashes($value);
  }
  // Quote if not a number or a numeric string
  if (!is_numeric($value)) {
      $value = "'" . mysql_real_escape_string($value) . "'";
  }
  return $value;
}
function mkglobal($vars) {
    if (!is_array($vars))
        $vars = explode(":", $vars);
    foreach ($vars as $v) {
        if (isset($_GET[$v]))
            $GLOBALS[$v] = unesc($_GET[$v]);
        elseif (isset($_POST[$v]))
            $GLOBALS[$v] = unesc($_POST[$v]);
        else
            return 0;
    }
    return 1;
}
function unesc($x) {
    if (get_magic_quotes_gpc())
        return stripslashes($x);
    return $x;
}
function safe_email($email) {   
    $email = str_replace("<","",$email);
    $email = str_replace(">","",$email);
    $email = str_replace("\'","",$email);
    $email = str_replace('\"',"",$email);
    $email = str_replace("\\\\","",$email);
    return $email;
}
function check_email ($email) {
    # Check EMail Function v.02 by xam!
    if(ereg("^([A-Za-z0-9]+_+)|([A-Za-z0-9]+\-+)|([A-Za-z0-9]+\.+)|([A-Za-z0-9]+\++))*[A-Za-z0-9]+@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([a-zA-Z0-9\-]+\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$", $email))
        return true;
    else
        return false;
}
function bark($msg) {
    stdmsg("Signup Failed! (See Below)", $msg,false);
    exit;
}
function stdmsg($heading, $text, $htmlstrip = TRUE)
{
    if ($htmlstrip) {
        $heading = htmlspecialchars(trim($heading));
        $text = htmlspecialchars(trim($text));
    }
    print("
\n");
        if ($heading)
            print("

$heading

\n");
    print("
\n");
    print($text . "
\n");
}
function int_check($value) {
    if ( is_array($value) ) {
        foreach ($value as $val) int_check ($val);
    } else {
        if (!is_valid_id($value)) {
            bark("Invalid ID! For security reason, we have been logged this action.");        }           
        else
            return true;
    }
}
function is_valid_id($id)
{
  return is_numeric($id) && ($id > 0) && (floor($id) == $id);
}
  function dbconn()
{
    global $DATABASE;

    if (!@mysql_connect($DATABASE[localhost], $DATABASE[root], $DATABASE[my.pass]))
    {
      switch (mysql_errno())
      {
        case 1040:
        case 2002:
            if ($_SERVER[REQUEST_METHOD] == "GET")
                die("

The server load is very high at the moment. Retrying, please wait...

");
            else
                die("Too many users. Please press the Refresh button in your browser to retry.");
        default:
            die("[" . mysql_errno() . "] dbconn: mysql_connect: " . mysql_error());
      }
    }
    mysql_select_db($DATABASE[localhost])
        or die('dbconn: mysql_select_db: ' + mysql_error());

}
  function step ($text = '', $stepname = '', $stepnumber = '') {
      ?>
     


STEP: (/8)


\n");
}
?>

        }
  function ReadConfig ($configname) {
    if (strstr($configname, ',')) {
        $configlist = explode(',', $configname);
        foreach ($configlist as $key=>$configname) {
            ReadConfig(trim($configname));
        }
    } else {
        $configname = basename($configname);
        $path = ROOT_PATH.'config/'.$configname;
        if (!file_exists($path)) {
            die("File [".htmlspecialchars($configname)."] doesn't exist!.Before the setup starts, please ensure that you have properly configured file and directory access permissions. Please see below.chmod 777 CONFIG (config directory).chmod 777 CONFIG/main (the file which save the main settings).");
        }
        $fp = fopen($path, 'r');
        $content = '';
        while (!feof($fp)) {
            $content .= fread($fp, 102400);
        }
        fclose($fp);
        if (empty($content)) {
            if ($configname == 'XAM') {
                Header("Location: index.php");                 
                die;
            }
            return array();
        }
        $tmp        = @unserialize($content);
        if (empty($tmp)) {
            if ($configname == 'XAM') {
                Header("Location: index.php");                 
                die;               
            }
            die("Cannot read file [".htmlspecialchars($configname)."]!.Before the setup starts, please ensure that you have properly configured file and directory access permissions. Please see below.chmod 777 CONFIG (config directory).chmod 777 CONFIG/main (the file which save the main settings).");
        }
        $GLOBALS[$configname] = $tmp;
        return true;
    }
}

function WriteConfig ($configname, $config) {
    $configname = basename($configname);
    $path = ROOT_PATH.'config/'.$configname;
    if (!file_exists($path) || !is_writable ($path)) {
        die("Cannot read file [".htmlspecialchars($configname)."]!.Before the setup starts, please ensure that you have properly configured file and directory access permissions. Please see below.chmod 777 CONFIG (config directory).chmod 777 CONFIG/main (the file which save the main settings).");
    }
    $data = @serialize($config);
    if (empty($data)) {
        die("Cannot serialize file [".htmlspecialchars($configname)."]Before the setup starts, please ensure that you have properly configured file and directory access permissions. Please see below.chmod 777 CONFIG (config directory).chmod 777 CONFIG/main (the file which save the main settings).");
    }
    $fp = @fopen ($path, 'w');
    if (!$fp) {
        die("Cannot open file [".htmlspecialchars($configname)."] to save info!.Before the setup starts, please ensure that you have properly configured file and directory access permissions. Please see below.chmod 777 CONFIG (config directory).chmod 777 CONFIG/main (the file which save the main settings).");
    }
    $Res = @fwrite($fp, $data);
    if (empty($Res)) {
        die("Cannot save info in file (error in serialisation) [".htmlspecialchars($configname)."] to save info!.Before the setup starts, please ensure that you have properly configured file and directory access permissions. Please see below.chmod 777 CONFIG (config directory).chmod 777 CONFIG/main (the file which save the main settings).");
    }
    fclose($fp);
    return true;
}

function GetVar ($name) {
    if ( is_array($name) ) {
        foreach ($name as $var) GetVar ($var);
    } else {
        if ( !isset($_REQUEST[$name]) )
            return false;
        if ( get_magic_quotes_gpc() ) {
            $_REQUEST[$name] = ssr($_REQUEST[$name]);
        }
        $GLOBALS[$name] = $_REQUEST[$name];
        return $GLOBALS[$name];
    }
}

function ssr ($arg) {
    if (is_array($arg)) {
        foreach ($arg as $key=>$arg_bit) {
            $arg[$key] = ssr($arg_bit);
        }
    } else {
        $arg = stripslashes($arg);
    }
    return $arg;
}
function tr($x,$y,$noesc=0,$relation='') {
    if ($noesc)
        $a = $y;
    else {
        $a = htmlspecialchars($y);
        $a = str_replace("\n", "\n", $a);
    }
    print("
$x$a

ultrafranco 9th October 2010 19:05

you have to edit the file CONF in the conf folder

the best is to make a new install and they will ask you for it

outlander 9th October 2010 19:20

@ultra

I deleted all files and folders inside htdocs folder

now I'll start over

can you guide me please


I'll give you my msn messenger and teamviewer id




DND 10th October 2010 08:36

OMFG
how can it be so hard to install this ?

d6bmg 10th October 2010 11:49

Just follow the instruction written in the package to install it successfully.

outlander 10th October 2010 12:29

I don't know how to do it cause I'm a newbie as said before

and don't know how to connect the database with the script

though I'm trying my best

so if anyone wants to help me, his help will be highly appreciated

if not, then thanks and don't make fun about me

peace


@d6bmg - I did follow the instruction but I don't know how to edit the functions.php

this is the newest error
I've completed the setup of the tracker and got this error


http://img233.imageshack.us/img233/7262/95596372.png

JoeKkerr 30th January 2011 19:14

TS v1.3.9 HTTP 403
 
Hello Every1
A Simple Error I Am Getting While Seeding

Code:

HTTP 403 Error
I Am Using TS v1.3.9 (Which Is Free)

Here's My Site The JoeKkerr's Army

PS : I Asked 4 Help On Templateshares Forums...But All Of Them Including Xam Is A LAME....They Ask Me To Buy A VIP Membership ...If I Want Support

One Of Der Mod Wrote THat "U Will Only Get Help Here For TS v1.3.9,For Other Versions You Must Buy VIP Membership"
But They Themselves Don't Follow It....All Of Dem Are DAMN GOOD FUC*ers :wallbash:

Fynnon 30th January 2011 19:24

Quote:

Originally Posted by JoeKkerr (Post 26647)
A Simple Error I Am Getting While Seeding

Code:

HTTP 403 Error
I Am Using TS v1.3.9 (Which Is Free)

this might be because you use free hosting, those give all kind of strange errors

JoeKkerr 31st January 2011 10:10

Thanx 4 Ur Answer But Can U Pls Explain It To Me Technically :muscle:

Coz I Need To Fix Dat...Thank You

System 5th November 2011 14:51

External scrape....
 
I want to know if she goes to put on external torrents:coffee:

and be posted here


module:sun:

x360zone 5th November 2011 15:04

lol
 
why not just use the more upto date version of ts instead of messing around with older more touchy feely code try the 5.6:shock:

Darkness 5th November 2011 18:06

Quote:

Originally Posted by x360zone (Post 30973)
why not just use the more upto date version of ts instead of messing around with older more touchy feely code try the 5.6:shock:

But men i don`t know how to update :(

firefly007 15th August 2012 17:19

cant unzip
 
Hi there

Im getting an error "cant unzip" in utorrent and Tracker: [Could not parse bencoded data] in rtorrent

Could someone advise me on what to do to fix this...

Cheers

easy62120 15th August 2012 20:33

Hi
We need to fix a hash of torrents via the admin panel

majio 7th April 2013 12:57

Quote:

Originally Posted by firefly007 (Post 36155)
Hi there

Im getting an error "cant unzip" in utorrent and Tracker: [Could not parse bencoded data] in rtorrent

Could someone advise me on what to do to fix this...

Cheers

B U M B !

I have this error to! and i cant fix it! it must be the Server! cause i have installed 5 different trackers! and they say the same thing after a clean setup!

Canīt unzip error in tracker!!! oO no matter what i do tried installing zlib gzip even tho most of it are installed! on my Ubuntu Linux 12.10

Yes i have been searching the web for 2 days now! :sos:

Cant find answers related to this issue! "Canīt unzip" error in tracker!

Been testing different torrent softwares! creating the torrents and seeding and leeching differently! and still the same error! no matter what i do! :P

It actually exist many in the world wide web who ask about this!

"canīt unzip" error in tracker! both ends! for the leecher and the seeder!

In my Tracker webpage! it states its one Peer and one who is Seeding! but still in the tracker announce status! it says "canīt unzip" oO

Getting frustrated!

Thanks

x360zone 7th April 2013 13:41

lol
 
why not just update the thing to 5.6

majio 7th April 2013 13:47

Quote:

Originally Posted by x360zone (Post 40307)
why not just update the thing to 5.6

Thanks for the input!

But i tried the newest! 5.4.1, 5.6 , 7 , 6 and so many.. but the same error comes up in the tracker status ( canīt unzip ) no matter what version i use

Used 1.3.9 since i found it back in 09 ... tweaket and fixed the webpage ripped off so much silly XAM addons from it and it works great!

Took down the Tracker back in 2011

Now its installed on a new Linux Ubuntu 12.10 with a SSD 32Gb Harddrive... installed as LAMP (Linux Apache MySQL PHP)

And i cant get the zip unzip issue fixed? i feel its on the server side ..

Never experienced this error before actually!

Thanks

DND 7th April 2013 13:53

what utorrent version u use? if u want help just pm me

majio 7th April 2013 13:56

i use uTorrent 1.8.3

my brother uses the same! and last night he tried to use Transmission and the same error pops up!

Even when he tried to make a new torrent with transmission and seed it !
same error :wallbash:

Thanks

Bump: I had a Macbook Air first generation!

its old from 2008! i installed MySQL and Apache PHP on it! back then! in 2008 in Los Angeles! yey it worked! as a charm!

Took it back 5 years later! and tried the tracker on it 1.3.9 By XAM HEAVLY Ripped and cleaned by me... AND IT WORKS! as a charm! in April 2013!!

Now i placed that Macbook Air back home...as a media server ...
(not a webserver anymore.)

And build my own Linux Server (LAMP) Ubuntu 12.10 on a 32Gb SSD on a PC

Everything works! putting the same code, script (My Tracker) and my databases ,, everything that was on my macbook air... SQL and the Webpage.

And the story begins! "canīt unzip" issues all the time... :coffee:

Krypto 8th April 2013 00:36

If your sure that you've setup your server correctly and it has all the required dependencies installed and every tracker you have tried gives you the same result, could it be that it just does not like being run from an SSD Drive?

Other option would be to upload the source so that we can check through it.

majio 8th April 2013 00:52

required dependencies is what i wonder the server has.. or need..

does a default list for required dependencies? when we use a tracker script in Linux Ubuntu?

yes the SSD .. i just dont know .. oO

Krypto 8th April 2013 01:01

Do you have another machine that uses a HDD and if not is there anyone close friend/relative that would let you install LAMP or XAMPP to test it?

majio 8th April 2013 01:34

i guess it worked on my macbook air cause it had old MySQL and Apache :P

Bump: errors like this comes and goes

"Deprecated: mysql_escape_string(): This function is deprecated; use mysql_real_escape_string() instead. in /var/www/include/functions.php on line 1680"

Fixed it by changing "mysql_escape_string()" to "mysql_real_escape_string()"
as it states..

so i think that maybe its actually the code (webpage) thats old and needs to be updated ... maybe the announce.php or something.. :P

who em i shitting :lol: everything needs to be updated!

But i only care for the unzip error i get in my tracker announce..

i can zip my webpage or link some files if you guys need to take a look!

Thanks

Krypto 8th April 2013 11:16

Check your PM.

majio 8th April 2013 16:48

i installed xbtit 2.2.2 and everything works!

so i guess the 1.3.9 TS i used is to old for the new MySQL and Apache updates :wallbash:

Dont like the theme on xbtit not simple... tooo wiiide :P but it works seeding and leeching and reporting , correct stats! and no errors!

Like someone stated here in this forums! i wish people stayed on one version of TS .. to nullifie and decode! i mean TS is now sheit! (Mind boggling that xam still makes $$) cause it looks like shit!

1.3.9 TS is the best neutral theme... actually i did much myself on my own ripped apart TS..... simple and neat. whatever :suicide:

Thanks

Krypto 8th April 2013 23:01

Well I installed your source on my Mac which is running Mamp Pro and is using mysql 5.5.25 and php 5.4.4 and it all works including seeding from utorrent 1.6.5(27624) and I don't get the unzip error you receive.

I'll let you know how I get on when I upload it to my Linux machine.

majio 9th April 2013 14:27

My Utorrent is 1.8.3 (29330) 2013

Does that have anything to say?

Looking forward to hear about the install on Linux ! :)

Krypto 9th April 2013 22:45

Well I installed it on my Linux machine which is running the latest version of Mint.

php v5.3.10
mysql v5.5.29
Tramsmission 2.51(13280)

Installed fine, uploaded a torrent and all went well, it seeded fine with no errors showing.

So it's either something with your setup or it just does not like running from your SSD?

majio 9th April 2013 23:47

Thanks for checking that out :)

Gonna install Linux Mint then :D and see if its fails or works there!

yes the SSD ..gonna research that!

Thanks again! :) :) :)

Krypto 10th April 2013 00:23

Remember that if you install Linux Mint that it does not come pre-installed with a LAMP.

If you need info for installing LAMP let me know and I'll post the instructions I use.

majio 10th April 2013 01:19

That would be awesome if you could do that :)

Burning the Mint to a DvD as i type.


All times are GMT +2. The time now is 05:37.

Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.