Aiuto Problema CSM Hablog

Andrew374

Utente Normale
Autore del topic
31 Maggio 2008
86
0
Miglior risposta
0
Aiuto Problema Hablog

ciao a tutti ;P avrei un problema con hablog

in pratica installo tutto mi va tt bene quando vado nel mio localhost mi dice ke c'è un problema nell'index alla linea 24 (lo messa in grassetto)
<? include("community/config.php"); ?>
<?
if ($database == "PATH TO DATABASE") {
echo "Please change the Config in the Community folder of your web before you access the Site!";
exit;
}

if ($name == "Hablog") {
echo "Your Hotel Name cant be Hablog, the Name is found by Orakel (The second Hablog Coder)!";
exit;
}

//Create Files (/language.txt)
{
$mysession = getenv( REMOTE_ADDR );
$filename = "$database/logged/lang/$mysession.txt";
}
// hard code the variable from flash
$somecontent = "EN";

// If the file doesn't exist, attempt to create it
// and open it for writing
// anything already writen will be replaced
if (!$handle = fopen($filename, 'w')) {
exit;
}

// Write $somecontent to the opened file.
if (fwrite($handle, $somecontent) === FALSE) {
exit;
}
// close the file
fclose($handle);
//Create Files (/language.txt)
?>


echo'<script language ="JavaScript">
<!--
window.location.replace('<?
$mysession = getenv( REMOTE_ADDR );
$fileas = "$database/logged/lang/$mysession.txt";

if (file_exists($fileas)) {
$fal = "community/";
}
else {
$fal = "community/";
}

echo "$fal";
?>');
// -->
</script>';
<p class="btn">If you are not automatically redirected, please <a href="<? echo "$fal"; ?>" id="manual_redirect_link">click here</a></p>

questo è l'index e Questo Qui è Il Confing

<?
// CONFIG TO INSTALL
$database = "C:\Documents and Settings\Andrew\Desktop\SERVER";
$host = "habbosland.no-ip.biz";
$web = "http://habbosland.no-ip.biz";
// CONFIG TO INSTALL

$maintenance = "0";
$images = "http://$host/c_images";
$formate = "png";
$quests = "0";
$name = "habbosland";
$name_big = "HABBOSLAND";
$port = "147";

///////////////////
// HELPTOOL //
/////////////////
$a = "Hablog X";
$b = "Moderators";
$c = "Administrators";
$d = "About the Server";
$e = "Hablog Way";
$f = "Trading";
$g = "Bans";
$h = "Console";
$i = "Scripting";
$j = "Furnitures";
$k = "Catalogue";
$l = "Infobus";
$m = "Navigator";
$n = "Safety";
$o = "Technical Problems";
$p = "Disconnect Problems";
$q = "Guest Rooms";
$r = "Hablog Club";
$s = "Hablog Credits";
$t = "Access Problems";
$u = "Controlling your Hablog";
$v = "Privacy";
$w = "Commands";
$x = "eMail Problems";
$y = "Mission";
$z = "Style";

/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// HabLog Resource Coperation
// // // // //
// // // // //
// ////////// //////////
// // // // //
// // // // //
// HabLog Resource Coperation
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
?>

aiuto :emoji_slight_frown:
 
Ultima modifica: