Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   TBDev (http://www.bvlist.com/forumdisplay.php?f=20)
-   -   Tracker not work. source TbDev09 (http://www.bvlist.com/showthread.php?t=7772)

Rontti 21st March 2012 09:19

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?:wallbash:

AnThRaX360 23rd March 2012 13:14

Post your login.php

Rontti 23rd March 2012 13:17

This is my login.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 = "" . $left . "";
else
$left = "" . $left . "";
return $left;
}
//== End Failed logins

$HTMLOUT = '';

unset($returnto);
if (!empty($_GET["returnto"])) {
$returnto = $_GET["returnto"];
if (!isset($_GET["nowarn"]))
{
$HTMLOUT .= "

{$lang['login_not_logged_in']}

\n";
$HTMLOUT .= "{$lang['login_error']}";
}
}

$value = array('...','...','...','...','...','...');
$value[rand(1,count($value)-1)] = 'X';
$HTMLOUT .= "




Note: You need cookies enabled to log in.


[{$TBDEV['failedlogins']}] Failed logins in a row will ban your ip from access
You have " . left () ." login attempt(s) remaining.



















{$lang['login_username']}
{$lang['login_password']}
Now click the button marked X
";
for ($i=0; $i < count($value); $i++) {
$HTMLOUT .= "";
}
$HTMLOUT .= "
";
if (isset($returnto))
$HTMLOUT .= "\n";
$HTMLOUT .= "

{$lang['login_signup']}{$lang['login_forgot']}";


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

?>

Demon-Cod3rs 23rd April 2015 14:21

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

DND 23rd April 2015 17:19

get the final build from sourceforge.. LOL
after that make sure to edit config.php and announce.php properly..

Demon-Cod3rs 23rd April 2015 18:40

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.

UFFENO1 23rd April 2015 21:17

You realize that the thread is three years old? :gum:

Demon-Cod3rs 23rd April 2015 21:32

not matter what age it is :drink:


All times are GMT +2. The time now is 14:59.

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