Having trouble
my tacker is saying you cant access this file directly i didnt change anything
|
can u give me link please, witch file is it, index.php ?
|
yea its index.php
none of my pages are showing up their showing up as blank pages |
do u have
PHP Code:
|
Quote:
its not on my index.php but its in my main.php |
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 ? |
just of what joe told me to do b4
its still doing it after removing it |
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 |
Quote:
huh? now tryed replacing my index.php with default one and now its just blank |
please read my post again i updated it
|
Quote:
|
then hove comes ur index.php is not updated ?
on index.php before PHP Code:
PHP Code:
before PHP Code:
PHP Code:
|
now it says
Code:
Parse error: syntax error, unexpected '<' in /home/content/80/5579080/html/index.php on line 30 |
please post lines from 28 to 32
|
PHP Code:
but when i put what u said to put in it said parse error |
it's not repack m8
repack post is here http://bvlist.com/phpmy-bittorrent/4...t-version.html at last post |
Quote:
jus replace everything except themes and torrents folder and includes? |
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 |
gimmie link for ur modded index ill check it out
|
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 " |
omfg i jus replaced it all and its still the same
|
look for
PHP Code:
PHP Code:
and main.php |
nows its saying You can't access this file directly
|
god damn wtf :wild: :secret:
can u rar and send me ur index.php and main.php ? |
yea u got msn ??? we can jus talk on their
|
naa ubnutu user :smack:
host file with hard pass somewhere like rapidshare ore hotfile then give me link and pm pass :wallbash: |
1 Attachment(s)
tell me when u got it downloaded
|
try these
http://w-life.co.cc/new.zip |
Quote:
|
Did you check your CHMOD permissions?
|
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:
but don't post all stuff just that it returns or don't afterwards deleate this file |
Quote:
shit i forgot what to chmod whats the list again? on info.php everything is still the same |
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) |
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. |
everything still same
|
Quote:
what is the link to your site? what version do you have? what mods do you have? |
Quote:
installed ur modded tables pwnagebay.com 2.04-repack i only have the modded tables |
did you turn on error reporting?
with out it you get a white page like that. |
Quote:
how do i do that |
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.