Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > TBDev
Reply
  #1  
Old 21st March 2012, 09:19
Rontti Rontti is offline
Member
 
Join Date: Sep 2011
P2P
Posts: 6
Default Tracker not work. source TbDev09
why tracker not find login.php? Tracker files are on my server but still not work. http:// ip adress/ login --> messages: ""MySQL Error There appears to be an error with the database."" whereas http:// ip adress/ signup.php works fine Both http://ip adress/invite_signup and http://ip adress/recover work fine.. So, why login.php not work?
Reply With Quote
  #2  
Old 23rd March 2012, 13:14
AnThRaX360 AnThRaX360 is offline
Member
 
Join Date: Mar 2012
P2P
Posts: 10
Default
Post your login.php
Reply With Quote
  #3  
Old 23rd March 2012, 13:17
Rontti Rontti is offline
Member
 
Join Date: Sep 2011
P2P
Posts: 6
Default
This is my login.php

<?php
/**
* http://btdev.net:1337/svn/test/Installer09_Beta
* Licence Info: GPL
* Copyright (C) 2010 BTDev Installer v.1
* A bittorrent tracker source based on TBDev.net/tbsource/bytemonsoon.
* Project Leaders: Mindless,putyn.
**/
require_once(dirname(__FILE__).DIRECTORY_SEPARATOR .'include'.DIRECTORY_SEPARATOR.'bittorrent.php');
require_once(INCL_DIR.'user_functions.php');
require_once(INCL_DIR.'page_verify.php');
dbconn();
global $CURUSER;
if(!$CURUSER){
get_template();
}

ini_set('session.use_trans_sid', '0');

$lang = array_merge( load_language('global'), load_language('login') );
$newpage = new page_verify();
$newpage->create('takelogin');


//== 09 failed logins
function left ()
{
global $TBDEV;
$total = 0;
$ip = sqlesc(getip());
$fail = sql_query("SELECT SUM(attempts) FROM failedlogins WHERE ip=$ip") or sqlerr(__FILE__, __LINE__);
list($total) = mysql_fetch_row($fail);
$left = $TBDEV['failedlogins'] - $total;
if ($left <= 2)
$left = "<font color='red' size='4'>" . $left . "</font>";
else
$left = "<font color='green' size='4'>" . $left . "</font>";
return $left;
}
//== End Failed logins

$HTMLOUT = '';

unset($returnto);
if (!empty($_GET["returnto"])) {
$returnto = $_GET["returnto"];
if (!isset($_GET["nowarn"]))
{
$HTMLOUT .= "<h1>{$lang['login_not_logged_in']}</h1>\n";
$HTMLOUT .= "{$lang['login_error']}";
}
}

$value = array('...','...','...','...','...','...');
$value[rand(1,count($value)-1)] = 'X';
$HTMLOUT .= "<script type='text/javascript' src='scripts/jquery.js'></script>
<script type='text/javascript' src='scripts/jquery.simpleCaptcha-0.2.js'></script>
<script type='text/javascript'>
$(document).ready(function () {
$('#captchalogin').simpleCaptcha();
});
</script>
<form method='post' action='takelogin.php'>
<noscript>Javascript must be enabled to login and use this site</noscript>
<p>Note: You need cookies enabled to log in.</p>
<b>[{$TBDEV['failedlogins']}]</b> Failed logins in a row will ban your ip from access<br />You have <b> " . left () ." </b> login attempt(s) remaining.<br /><br />
<table border='0' cellpadding='5'>
<tr>
<td class='rowhead'>{$lang['login_username']}</td>
<td align='left'><input type='text' size='40' name='username' /></td>
</tr>
<tr>
<td class='rowhead'>{$lang['login_password']}</td>
<td align='left'><input type='password' size='40' name='password' /></td>
</tr>
<!--<tr>
<td>Duration:</td><td align='left'><input type='checkbox' name='logout' value='yes' />Log me out after 15 minutes inactivity</td>
</tr>-->
<tr>
<td class='rowhead' colspan='2' id='captchalogin'></td>
</tr>
<tr>
<td align='center' colspan='2'>Now click the button marked <strong>X</strong></td>
</tr>
<tr>
<td colspan='2' align='center'>";
for ($i=0; $i < count($value); $i++) {
$HTMLOUT .= "<input name=\"submitme\" type=\"submit\" value=\"".$value[$i]."\" class=\"btn\" />";
}
$HTMLOUT .= "</td></tr></table>";
if (isset($returnto))
$HTMLOUT .= "<input type='hidden' name='returnto' value='" . htmlentities($returnto) . "' />\n";
$HTMLOUT .= "</form>
{$lang['login_signup']}{$lang['login_forgot']}";


print stdhead("{$lang['login_login_btn']}") . $HTMLOUT . stdfoot();

?>
Reply With Quote
  #4  
Old 23rd April 2015, 14:21
Demon-Cod3rs Demon-Cod3rs is offline
Banned
 
Join Date: Apr 2015
P2P
Posts: 47
Thumbs up
you need the up to date Installer09 better still get the u232 one as this is the same with all bugs done on it

https://github.com/Bigjoos/U-232
Reply With Quote
  #5  
Old 23rd April 2015, 17:19
DND DND is offline
VIP
 
Join Date: Dec 2008
Posts: 1,241
Default
get the final build from sourceforge.. LOL
after that make sure to edit config.php and announce.php properly..
__________________
Need HELP!? I can install:

  1. Server/VPS (Debian,CentOS,Ubuntu,Fedora, FreeBSD) Optimization and ... + Modules
  2. Webserver Windows/Linux (Apache/Lighttpd/Nginx/Mysql/PhpMyAdmin/SSL) Optimization and ... + Modules
  3. Seedbox Windows/Linux (uTorrent,rTorrent,libTorrent,ruTorrent) + Modules
  4. Multiple source code engines
  5. Linux Server Administration (security, cryptography/encryption, proxy, load balancer, custom ddos firewall)
Reply With Quote
  #6  
Old 23rd April 2015, 18:40
Demon-Cod3rs Demon-Cod3rs is offline
Banned
 
Join Date: Apr 2015
P2P
Posts: 47
Default
if you can get the Installer09 and the u232 nonememcach is the Installer09 lol renamed read up on it lol



Main requirements

Gd2
memcache for V1 and V2
mycrypt
SSL

Recommended

APC

V3 Main requirements

Gd2
memcache
memcached
Mysqli
mycrypt
SSL
Sphinx

What the heck is U-232 ?

It was called Installer09 but we decided to change that.
Well U-232 is a fully modded source code, Its based on Tbdev 09 final so thanks to those guys for the great work on the base code.

It succeeds Codex Installer/Tbdev Installer but this time around its had 15 odd months work done behind the scenes before being released for public usage. The source code is set up well and follows good web standards specifically because the source code is Xhtml valid.

It has a standard version for everyone also V1 which is memcached and V2 is memcached as well with much more development than the previous two. Its simply a free modded source code built for the masses but with a sting in its tail just like its namesake.

The V2 version is efficient and already performing extremely well but its not finished by a long shot, generally you will see that it ticks over @ 0 querys on homepage in between cache expires or events freeing up huge mysql resource, the announce has the user query memcached as well so its going in the correct direction however were continually working on the code and changing or improving stuff. V2 sports modifications that are in no other source code, the memcached routines did not exist either until it was all built.

I will answer most support related questions and install issues on a limited basis. I have my own SVN and forum with every single modification used for this project, and to close i would just like to say a massive thank you goes out to all involved.

You all know who you are and i couldn't have got this far without you all - Sharing is caring.

Set Up Instructions :

First extract pic.rar, javairc.rar, GeoIp.rar for V2 and ensure there not inside an extra folder from being archived then upload the code to your server and chmod - root - avatars - backup - bitbucket - cache and all nested files and folders - dictbreaker - dir_list - uploads - uploadsubs - imdb imdb/cache imdb/images - include - include/settings settings.txt install/extra/config.sample.php install/extra/announce.sample.php - logs - torrents.

Create a new database user and password via phpmyadmin - Point to http://yoursite.com/install/index.php - fill in all the required data - log in - Create a new user on entry named System ensure its userid2 so you dont need to alter the autoshout id in config.php. Add your staff ids to config.php first.

Add your staffnames to config.php to access staffpanel. V1 and V2 Installer is set up for linux if on windows then edit install/functions/database.php - its commented. tcl files are included - include each one one your eggdrop.conf.

Please be aware active support is retained only on the current SVN version which is V3.

Set Up Instructions V3:

First extract pic.rar - javairc.rar and GeoIp.rar and ensure there not inside an extra folder from being archived then upload the code to your server and chmod - cache and all nested files and folders - dir_list - uploads - uploadsubs - imdb imdb/cache imdb/images - include - include/backup - include/settings settings.txt install/config.sample.php install/ann_config.sample.php - logs - torrents.
Create a new database user and password via phpmyadmin - Point to http://yoursite.com/install/index.php - fill in all the required data - log in. As soon as you install do not enter staffpanel until you make the first edit which is cache/staff_settings2.php - replace admin with your username. Create a new user on entry named System ensure its userid2 so you dont need to alter the autoshout function on include/user_functions.php.
Reply With Quote
  #7  
Old 23rd April 2015, 21:17
UFFENO1 UFFENO1 is offline
Senior Member
 
Join Date: Sep 2008
P2P
Posts: 24
Post
You realize that the thread is three years old?
Reply With Quote
  #8  
Old 23rd April 2015, 21:32
Demon-Cod3rs Demon-Cod3rs is offline
Banned
 
Join Date: Apr 2015
P2P
Posts: 47
Thumbs up
not matter what age it is
Reply With Quote
Reply

Tags
source , tbdev09 , tracker , work

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



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