Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   BT.Manager (phpMyBitTorrent) (http://www.bvlist.com/forumdisplay.php?f=23)
-   -   phpMyBitTorrent 2.0.4 Gold (installer fix) (http://www.bvlist.com/showthread.php?t=7040)

Big 28th September 2011 16:34

phpMyBitTorrent 2.0.4 Gold (installer fix)
 
1 Attachment(s)
Original source code had a few installation errors, have been corrected here.
Some files marked read-only must be opened, htaccess issues and one bug in phpBB3/install, that's all.
Now installation runs like a dream, just follow carefully the setting-up instructions.

xDev 28th September 2011 17:50

Quote:

Originally Posted by Big (Post 30326)
Original source code had a few installation errors, have been corrected here.
Some files marked read-only must be opened, htaccess issues and one bug in phpBB3/install, that's all.
Now installation runs like a dream, just follow carefully the setting-up instructions.

Very nice but can you set members to staff and thay will have there staff tools as in the old phpMyBitTorrent 2.0.4 Gold you can not hve staff as thay never hed any tools go to give them tools do not show for staff? because joe not willing to give any fix for staff tools so staff can see them and use them

joeroberts 29th September 2011 00:16

Quote:

Originally Posted by Developer (Post 30327)
Very nice but can you set members to staff and thay will have there staff tools as in the old phpMyBitTorrent 2.0.4 Gold you can not hve staff as thay never hed any tools go to give them tools do not show for staff? because joe not willing to give any fix for staff tools so staff can see them and use them

I told you how to fix it you just need to add a link to modcp.php in the links bar on what ever theme you use

PHP Code:

if($user->moderator)
{
echo 
"<a href=\"./modcp.php\">Moderator panel</a>";



ISTIAK 3rd June 2015 11:19

how to install phpMyBitTorrent? pls . thanks in advance :wallbash:

joeroberts 3rd June 2015 12:36

yoursite/setup/index.php

there is a read me included

deanmkd123 4th June 2015 01:08

I followed instructions in document, and installed phpmybittorrent and phpBB3 forum. but when try to open http://site.com/tracker/index.php (because my tracker is instaled in subfolder) give me only BLANK screen.. So where is the problem? :sad:

After turn back original unmodified files, show me this error: "There seems to be a problem with the database server, sorry for the inconvenience. We should be back shortly." I must modify the codes because i dont start to install, every time give me blank screen using this tutorial.

joeroberts 4th June 2015 03:53

try these files
http://btmanager.org/index.php?topic=6.msg1648#msg1648

deanmkd123 4th June 2015 11:54

Quote:

Originally Posted by joeroberts (Post 47085)

Tryed with latest upload from Coder, but give me various SQL errors when tryed to install. Tryed with setup folder from repack-2 version, install succesfully, but after instalation give me blank screen.. So ? Latest stable version have problem with SQL instalation files. :mad:

Configuration to install:

Debian
Apache latest version
MySQL latest version.

joeroberts 4th June 2015 12:37

Quote:

Originally Posted by deanmkd123 (Post 47088)
Tryed with latest upload from Coder,

#1 I am the coder
#2 the Files I linked you to are updated Files with some fixes in it
#3 pHpMyBitTorrent is not made to run on PHP over 5.3
#3 Turn on error reporting and display in php.ini

deanmkd123 4th June 2015 22:59

I have:

Server version: 5.5.43-0+deb7u1
MySQL client version: 5.5.43

I downloaded updated files, but still give me blank screen on install.. Need to modify the code in setup/index.php to start instaling..

When start to instalation, give me SQL syntax error...

So source is not updated at all.. So repack2 version is a good one?

joeroberts 5th June 2015 12:19

what is the SQL syntax error you get?
Have you inabled error reporting in your (SERVER settings)
Have You enabled display errors in your (SERVER settings)?

Bump: also try changing your setup/index.php with this


Code:

/*
*----------------------------phpMyBitTorrent V 2.0.5---------------------------*
*--- The Ultimate BitTorrent Tracker and BMS (Bittorrent Management System) ---*
*--------------  Created By Antonio Anzivino (aka DJ Echelon)  --------------*
*-------------------  And Joe Robertson (aka joeroberts)  -------------------*
*-------------              http://www.p2pmania.it              -------------*
*------------ Based on the Bit Torrent Protocol made by Bram Cohen ------------*
*-------------              http://www.bittorrent.com            -------------*
*------------------------------------------------------------------------------*
*------------------------------------------------------------------------------*
*--  This program is free software; you can redistribute it and/or modify  --*
*--  it under the terms of the GNU General Public License as published by  --*
*--  the Free Software Foundation; either version 2 of the License, or      --*
*--  (at your option) any later version.                                    --*
*--                                                                          --*
*--  This program is distributed in the hope that it will be useful,        --*
*--  but WITHOUT ANY WARRANTY; without even the implied warranty of        --*
*--  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the          --*
*--  GNU General Public License for more details.                          --*
*--                                                                          --*
*--  You should have received a copy of the GNU General Public License      --*
*--  along with this program; if not, write to the Free Software            --*
*-- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA --*
*--                                                                          --*
*------------------------------------------------------------------------------*
*------              ©2010 phpMyBitTorrent Development Team              ------*
*-----------              http://phpmybittorrent.com              -----------*
*------------------------------------------------------------------------------*
*-------------------Saturday, January 23, 2010 4:02 PM ------------------------*
*/
error_reporting(E_ALL ^ E_NOTICE);
if (defined('IN_PMBT'))die ("You can't include this file");
define("IN_PMBT",true);

if (function_exists('ob_gzhandler') && !ini_get('zlib.output_compression'))
        ob_start('ob_gzhandler');
    else
        ob_start();
ob_implicit_flush(0);

define("_VERSION","2.0.4");

if (!ini_get("register_globals")) {
    if (phpversion() < '5.4') {
        @import_request_variables('GPC');
    }else{
        @extract($_REQUEST, EXTR_PREFIX_SAME,'GPS');
    }
}


if (!isset($step) OR !is_numeric($step)) $step = 0;

/*
Operating System Analysis
Useful for setup help
*/
if (strtoupper(substr(PHP_OS,0,3)) == "WIN") $os = "Windows";
else $os = "Linux";


require_once("graphics/graphics.php");

echo "\n";
echo "\n";
echo "\n";
echo "\n";
echo "phpMyBitTorrent - Setup\n";
echo "\n";

if (isset($language) AND $language != "" AND is_readable("language/".$language.".php")) {
        require_once("language/".$language.".php");
        $langpic = "language/".$language.".png";
} else $langpic = "graphics/blank.gif";

echo "\n";
echo "\n";
echo <<
EOF;

echo "\n";


echo "\n";
echo "
\n";
echo "\n";
echo "\n\n";
echo "\n\n\n";
echo "
";
makeheader();
echo "
\n";


#HERE COMES THE SCRIPT
echo "\n";
echo "\n\n";
echo "
\n";
#LEFT SIDE

$stepimg = stepimage();
$stepimg = "graphics/".$stepimg;

echo "\n";
echo "\n";
echo "\n";
echo "\n";
echo "\n";
echo "\n";
echo "\n";
echo "\n";
echo "\n";
echo "\n";
echo "\n";
echo "\n";
echo "\n";
echo "
\"Language\"
\"Current
\"Operating
";

echo "
\n";

echo "
\n";
if (isset($language)) echo "\n";


#INTERFACE HERE
require_once("steps/".$step.".php");

echo "
\n";
echo "
\n";

/*
DEBUG INFORMATION

echo "

Debug: GET = ";
print_r($_GET);
echo " POST = ";
print_r($_POST);
echo "

";
*/

echo "
";
makefooter();
echo "
\n";
echo "\n";
echo "";
ob_end_flush();
die();
?>


deanmkd123 5th June 2015 14:16

Tryed your code but give me error.. So tryed to install on Debian..

http://i.imgur.com/WaczZF4.png?1

And

instalation tables are ok, based on text that show me..

Code:

hecking files...OK

Creating table addedrequests...OK

Creating table hit_n_run...OK

Creating table admin_forum...OK

Creating table affiliates...OK

Creating table avps...OK

Creating table bans...OK

Creating table blackjack...OK

Creating table bonus...OK

Creating table bonus_points...OK

Creating table cards...OK

Creating table casino...OK

Creating table casino_bets...OK

Creating table casino_config...OK

Creating table categories...OK

Creating table client_ban...OK

Creating table comments...OK

Creating table comments_notify...OK

Creating table complaints...OK

Creating table config...OK

Creating table countries...OK

Creating table download_completed...OK

Creating table faq...OK

Creating table files...OK

Creating table filter...OK

Creating table flashscores...OK

Creating table helpdesk...OK

Creating table help_category...OK

Creating table help_responce...OK

Creating table img_bucket...OK

Creating table levels...OK

Creating table log...OK

Creating table lottery_config...OK

Creating table modscredits...OK

Creating table offers...OK

Creating table offervotes...OK

Creating table offres_config...OK

Creating table online_users...OK

Creating table paypal...OK

Creating table peers...OK

Creating table pollanswers...OK

Creating table polls...OK

Creating table privacy_backup...OK

Creating table privacy_file...OK

Creating table privacy_global...OK

Creating table private_messages...OK

Creating table private_messages_blacklist...OK

Creating table private_messages_bookmarks...OK

Creating table ratings...OK

Creating table ratiowarn...OK

Creating table ratiowarn_config...OK

Creating table requests...OK

Creating table requist_config...OK

Creating table rules...OK

Creating table search_text...OK

Creating table seeder_notify...OK

Creating table shouts...OK

Creating table shout_config...OK

Creating table smiles...OK

Creating table snatched...OK

Creating table thanks...OK

Creating table tickets...OK

Creating table time_offset...OK

Creating table torrents...OK

Creating table trackers...OK

Creating table userautodel...OK

Creating table users...OK

Creating table youtubevideo...OK

Installing default smileys...OK

Installing default smileys...OK

Creating default categories...OK

Adding Bonuse ConfigsOK

Creating Bonuse SettingsOK

Adding Image Bucket ConfigsOK

Creating Black Jack CardsOK

Creating default Casino ConfigsOK

Creating Country FlagsOK

Creating default Forum ConfigsOK

Creating default Lottery ConfigsOK

Creating default Offers ConfigsOK

Creating Time zone OffsetOK

Creating Help CatigoriesOK

Creating New Default Level'sOK

Creating Default PointsOK

Creating Default User PruneOK

Creating Hit and Run configsOK

Creating Default Shout settingsOK

Database Installation has been successfully completed. Now you can configure your tracker according to your preferences.

instalation is complete and i get:

Code:

Installation Completed!

 

Congratulations! phpMyBitTorrent has been finally installed and configured. Now you have just to run your brand new Tracker and start sharing files! Before starting, keep in mind the following:

Please delete the setup directory! For security reasons, phpMyBitTorrent will not work until the directory is deleted.

Use the account you just created to set your Tracker preferences and learn how to use them best to create your peer-to-peer community. Don't tell anybody your Administrator Password.

Please remember to run often the Database Optimizator, an important tool to keep the Tracker efficient when server load grows.

If you need help from trusted users to manage the Tracker, please remember that Moderators can freely manage Torrents without being able to enter Administration Panel.

Finally, remember that culture exchange is freedom, but piracy is a crime.

If you like phpMyBitTorrent, why don't you make a small donazione to who wrote it in order to keep the Project alive?

But when try to enter the tracker http://192.168.88.252/tracker/index.php get blank page.. Why??

This is my index.php source code..

Code:

/*
*----------------------------phpMyBitTorrent V 2.0.5---------------------------*
*--- The Ultimate BitTorrent Tracker and BMS (Bittorrent Management System) ---*
*--------------  Created By Antonio Anzivino (aka DJ Echelon)  --------------*
*-------------------  And Joe Robertson (aka joeroberts)  -------------------*
*-------------              http://www.p2pmania.it              -------------*
*------------ Based on the Bit Torrent Protocol made by Bram Cohen ------------*
*-------------              http://www.bittorrent.com            -------------*
*------------------------------------------------------------------------------*
*------------------------------------------------------------------------------*
*--  This program is free software; you can redistribute it and/or modify  --*
*--  it under the terms of the GNU General Public License as published by  --*
*--  the Free Software Foundation; either version 2 of the License, or      --*
*--  (at your option) any later version.                                    --*
*--                                                                          --*
*--  This program is distributed in the hope that it will be useful,        --*
*--  but WITHOUT ANY WARRANTY; without even the implied warranty of        --*
*--  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the          --*
*--  GNU General Public License for more details.                          --*
*--                                                                          --*
*--  You should have received a copy of the GNU General Public License      --*
*--  along with this program; if not, write to the Free Software            --*
*-- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA --*
*--                                                                          --*
*------------------------------------------------------------------------------*
*------              В©2010 phpMyBitTorrent Development Team              ------*
*-----------              http://phpmybittorrent.com              -----------*
*------------------------------------------------------------------------------*
*-------------------Saturday, January 23, 2010 4:02 PM ------------------------*
*/
if (defined('IN_PMBT'))die ("You can't include this file");
define("IN_PMBT",true);
include("header.php");
////////////////////////////MOD ARCADE/////////////////////
$player = getuserid($btuser);
if(isset($_GET["act"]) AND $_GET["act"]=="Arcade")
{
  if($_POST['gname'] == "asteroids")
  {
 $game = 1;
 $level = 1;
 $score = $_POST['score'];
  }
  if($_POST['gname'] == "breakout")
  {
 $game = 2;
 $level = 1;
 $score = $_POST['gscore'];
  }
  if($_POST['gname'] == "hexxagon")
  {
 $game = 3;
 $level = 1;
 $score = $_POST['gscore'];
  }
  if($_POST['gname'] == "invaders")
  {
 $game = 4;
 $level = 1;
 $score = $_POST['score'];
  }
  if($_POST['gname'] == "moonlander")
  {
 $game = 5;
 $level = 1;
 $score = $_POST['gscore'];
  }
  if($_POST['gname'] == "pacman")
  {
 $game = 6;
 $level = 1;
 $score = $_POST['gscore'];
  }
  if($_POST['gname'] == "psol")
  {
 $game = 7;
 $level = 1;
 $score = $_POST['gscore'];
  }
  if($_POST['gname'] == "simon")
  {
 $game = 8;
 $level = 1;
 $score = $_POST['gscore'];
  }
  if($_POST['gname'] == "snake")
  {
 $game = 9;
 if($_POST['levelName'] == "LEVEL: SLUG")
 {
  $level = 1;
 }
 if($_POST['levelName'] == "LEVEL: WORM")
 {
  $level = 2;
 }
 if($_POST['levelName'] == "LEVEL: PYTHON")
 {
  $level = 3;
 }
 $score = $_POST['score'];
  }
  if($_POST['gname'] == "tetris")
  {
 $game = 10;
 $level = $_POST['level'];
 $score = $_POST['gscore'];
  }
$db->sql_query("INSERT INTO `".$db_prefix."_flashscores` ( `ID` , `game` , `user` , `level` , `score`, `date`) VALUES ( '', '".$game."', '".$player."', '".$level."', '".$score."', '" . get_date_time() . "');") OR DIE(MySQL_ERROR());
$urlc="flashscores.php";
 print("\n");
 die;
 
}
if (isset($has_newpm) AND $has_newpm) {
        OpenTable2(_btpm);
        echo "

"._btyougotpm."

";
        CloseTable2();

}
OpenTable(_btindex_video);
$query = "SELECT * FROM ".$db_prefix."_youtubevideo ORDER BY addtime";
$sql = $db->sql_query($query);
echo "\n";
echo"\n";
while ($row = $db->sql_fetchrow($sql)) {
$link = str_replace("http://youtube.com/v/","",$row["link"]);
$name = $row['name'];
echo"\n";
}
echo"\n
\n\n\"".$name."\"\n\n\n

$name

\n
\n";
echo "\n";
CloseTable();
if ($user->user) {
include ("torrents-needseed.php");
}
if ($user->user AND $user->can_shout =="true")
{
include ("blocks/shoutbox.php");
}

if ($welcome_message != ""){
OpenTable(_btsitenews, '726');
$welcome_message = format_comment($welcome_message);
parse_smiles($welcome_message);
echo "
".$welcome_message."
";
CloseTable();
}
echo "";
OpenTable(_btinfotracker, '728');
$legend = '';
$sqlev = "SELECT name, color FROM ".$db_prefix."_levels";
$reslev = $db->sql_query($sqlev);
        while ($rowlev = $db->sql_fetchrow($reslev)) {
                $legend .=''.$rowlev['name'].' ';
}
$legend .= '
';
$db->sql_freeresult($reslev);
$sql = "SELECT O.id AS id, O.page AS page, UNIX_TIMESTAMP(O.logged_in) AS logged_in, IF(U.name IS NULL, U.username, U.name) as name, U.donator AS donator, U.warned AS warned, U.can_do as can_do, U.level AS level, U.Show_online AS Show_online, U.uploaded as uploaded, U.downloaded AS downloaded FROM ".$db_prefix."_online_users O LEFT JOIN ".$db_prefix."_users U ON O.id = U.id WHERE UNIX_TIMESTAMP(NOW()-U.lastlogin) < 1800 AND U.Show_online = true;";
$res = $db->sql_query($sql);
$tot = $db->sql_numrows($res);
$i = 1;
$simple = "\n

";
$advanced = "

\n";
$advanced .= "\n\n";
$user_now = $db->sql_numrows($res);
if ($user_now == 0) $simple .= _btnouseronline;
else {
        while ($row = $db->sql_fetchrow($res)) {
                //if($row[id] == $user->id)break;
                if($row["donator"] == 'true')$donator = true;
                else
                $donator = false;
                $simple .= "";
                $simple .= htmlspecialchars($row["name"])."
";
                if ($row["level"] == "premium") $simple .= pic("icon_premium.gif",'','premium');
                elseif ($row["level"] == "moderator") $simple .= pic("icon_moderator.gif",'','moderator');
                elseif ($row["level"] == "admin") $simple .= pic("icon_admin.gif",'','admin');
                                if($donator) $simple .= 'donator';
                        if($row["warned"] == "1") $simple .= 'warned';
                if ($i < $tot) $simple .= ", ";
                $i++;

                $advanced .= "";
                $advanced .= "";

                if ($row["uploaded"] == 0 AND $row["downloaded"] == 0) $ratio = "---";
                elseif ($row["downloaded"] == 0) $ratio = "∞";
                else {
                        $ratio = $row["uploaded"]/$row["downloaded"];

                        if ($ratio < 0.1) $ratio = "" . number_format($ratio, 2) . "";
                        elseif ($ratio < 0.2) $ratio = "" . number_format($ratio, 2) . "";
                        elseif ($ratio < 0.3) $ratio = "" . number_format($ratio, 2) . "";
                        elseif ($ratio < 0.4) $ratio = "" . number_format($ratio, 2) . "";
                        elseif ($ratio < 0.5) $ratio = "" . number_format($ratio, 2) . "";
                        elseif ($ratio < 0.6) $ratio = "" . number_format($ratio, 2) . "";
                        elseif ($ratio < 0.7) $ratio = "" . number_format($ratio, 2) . "";
                        elseif ($ratio < 0.8) $ratio = "" . number_format($ratio, 2) . "";
                        elseif ($ratio < 0.9) $ratio = "" . number_format($ratio, 2) . "";
                        elseif ($ratio < 1)  $ratio = "" . number_format($ratio, 2) . "";
                        else $ratio = "".  number_format($ratio, 2) . "";
                }
                $advanced .= "";
                $advanced .= "";
                $advanced .= "";
                $advanced .= "\n";       
        }
        $simple .="

Legend: ".$legend."

";
        $simple .= "";
}
$advanced .= "

"._btusername."

"._btratio."

"._btpagename."

"._btloggedinfor."

";
                $advanced .= htmlspecialchars($row["name"])."
";
                if ($row["level"] == "premium") $advanced .= pic("icon_premium.gif",'','premium');
                elseif ($row["level"] == "moderator") $advanced .= pic("icon_moderator.gif",'','moderator');
                elseif ($row["level"] == "admin") $advanced .= pic("icon_admin.gif",'','admin');
                                if($donator) $advanced .= 'donator';
                        if($row["warned"] == "1") $advanced .= 'warned';
                $advanced .= "

".$ratio."

";
                if (defined("_btpage_".$row["page"])) $advanced .= constant("_btpage_".$row["page"]);
                                else
                                $advanced .= str_replace('.php','',$row['page']);
                $advanced .= "

".mkprettytime(time()-$row["logged_in"])."

\n";
$db->sql_freeresult($res);

//Simple mode
echo "
";
echo $simple;
echo "
";

//Advanced mode
echo "
";
echo $advanced;
echo "

Legend: ".$legend."

";
echo "
";
echo "

"._btindex_legend."$user_now"._btindex_legend1."$most_users_online on $most_users_online_when

";
        echo "

";
        //Total users
        $sql = "SELECT COUNT(id) FROM ".$db_prefix."_users WHERE `active` = 1 AND UNIX_TIMESTAMP(lastlogin) > UNIX_TIMESTAMP(NOW()) - 86400;";
        $res = $db->sql_query($sql);
        list ($totuser) = $db->sql_fetchrow($res);
        $db->sql_freeresult($res);
        echo ""._btindex_total24." ".$totuser."\n";
        //Total users
        $sql = "SELECT COUNT(id) FROM ".$db_prefix."_users WHERE `active` = 1 AND UNIX_TIMESTAMP(regdate) > UNIX_TIMESTAMP(NOW()) - 86400*7;";
        $res = $db->sql_query($sql);
        list ($totuser) = $db->sql_fetchrow($res);
        $db->sql_freeresult($res);
        echo ""._btindex_register7." ".$totuser."\n";
        //Total users
        $sql = "SELECT COUNT(id) FROM ".$db_prefix."_users WHERE `active` = 1 AND UNIX_TIMESTAMP(regdate) > UNIX_TIMESTAMP(NOW()) - 86400;";
        $res = $db->sql_query($sql);
        list ($totuser) = $db->sql_fetchrow($res);
        $db->sql_freeresult($res);
        echo ""._btindex_register24." ".$totuser."\n";
        //Total users
        $sql = "SELECT COUNT(id) FROM ".$db_prefix."_users;";
        $res = $db->sql_query($sql);
        list ($totuser) = $db->sql_fetchrow($res);
        $db->sql_freeresult($res);
        echo ""._btindex_totalregister." ".$totuser."\n";
        //Total Torrents and their size
        $sql = "SELECT COUNT(id), SUM(size) FROM ".$db_prefix."_torrents;";
        $res = $db->sql_query($sql);
        list ($tottorrent, $totshare) = $db->sql_fetchrow($res);
        $db->sql_freeresult($res);
        echo ""._btindex_totaltorrents." ".$tottorrent."\n";
        echo ""._btindex_totalshare." ".mksize($totshare)."\n";
        //Total peers and their speed
        $sql = "SELECT COUNT(id), (SUM(upload_speed)+SUM(download_speed))/2 FROM ".$db_prefix."_peers;";
        $res = $db->sql_query($sql);
        list ($totpeers, $totspeed) = $db->sql_fetchrow($res);
        $db->sql_freeresult($res);
        echo ""._btindex_totalpeers." ".$totpeers."\n";
        echo ""._btindex_speed." ".mksize($totspeed)."/s\n";
        //Total seeders and total leechers
        $sql = "SELECT COUNT(id) FROM ".$db_prefix."_peers GROUP BY seeder ORDER BY seeder ASC;";
        $res = $db->sql_query($sql);
        list ($totseeders) = $db->sql_fetchrow($res);
        list ($totleechers) = $db->sql_fetchrow($res);
        $db->sql_freeresult($res);
        echo ""._btindex_totalseeders." ".$totseeders."\n";
        echo ""._btindex_totalleechers." ".$totleechers."\n";
        $sql = "SELECT COUNT(id) as cnt, client FROM ".$db_prefix."_peers WHERE client IS NOT NULL GROUP BY client ORDER BY cnt DESC LIMIT 1;";
        $res = $db->sql_query($sql);
        list ($cnt, $client) = $db->sql_fetchrow($res);
        $db->sql_freeresult($res);
        echo ""._btindex_client." ".$client." (".$cnt.")\n";
        echo "

\n";
CloseTable();
include'blocks/newestmember_block.php';
include("poll.php");
//if($forumshare)include ("forumposts.php");
if($search_cloud)include('blocks/searchcloud.php');
/*OpenTable("last 10 uploads");
        $sql = "SELECT ".$db_prefix."_torrents.*, IF(".$db_prefix."_torrents.numratings < '".$minvotes."', NULL, ROUND(".$db_prefix."_torrents.ratingsum / ".$db_prefix."_torrents.numratings, 1)) AS rating, ".$db_prefix."_categories.name AS cat_name, ".$db_prefix."_categories.image AS cat_pic, U.username, IF(U.name IS NULL, U.username, U.name) as user_name, U.level as user_level FROM ".$db_prefix."_torrents LEFT JOIN ".$db_prefix."_categories ON category = ".$db_prefix."_categories.id LEFT JOIN ".$db_prefix."_users U ON ".$db_prefix."_torrents.owner = U.id WHERE banned = 'no' AND ".$db_prefix."_torrents.password IS NULL ORDER BY ".$db_prefix."_torrents.added DESC LIMIT 10;";
        $res = $db->sql_query($sql) or btsqlerror($sql);
        if ($db->sql_numrows($res) > 0) {
                torrenttable($res,"usertorrent");
        } else {
                OpenTable2();
                echo "

"._btnotorrents."

";
                CloseTable2();
        }
CloseTable();*/
include("footer.php");
?>

and this is my current htaccess file code

Code:

# $Author: joerobe $
# $Date: 2007/08/08 12:27:07 $
# $Last Revision: 2005/09/25 1:17 $

# deny most common files except PHP


deny from all



  Order Allow,Deny
  Allow from all


  Deny from all


#Add MIME-Types
AddType application/x-bittorrent .torrent

#HTTP Error Management: works ONLY on root directory. Add yourself your subdirectory
#IE if phpMyBitTorrent is installed in http://www.yoursite.com/mydir change
#/httperror.php.... to /mydir/httperror.php...
ErrorDocument 400 /httperror.php?errid=400
ErrorDocument 401 /httperror.php?errid=401
ErrorDocument 403 /httperror.php?errid=403
ErrorDocument 404 /httperror.php?errid=404
ErrorDocument 500 /httperror.php?errid=500

I use phpMyBitTorrent_2.0.4-repack.2.zip files.

Can you help me?

ArcticWolf 5th June 2015 16:09

check your apache error log. My guess is something is missing you need.
personally i find having no error display an pain when trying to setup an site..
http://php.about.com/od/troubleshoot..._reporting.htm
adding this in say index.php might help even temp, just should not run display errors once the site is live :P
Code:

ini_set('display_errors',1);
error_reporting(E_ALL);


deanmkd123 5th June 2015 18:15

Quote:

Originally Posted by ArcticWolf (Post 47094)
check your apache error log. My guess is something is missing you need.
personally i find having no error display an pain when trying to setup an site..
http://php.about.com/od/troubleshoot..._reporting.htm
adding this in say index.php might help even temp, just should not run display errors once the site is live :P
Code:

ini_set('display_errors',1);
error_reporting(E_ALL);


This is all i found in error.log file..

Code:

/var/www/tracker/setup/graphics/graphics.php on line 31
[Thu Jun 04 00:17:26 2015] [error] [client 192.168.88.94] PHP Deprecated:  Function eregi() is deprecated in /var/www/tracker/setup/graphics/graphics.php on line 31, referer: http://192.168.88.252/tracker/setup/index.php
[Thu Jun 04 00:17:31 2015] [error] [client 192.168.88.94] PHP Deprecated:  Function eregi() is deprecated in /var/www/tracker/setup/graphics/graphics.php on line 31, referer: http://192.168.88.252/tracker/setup/index.php?step=1&language=english
[Thu Jun 04 00:17:37 2015] [error] [client 192.168.88.94] PHP Deprecated:  Function eregi() is deprecated in /var/www/tracker/setup/graphics/graphics.php on line 31, referer: http://192.168.88.252/tracker/setup/index.php
[Thu Jun 04 00:18:38 2015] [error] [client 192.168.88.94] PHP Deprecated:  Function eregi() is deprecated in /var/www/tracker/setup/graphics/graphics.php on line 31, referer: http://192.168.88.252/tracker/setup/index.php
[Thu Jun 04 00:18:42 2015] [error] [client 192.168.88.94] PHP Deprecated:  Function eregi() is deprecated in /var/www/tracker/setup/graphics/graphics.php on line 31, referer: http://192.168.88.252/tracker/setup/index.php
[Thu Jun 04 00:18:42 2015] [error] [client 192.168.88.94] PHP Deprecated:  Function eregi() is deprecated in /var/www/tracker/include/configdata.php on line 30, referer: http://192.168.88.252/tracker/setup/index.php
[Thu Jun 04 00:18:42 2015] [error] [client 192.168.88.94] PHP Deprecated:  Function eregi() is deprecated in /var/www/tracker/setup/udl/database.php on line 30, referer: http://192.168.88.252/tracker/setup/index.php
[Thu Jun 04 00:18:42 2015] [error] [client 192.168.88.94] PHP Deprecated:  Function eregi() is deprecated in /var/www/tracker/setup/udl/mysql.php on line 31, referer: http://192.168.88.252/tracker/setup/index.php
[Thu Jun 04 00:18:51 2015] [error] [client 192.168.88.94] PHP Deprecated:  Function eregi() is deprecated in /var/www/tracker/setup/graphics/graphics.php on line 31, referer: http://192.168.88.252/tracker/setup/index.php
[Thu Jun 04 00:18:51 2015] [error] [client 192.168.88.94] PHP Deprecated:  Function eregi() is deprecated in /var/www/tracker/include/configdata.php on line 30, referer: http://192.168.88.252/tracker/setup/index.php
[Thu Jun 04 00:18:51 2015] [error] [client 192.168.88.94] PHP Deprecated:  Function eregi() is deprecated in /var/www/tracker/setup/udl/database.php on line 30, referer: http://192.168.88.252/tracker/setup/index.php

Code:

[Fri Jun 05 18:03:04 2015] [error] [client 192.168.88.91] PHP Fatal error:  Call-time pass-by-reference has been removed; If you would like to pass argument by reference, modify the declaration of ip_valid(). in /var/www/tracker/include/functions.php on line 159

Thu Jun 04 00:20:27 2015] [error] [client 192.168.88.94] PHP Fatal error:  Call-time pass-by-reference has been removed; If you would like to pass argument by reference, modify the declaration of ip_valid(). in /var/www/tracker/include/functions.php on line 158, referer: http://192.168.88.252/tracker/setup/index.php?step=7&language=english

When add the code listed from you before, and tryed to open index.php dont show me nothing.. Also error.log is not showing errors.

ArcticWolf 6th June 2015 01:32

looks like in php 5.4+ stuff changed
I dont use this myself ROFL but looking around on Google
in
/var/www/tracker/include/functions.php on line 158
change
Code:

if (ip_valid(&$_SERVER[$c])) {
to
Code:

if (ip_valid($_SERVER[$c])) {

joeroberts 6th June 2015 03:11

Quote:

Originally Posted by ArcticWolf (Post 47096)
looks like in php 5.4+ stuff changed
I dont use this myself ROFL but looking around on Google
in
/var/www/tracker/include/functions.php on line 158
change
Code:

if (ip_valid(&$_SERVER[$c])) {
to
Code:

if (ip_valid($_SERVER[$c])) {

Yup thats the cure.

w00t3d 2nd October 2015 06:13

i get a blank page in setup
can run into sub domain?
example: http://tracker.domain.com/setup/index.php

joeroberts 2nd October 2015 13:31

Quote:

Originally Posted by w00t3d (Post 47598)
i get a blank page in setup
can run into sub domain?
example: http://tracker.domain.com/setup/index.php

Have you tried these files?
http://btmanager.org/index.php?topic=6.msg1536#msg1536

w00t3d 2nd October 2015 20:22

Quote:

Originally Posted by joeroberts (Post 47599)

yes, these files

spencer86 30th January 2016 01:29

imdb dosent work?


All times are GMT +2. The time now is 12:38.

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