Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   BT.Manager (phpMyBitTorrent) (http://www.bvlist.com/forumdisplay.php?f=23)
-   -   Having trouble (http://www.bvlist.com/showthread.php?t=4451)

pwnage 8th February 2010 09:29

Having trouble
 
my tacker is saying you cant access this file directly i didnt change anything

wMan 8th February 2010 09:30

can u give me link please, witch file is it, index.php ?

pwnage 8th February 2010 09:31

yea its index.php

none of my pages are showing up their showing up as blank pages

wMan 8th February 2010 09:34

do u have
PHP Code:

if (!defined('IN_PMBT')) die ("You can't access this file directly"); 

in ur main.php ore index.php

pwnage 8th February 2010 09:35

Quote:

Originally Posted by wolfman (Post 20652)
do u have
PHP Code:

if (!defined('IN_PMBT')) die ("You can't access this file directly"); 

in ur main.php ore index.php


its not on my index.php but its in my main.php

wMan 8th February 2010 09:37

then please remove that because u don't seem to have function what checks if is defined in :secret:
when joe will return he will look at it more carefuly
are u shure u didn't change ur main.php ?

pwnage 8th February 2010 09:38

just of what joe told me to do b4

its still doing it after removing it

wMan 8th February 2010 09:40

that's wierd, ur not using repacked version ?

i suggest u create backup and download repack then replace all files (let owerwrite)

because no problems on my site

pwnage 8th February 2010 09:42

Quote:

Originally Posted by wolfman (Post 20656)
:ok: post if works


huh? now tryed replacing my index.php with default one and now its just blank

wMan 8th February 2010 09:44

please read my post again i updated it

pwnage 8th February 2010 09:46

Quote:

Originally Posted by wolfman (Post 20659)
please read my post again i updated it

phpMyBitTorrent2.0.4-repack is what i got

wMan 8th February 2010 09:51

then hove comes ur index.php is not updated ?

on index.php before
PHP Code:

include("header.php"); 

must be
PHP Code:

<?php
if (defined('IN_PMBT'))die ("You can't include this file");
define("IN_PMBT",true);

on main.php

before
PHP Code:

$tableopen false;
$errtableopen false;
$table2open false;
$btback1 "f0f0f0";
$btback2 "f9f9f9";
$btback3 "EBDDE2"

must be
PHP Code:

if (!defined('IN_PMBT')) die ("You can't access this file directly"); 


pwnage 8th February 2010 09:57

now it says
Code:

Parse error:  syntax error, unexpected '<' in /home/content/80/5579080/html/index.php on line 30

wMan 8th February 2010 09:58

please post lines from 28 to 32

pwnage 8th February 2010 10:01

PHP Code:

if (defined('IN_PMBT'))die ("You can't include this file");
define("IN_PMBT",true);
include(
"header.php"); 

this is what i had b4

but when i put what u said to put in it said parse error

wMan 8th February 2010 10:05

it's not repack m8

repack post is here http://bvlist.com/phpmy-bittorrent/4...t-version.html at last post

pwnage 8th February 2010 10:07

Quote:

Originally Posted by wolfman (Post 20665)
it's not repack m8

what i gotta do to make it work without losing all the torrents
jus replace everything except themes and torrents folder and includes?

wMan 8th February 2010 10:10

all except torents, themes and include/configdata.php

i think u can also try my moded index.php

look for "tiger theme" it's in int's post

pwnage 8th February 2010 10:14

gimmie link for ur modded index ill check it out

wMan 8th February 2010 10:17

1 Attachment(s)
1. open index.php
2. deleate it all
3. copy and paste this code in it
[php] 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();
}
if ($welcome_message != ""){
OpenTable2(_btsitenews);
$welcome_message = format_comment($welcome_message);
parse_smiles($welcome_message);
echo "

pwnage 8th February 2010 10:20

omfg i jus replaced it all and its still the same

wMan 8th February 2010 10:22

look for
PHP Code:

if (defined('IN_PMBT'))die ("You can't include this file");
define("IN_PMBT",true); 

try changing to

PHP Code:

if (!defined('IN_PMBT')) die ("You can't access this file directly"); 

btw if u are linux user check file premissions on ur pc for index.php
and main.php

pwnage 8th February 2010 10:25

nows its saying You can't access this file directly

wMan 8th February 2010 10:28

god damn wtf :wild: :secret:

can u rar and send me ur index.php
and main.php ?

pwnage 8th February 2010 10:28

yea u got msn ??? we can jus talk on their

wMan 8th February 2010 10:30

naa ubnutu user :smack:

host file with hard pass somewhere like rapidshare ore hotfile then give me link and pm pass :wallbash:

pwnage 8th February 2010 10:33

1 Attachment(s)
tell me when u got it downloaded

wMan 8th February 2010 10:37

try these
http://w-life.co.cc/new.zip

pwnage 8th February 2010 10:41

Quote:

Originally Posted by wolfman (Post 20678)
try these

pages blank

Jack747 8th February 2010 10:43

Did you check your CHMOD permissions?

wMan 8th February 2010 10:44

god damn i need a break i will go snowboard for a moment

but u do this
1. create file called info.php
2.
PHP Code:

<?php
phpinfo
();
?>

then open this file from ur script main directory and post if it returns any thing

but don't post all stuff just that it returns or don't
afterwards deleate this file

pwnage 8th February 2010 10:45

Quote:

Originally Posted by Jack747 (Post 20680)
Did you check your CHMOD permissions?


shit i forgot what to chmod whats the list again?


on info.php everything is still the same

wMan 8th February 2010 10:46

avatars/user = 777
cache = 777
imdb-images = 777
include/configdata.php = 777
UserFiles = 777
phpBB3/config.php = 777
phpBB3/cache = 777
phpBB3/files = 777
phpBB3/images/avatars/upload = 777
phpBB3/store = 777
torrent = 777 (assuming this is the directory you are using for torrents)

Jack747 8th February 2010 10:48

No idea dude :D, wait for joe or try to make a subdomain and install the source on it and it must show the list what you have to chmod there I GUESS :lol: .

EDIT: Thank you wolfman.

pwnage 8th February 2010 10:52

everything still same

joeroberts 8th February 2010 14:09

Quote:

Originally Posted by pwnage (Post 20649)
my tacker is saying you cant access this file directly i didnt change anything

what did you do just before this started?
what is the link to your site?
what version do you have?
what mods do you have?

pwnage 8th February 2010 19:36

Quote:

Originally Posted by joeroberts (Post 20689)
what did you do just before this started?
what is the link to your site?
what version do you have?
what mods do you have?


installed ur modded tables
pwnagebay.com
2.04-repack
i only have the modded tables

joeroberts 8th February 2010 20:04

did you turn on error reporting?
with out it you get a white page like that.

pwnage 8th February 2010 20:19

Quote:

Originally Posted by joeroberts (Post 20700)
did you turn on error reporting?
with out it you get a white page like that.


how do i do that

joeroberts 8th February 2010 20:23

php.ini


All times are GMT +2. The time now is 19:55.

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