Problema con hablogv15

Axel Neiz

Utente Strepitoso
Autore del topic
27 Gennaio 2008
4.713
77
Miglior risposta
0
Mi esce questo errore quando vado sull'host:

Warning: fopen(C:\Documents and Settings\Aurelio_2\Desktop\SERVER/logged/lang/5.95.30.107.txt) [function.fopen]: failed to open stream: No such file or directory in C:\xampp\htdocs\index.php on line 24
Ho seguito passo x passo la guida di -simo- ...ho acceso il programma di no-ip,ho xampp acceso ho fatto tutto...cmq ho router fastweb e hamachi!! cosa devo fare??
 
Ultima modifica:
Index.php:
<? 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>

Config.php:
<?
// CONFIG TO INSTALL
$database = "C:\Documents and Settings\Aurelio_2\Desktop\SERVER";
$host = "dragonsreturn.hopto.org";
$web = "http://dragonsreturn.hopto.org";
// CONFIG TO INSTALL

$maintenance = "0";
$images = "http://$host/c_images";
$formate = "png";
$quests = "0";
$name = "Luiii";
$name_big = "ASASA";
$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
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
?>

ecco qui!!!aiutatemi!