Hay Leute, jetzt wo ich einen neuen Emulator gefunden habe & alles funktioniert habe ich ein Problem.
Ich möchte gerne ein Phoenix CMS nutzen, ich downloadete mir das RhinoEdit & es hat alles mit der Datenbank geklappt!
Nun wollte ich mich registrieren, bis zu dem Schritt wo ich meinen Name & meine Kleidung auswählen soll funktioniert alles.
Wenn ich nun aber auf Weiter gehe kommt folgende Meldung nach längerem Laden.. ( 10 Sekunden ) :
Du siehst nichts?
Wenn ich dann die Seite neulade erscheint folgende Meldung:
Du siehst nichts?
Nun muss ich immer die Cookies löschen, dann geht es wieder bis zum Schritt wo die Characters öffnet!
Woran liegt es? Ist eventuell im Code der Dateien eine Umleitung drin?
Hier einmal die beiden Codes:
(characters.php)
<?phpdefine('USERNAME_REQUIRED', FALSE);define('ACCOUNT_REQUIRED', TRUE);include('global.php');define("THIS_SCRIPT", 'characters');$email = $core->EscapeString($_SESSION['account']);if(!$users->MailTaken($email))header("Location: index.php");unset($_SESSION['username']);?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title><?php echo $sitename." - Characters"; ?></title> <link type="text/css" rel="stylesheet" href="./Public/Styles/<?php echo $currentstyle ?>/CSS/avatarselect.css" /> <link type="text/css" rel="stylesheet" href="./Public/Styles/<?php echo $currentstyle ?>/CSS/main.css" /> <script type="text/javascript" src="http://code.jquery.com/jquery-latest.min.js"></script></head>
<script language="javascript"> (function($){ $(document).ready(function() { $('.avatar').click(function() { var Name = $(this).attr('alt'); var Figure = $(this).attr('figure'); var LoginDate = $(this).attr('lastlogin'); container = '.CurrentAvatar'; $(container).fadeOut(500, function () { $('#CharName').html(Name) $('.Mainavatar').html('<img src="http://www.habbo.com/habbo-imaging/avatarimage?figure=' + Figure + '" alt="' + Name + '" />') $('.LastLogin').html('<?php echo $lang['last_login']; ?>: ' + LoginDate) $(container).fadeIn(500) }); return; });
$('.LoginButton').click(function() { var Name = $('#CharName').html(); location.href='./functions/userlogin.php?name=' + Name; return; });
}); })(jQuery); </script>
<body> <div class="MainBox"> <div class="top"> <a href="./index.php"><img src="./Public/Styles/<?php echo $currentstyle ?>/Images/logo.png" /></a> <?php echo $core->UsersOnline(); ?> <?php echo $lang['users_online']; ?> </div> <div class="mid"> <div class="CurrentAvatar"> <?php $user = mysql_fetch_array(mysql_query("SELECT * FROM users WHERE mail = '".$email."' ORDER BY last_online DESC LIMIT 50")); echo '<div class="box_header" id="CharName">'.$user["username"].'</div> <div class="Mainavatar"><img src="http://www.habbo.com/habbo-imaging/avatarimage?figure='.$user["look"].'" /></div> <div class="LoginButton">'.$lang['characters_login'].'</div> <div class="LastLogin">'.$lang['last_login'].': '.@date("d-m-Y", $user["last_online"]).'</div>'; ?> </div>
<div class="AvatarSelection"> <div class="box_header"><?php echo $lang['select_avatar']; ?></div> <div class="Avatars"> <?php $userq = mysql_query("SELECT * FROM users WHERE mail = '".$email."' ORDER BY last_online DESC LIMIT 50"); while($user = mysql_fetch_array($userq)) { echo '<img src="http://www.habbo.com/habbo-imaging/avatarimage?figure='.$user["look"].'&size=s" figure="'.$user["look"].'" alt="'.$user["username"].'" class="avatar" lastlogin="'.@date("d-m-Y", $user["last_online"]).'" />'; } ?> </div> <form id="Add_Avatar" method="post" action="./register/step2.php"> <input type="hidden" name="email" id="email" value="<?php echo $email; ?>" /> <input type="hidden" name="bdday" id="bdday" value="why" /> <input type="hidden" name="bdmonth" id="bdmonth" value="are" /> <input type="hidden" name="bdyear" id="bdyear" value="you" /> <input type="hidden" name="password" id="password" value="LookingHere" /> <div class="AddAvatar" onclick="Add_Avatar.submit();"><?php echo $lang['add_avatar']; ?></div> </form> </div> <div class="AvatarSelection"> <div class="box_header"><?php echo $lang['your_info']; ?></div> <div class="Avatars"> <?php $userq = mysql_query("SELECT * FROM users WHERE mail = '".$email."' ORDER BY last_online DESC"); $user = mysql_fetch_array($userq); echo '<a class="selected">'.$lang['mail'].':</a> '.$user['mail'].'<br /><a class="selected">'.$lang['max_rank'].':</a> '.$users->UserInfoMax('rank', $email).'<br /><a class="selected">'.$lang['last_login'].':</a> '.$user["username"].' - '.@date("d-m-Y H:i", $user["last_online"]).'<br /><a class="selected">'.$lang['IP'].':</a> '.$user['ip_last'].'<br /><a class="selected">'.$lang['total_credits'].':</a> '.$users->UserInfoSum('credits', $email).'<br /><a class="selected">'.$lang['total_pixels'].':</a> '.$users->UserInfoSum('activity_points', $email).'<br />'; ?> </div> </div> </div> <?php include("system/footer.php"); ?></div> </body> </html>
& einmal die Index ( Obwohl die ja am Anfang funktioniert, bis zum Schritt wo die Characters.php gestartet wird ) :
<?phpdefine('USERNAME_REQUIRED', FALSE);define('ACCOUNT_REQUIRED', FALSE);include('global.php');if(isset($_SESSION["username"]))header("Location: me.php");elseif(isset($_SESSION["account"]))header("Location: characters.php");?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title><?php echo $sitename; ?></title> <link type="text/css" rel="stylesheet" href="./Public/Styles/<?php echo $currentstyle ?>/CSS/login.css" /></head>
<body>
<div class="loginBox"> <div class="top"> <a href="./"><img src="./Public/Styles/<?php echo $currentstyle ?>/Images/logo.png" /></a> <?php echo $core->UsersOnline(); ?> <?php echo $lang['users_online']; ?> </div> <div class="mid"> <div class="loginForm"> <?php if(isset($_GET["error"]) && $_GET["error"] == "password") { ?> <div class="errormsg" id="habbo_name_message_box"> <h3><?php echo $lang['error_wrong_password']; ?></h3> <?php echo $lang['error_wrong_password_text']; ?> </div> <?php } elseif(isset($_GET["error"]) && $_GET["error"] == "username") { ?> <div class="errormsg" id="habbo_name_message_box"> <h3><?php echo $lang['error_wrong_username']; ?></h3> <?php echo $lang['error_wrong_username_text']; ?> </div> <?php } elseif(isset($_GET["error"]) && $_GET["error"] == "ban") { if(isset($_GET["user"])) { $query = mysql_query("SELECT * FROM bans WHERE value = '".$_GET["user"]."' AND expire > UNIX_TIMESTAMP() ORDER BY expire DESC LIMIT 1"); } elseif(isset($_GET["ip"])) { $query = mysql_query("SELECT * FROM bans WHERE value = '".$_GET["ip"]."' AND expire > UNIX_TIMESTAMP() ORDER BY expire DESC LIMIT 1"); } $ban = @mysql_fetch_array($query); ?> <div class="errormsg" id="habbo_name_message_box"> <h3><?php echo $lang['error_ban']; ?></h3> <?php echo $lang['error_ban_reason']; ?>: <?php echo $ban['reason']; ?><br /> <?php echo $lang['error_ban_expire']; ?>: <?php echo @date("d-m-Y H:i", $ban['expire']); ?><br /> <?php echo $lang['error_ban_moderator']; ?>: <?php echo $ban['added_by']; ?> </div> <?php } ?> <form action="./login.php" method="post"> <?php echo $lang['index_register']; ?><br /><br /> <?php echo $lang['index_login_username']; ?>:<br /><input type="text" name="username" /><br /><br /> <?php echo $lang['index_login_password']; ?>:<br /><input type="password" name="password" /><br /><br /> <input type="submit" value="<?php echo $lang['index_login_signin']; ?>" onmousedown="this.style.backgroundColor='#ddd';" onmouseup="this.style.backgroundColor='#eee';" onmouseover="this.style.backgroundColor='#eee';" onmouseout="this.style.backgroundColor='#fff';" /> </form> </div> </div> <?php include("system/footer.php"); ?></div>
</body></html>
Hoffe jemand hat Rat für mich, will schnellst möglich das alles funktioniert
Mit freundlichen Grüßen,
Netsphere