[FIXED!]IJJI Web Full 2010 Fatal error in line 206!
I got this error.. o.O
Parse error: parse error in C:\wamp\www\gray\index.php on line 206
Here Is my config:
PHP Code:
<?
@session_start();
//MSSQL Server configuration
$_MSSQL[Host] = "HELMAX\SQLEXPRESS";
$_MSSQL[User] = "sa";
$_MSSQL[Pass] = "123789";
$_MSSQL[DBNa] = "GunzDB";
$r = mssql_connect($_MSSQL[Host], $_MSSQL[User], $_MSSQL[Pass]) or die("Cant connect to database");
mssql_select_db($_MSSQL[DBNa], $r);
// Here you set the language for the panel
// If you set this to english, the panel will try to load lang/english.php
$_CONFIG[Language] = "english";
// Gunz Database Configuration
$_CONFIG[AccountTable] = "Account";
$_CONFIG[LoginTable] = "Login";
$_CONFIG[CharTable] = "Character";
$_CONFIG[CItemTable] = "CharacterItem";
$_CONFIG[AItemTable] = "AccountItem";
$_CONFIG[ClanTable] = "Clan";
$_CONFIG[ClanMembTable] = "ClanMember";
$_CONFIG[ClanLogTable] = "ClanGameLog";
// Plugins Configuration
// To Disable, set the variable to 0
// To Enable, set the variable to 1
$_CONFIG[CountryBlock] = 0; // Add functions to Block / Unblock access to your GunZ Server
//MySQL Server configuration
$_MYSQL[Host] = "localhost";
$_MYSQL[User] = "root";
$_MYSQL[Pass] = "pasword";
$_MYSQL[DBNa] = "foro";
//Configuration
$_CONFIG[NewsFID] = 2;
$_CONFIG[EventsFID] = 0;
$_CONFIG[vBulletinPrefix] = "xxxxx";
$_CONFIG[ForumURL] = "http://xxx.tk/";
//Offline page
$_CONFIG[OfflinePage] = "";
// Gunz Database Configuration
$_CONFIG[LoginTable] = "Login";
$_CONFIG[CharTable] = "Character";
$_CONFIG[ClanTable] = "Clan";
$_CONFIG[ClanmemberTable] = "ClanMember";
$color[255] = array(255,153,51); // Administrator
$color[254] = array(255,153,51); // Developer/Gamemaster
$color[253] = array(255,255,255); // Banned
$color[252] = array(255,153,51); // Hidden GM
$color[2] = array(0,68,255); // User With Jjang
$color[0] = array(255,255,255); // Normal User
// Here you set the language for the panel
// If you set this to english, the panel will try to load lang/english.php
$_CONFIG[Language] = "english";
// Gunz Database Configuration
$_CONFIG[LoginTable] = "Login";
$_CONFIG[CharTable] = "Character";
$_CONFIG[ClanTable] = "Clan";
$_CONFIG[ClanmemberTable] = "ClanMember";
?>
HeLP Please:(
Re: IJJI Web Full 2010 Error!
my best gues would be to fill in this part
//MySQL Server configuration
also, you might just want to replace the password by xxxx to not have you servers database password out in the open
Re: IJJI Web Full 2010 Error!
Quote:
Originally Posted by
alish1558
I got this error.. o.O
Parse error: parse error in C:\wamp\www\gray\index.php on line 206
How about take a look at line 206 of index.php to see what's wrong with it...?
Re: IJJI Web Full 2010 Error!
Quote:
Originally Posted by
Aristrum
How about take a look at line 206 of index.php to see what's wrong with it...?
err.. i am using xampp and i am not web coder ..
Re: IJJI Web Full 2010 Error!
Let me put Aristrums word in another way for you:
Post your fucking index.php ><
Re: IJJI Web Full 2010 Error!
Quote:
Originally Posted by
Mambo
Let me put Aristrums word in another way for you:
Post your fucking index.php ><
Here is My Fucking index.php :ott1:
PHP Code:
<?php
ob_start("ParseTitle");
function ParseTitle($content)
{
if($_SESSION[PageTitle] <> "")
{
$r = str_replace("/Title/", $_SESSION[PageTitle], $content);
$_SESSION[PageTitle] = "";
return $r;
}else{
$r = str_replace("/Title/", "ijji - Where Gamers Unite! - Index", $content);
return $r;
}
}
include "secure/functions.php";
include "secure/config.php";
include "secure/shield.php";
include "secure/ipban.php";
include "secure/ban.php";
?>
<html>
<head>
<title>/Title/</title>
<link rel="shortcut icon" href="http://images.ijjimax.com/v5/common/favicon.ico" type="image/x-icon"/>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<!--[if lt IE 7]>
<script defer type="text/javascript" src="script/pngfix.js"></script>
<![endif]-->
<script type="text/javascript" src="secure/functions.js"></script>
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
</head>
<style type="text/css">
@import "style.css";
</style>
<!-- Announcement Part -->
<body leftmargin="0" topmargin="0" rightmargin="0" bottommargin="0" marginwidth="0" marginheight="0" onLoad="MM_preloadImages('img/topbar_navi02_on.gif','img/topbar_navi04_on.gif','img/topbar_navi05_on.gif','img/topbar_navi08_on.gif','img/topbar_navi10_on.gif')">
<table width="100%" height="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr valign="top">
<td><table width="100%" height="191" border="0" align="center" cellpadding="0" cellspacing="0" style="background-repeat: repeat-x; background-image:url(img/top_bar.jpg); background-position:top;" >
<tr>
<td height="13" align="center" valign="top"><table width="788" height="93" border="0" align="center" cellpadding="0" cellspacing="0" style="background-image:url(img/gblhdr_topbnnr_bg.jpg); background-repeat:no-repeat; background-position:center;">
<tr>
<td align="center" valign="top"><a href="http://www.ragezone.com"><img src="ads/x-weaver.jpg" width="728" height="80" border="0"></a></td>
</tr>
</table></td>
</tr>
<tr>
<td height="13" align="center" valign="center"><table width="771" height="45" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="243" valign="bottom" align="left"><a href="http://www.ragezone.com"><img src="img/logotype.jpg" width="200" height="40" border="0"></a></td>
<td width="18" valign="bottom" align="right"></td>
<td width="526" align="right"><table width="500" height="20" border="0" cellpadding="0" cellspacing="0" background="img/top_select_bar.jpg" style="background-repeat:no-repeat; background-position:center;">
<tr>
<td align="right"><a href="index.php?gunz=coins"><img src="img/blank.gif" width="70" height="20" border="0"></a><a href="index.php?gunz=register"><img src="img/blank.gif" width="102" height="20" border="0"></a><a href="index.php?gunz=myprofile"><img src="img/blank.gif" width="72" height="20" border="0"></a><a href="index.php?gunz=staff"><img src="img/blank.gif" width="67" height="20" border="0"></a><a href="index.php?gunz=recoverplayer"><img src="img/blank.gif" width="107" height="20" border="0"></a></td>
</tr>
</table> </td>
</tr>
</table></td>
</tr>
<!-- //Announcement Part -->
<!-- Top Banner part -->
<tr>
<td height="13" align="center" valign="bottom">
<table width="780" height="41" border="0" align="center" cellpadding="0" cellspacing="0" style="background-image:url(img/bg_topnavbar.gif); background-position:center; background-repeat:no-repeat;">
<tr>
<td width="104" align="right" valign="bottom"><a href="index.php"><img src="img/topbar_navi00.gif" width="96" height="31" border="0"></a></td>
<td width="10"></td>
<td width="663" valign="bottom"><table width="200" border="0" align="left" cellpadding="0" cellspacing="0">
<tr>
<td><a href="index.php?gunz=rules" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('guide','','img/topbar_navi02_on.gif',1)"><img src="img/topbar_navi02.gif" alt="GameGuide" name="guide" width="86" height="41" border="0"></a><a href="http://forum.ragezone.com" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Forum','','img/topbar_navi04_on.gif',1)"><img src="img/topbar_navi04.gif" alt="Community" name="Forum" width="61" height="41" border="0"></a><a href="index.php?gunz=playerank" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Ranking','','img/topbar_navi05_on.gif',1)"><img src="img/topbar_navi05.gif" alt="Ranking" name="Ranking" width="71" height="41" border="0"></a><a href="index.php?gunz=shop" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Shop','','img/topbar_navi08_on.gif',1)"><img src="img/topbar_navi08.gif" alt="ItemShop" name="Shop" width="79" height="41" border="0"></a><a href="http://gunzwiki.wetpaint.com" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Wiki','','img/topbar_navi10_on.gif',1)"><img src="img/topbar_navi10.gif" alt="GunZWiki" name="Wiki" width="75" height="41" border="0"></a></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table>
<!-- //Top Banner part -->
<table width="100%" height="400" border="0" cellpadding="0" cellspacing="0" style="background-image:url(img/background00.jpg); background-repeat:repeat-x;">
<tr valign="top">
<td><table id="rimg" width="100%" height="100%" border="0" align="center" cellpadding="0" cellspacing="0" style="background-image:url(img/header/ijji6.jpg); background-repeat:no-repeat; background-position:top center;">
<tr>
<td align="center" height="167" valign="bottom"><table width="780" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="right"><table width="780" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="160"></td>
<td width="422" align="center" valign="bottom"><? echo @$errorbox ?></td>
<td valign="top"><table width="190" border="0" align="right" cellpadding="0" cellspacing="0">
<tr>
<td align="center">
<!-- Admin and GM Panel Zone -->
<?php if($_SESSION['UGradeID'] == 255 )
{ ?>
<FORM METHOD="LINK" ACTION="admin/index.php">
<INPUT name="submit" TYPE="submit" class="login2" VALUE="Admin Panel">
</FORM>
<? } ?>
<?php if($_SESSION['UGradeID'] == 254 && 252 )
{ ?>
<FORM METHOD="LINK" ACTION="gmpanel/index.php">
<INPUT name="submit2" TYPE="submit" class="login2" VALUE="GM Panel">
</FORM>
<? } ?>
<!-- //Admin and GM Panel Zone -->
</td>
</tr>
<!-- Event Part -->
<tr>
<td align="center"><img src="img/blank.gif" width="190" height="120"></td>
</tr>
</table></td>
</tr>
</table>
</td>
</tr>
</table></td>
</tr>
<!-- //Event Part -->
<!-- Modules Part -->
<tr>
<td align="center"><table width="200" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td align="center"><? if($_CONFIG[OfflinePage] == "")
{
if(isset($_GET['gunz']))
{
$do = $_GET['gunz'];
}else{
$do = "index";
}
if(file_exists("gunz/ijji_$do.php"))
{
include "gunz/ijji_$do.php";
{
}
}else{
alertbox("We are working on it...","index.php");
die();
}
}
?></td>
</tr>
</table>
<!-- //Modules Part -->
<!-- Copyright Zone -->
<table width="780" height="70" border="0" cellpadding="0" cellspacing="0" background="img/copyright.jpg" style="background-position:center; background-repeat:no-repeat;">
<tr>
<td width="160" height="10"></td>
<td width="620"><table width="500" border="0" cellpadding="1" cellspacing="0">
<tr>
<td class="Estilo1"><b>Copyright 2010 ijji website ripped by X-Weaver. All right reserved.</b></td>
</tr>
<tr>
<td class="Estilo1"><em>GunZ is a registered trademarks of MAIET entertainment, Inc.</em></td>
</tr>
<tr>
<td class="Estilo1"><em>All content related are belong to NHN USA, Inc...</em></td>
</tr>
<tr>
<td class="Estilo1">MyGunZ is a free server. Donations are used to cover server expenses.</td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td align="center" height="15"></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table>
<!-- //Copyright Zone -->
</body>
</html>
<?php
ob_end_flush();
?>
Re: IJJI Web Full 2010 Error!
Lol, i copied it all to my Dreamweaver to see which line is 206..
It's the very last one xD
?> is the error, it says.
I'll just take a look, if i'm done, i'll repost.
Re: IJJI Web Full 2010 Error!
Quote:
Originally Posted by
Mambo
Lol, i copied it all to my Dreamweaver to see which line is 206..
It's the very last one xD
?> is the error, it says.
I'll just take a look, if i'm done, i'll repost.
Oki.. i am waiting :)
Re: IJJI Web Full 2010 Error!
/bump bump pleasee :(:(
---------- Post added at 03:18 PM ---------- Previous post was at 02:12 PM ----------
Fixed... Thanks..
Re: [FIXED!]IJJI Web Full 2010 Error!
How did you fixed it?
I get it too, I don't get it.
Re: [FIXED!]IJJI Web Full 2010 Error!
Use Xampp and that tut ;)
[Tutorial]Fixing Web Errors - http://forum.ragezone.com/f497/tutor...errors-605143/
Re: [FIXED!]IJJI Web Full 2010 Fatal error in line 206!
I was actually wondering if this site also works on 2007 files.
Re: [FIXED!]IJJI Web Full 2010 Fatal error in line 206!
Quote:
Originally Posted by
wesley1189
I was actually wondering if this site also works on 2007 files.
Best question of the century!