Domanda Risolto Problema index.php retro v63 phoenix v. 3.6.0

Stato
Discussione chiusa ad ulteriori risposte.

Angel92

Bannato
25 Ottobre 2010
82
30
3
103
Scusate ho un problema, praticamente appena clicco su entra in hotel mi si apre il client e mi da quest'errore:

Fatal error: Call to a member function query() on a non-object in C:\xampp\htdocs\client\index.php on line 8

Dentro il client ci sono solamente 2 file index.php e disconnected.php
intando vi faccio vedere index.php

<?php

$A = rand(10000,20000);
$B = rand(20000,30000);
$C = rand(30000,40000);
$D = "HABLUX";
$ticket = $D."-".$A.$B.$C;
$GLOBALS['serverdb']->query("UPDATE users SET auth_ticket = '".$ticket."' WHERE id = '".$user->id."'");
$myticket = $GLOBALS['serverdb']->fetch_array($GLOBALS['serverdb']->query("SELECT auth_ticket FROM users WHERE id = '".$user->id."'"));


?>


<!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" xml:lang="en" lang="en" xmlns:eek:g="http://opengraphprotocol.org/schema/" xmlns:fb="http://www.facebook.com/2008/fbml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title><?php echo SHORTNAME; ?>: Client </title>

<script type="text/javascript">
var andSoItBegins = (new Date()).getTime();
</script>
<link rel="shortcut icon" href="http://thesimsocial.it/web-gallery/v2/favicon.ico" type="image/vnd.microsoft.icon" />
<link rel="alternate" type="application/rss+xml" title="Habbo: RSS" href="http://thesimsocial.it/articles/rss.xml" />
<script src="http://thesimsocial.it/web-gallery/static/js/libs2.js" type="text/javascript"></script>
<script src="http://thesimsocial.it/web-gallery/static/js/visual.js" type="text/javascript"></script>
<script src="http://thesimsocial.it/web-gallery/static/js/libs.js" type="text/javascript"></script>
<script src="http://thesimsocial.it/web-gallery/static/js/common.js" type="text/javascript"></script>
<link rel="stylesheet" href="http://thesimsocial.it/web-gallery/v2/styles/style.css" type="text/css" />
<link rel="stylesheet" href="http://thesimsocial.it/web-gallery/v2/styles/buttons.css" type="text/css" />
<link rel="stylesheet" href="http://thesimsocial.it/web-gallery/v2/styles/boxes.css" type="text/css" />
<link rel="stylesheet" href="http://thesimsocial.it/web-gallery/v2/styles/tooltips.css" type="text/css" />
<link rel="stylesheet" href="http://thesimsocial.it/web-gallery/v2/styles/changepassword.css" type="text/css" />




<script type="text/javascript">


var ad_keywords = "ss,xd,asd,j,gender%3Am,age%3A19";


var ad_key_value = "kvage=19;kvgender=m;kvtags=ss:j:xd:asd";


</script>


<script type="text/javascript">
document.habboLoggedIn = true;
var habboName = "cristiand";
var habboId = 4662389;
var facebookUser = true;
var habboReqPath = "";
var habboStaticFilePath = "http://thesimsocial.it/web-gallery";
var habboImagerUrl = "http://thesimsocial.it/habbo-imaging/";
var habboPartner = "";
var habboDefaultClientPopupUrl = "http://thesimsocial.it//client";
window.name = "d61bd4dc711d95b7e85b86bc2c1ce2a5a6a6286e";
if (typeof HabboClient != "undefined") { HabboClient.windowName = "d61bd4dc711d95b7e85b86bc2c1ce2a5a6a6286e"; }


</script>

<meta property="fb:app_id" content="163345683587" />

<noscript>
<meta http-equiv="refresh" content="0;url=/client/nojs" />
</noscript>
<link rel="stylesheet" href="http://thesimsocial.it/web-gallery/v2/styles/habboclient.css" type="text/css" />
<link rel="stylesheet" href="http://thesimsocial.it/web-gallery/v2/styles/habboflashclient.css" type="text/css" />
<script src="http://thesimsocial.it/web-gallery/static/js/habboflashclient.js" type="text/javascript"></script>
<script src="http://thesimsocial.it/web-gallery/static/js/identity.js" type="text/javascript"></script>
<script type="text/javascript">
FlashExternalInterface.loginLogEnabled = true;

FlashExternalInterface.logLoginStep("web.view.start");

if (top == self) {
FlashHabboClient.cacheCheck();
}
var flashvars = {
"client.allow.cross.domain" : "0",
"client.notify.cross.domain" : "1",
"connection.info.host" : "5.193.33.141",
"connection.info.port" : "30000",
"site.url" : "http://5.193.33.141/",
"url.prefix" : "http://5.193.33.141/",
"client.reload.url" : "http://5.193.33.141/reauthenticate.php",
"client.fatal.error.url" : "http://5.193.33.141/clientutils.php?key=error",
"client.connection.failed.url" : "http://5.193.33.141/clientutils.php?key=error",
"external.variables.txt" : "http://www.bss.vg/gamedata/RELEASE63-34674-34624-201107011108/external_variables.txt",
"external.texts.txt" : "http://www.bss.vg/gamedata/RELEASE63-34674-34624-201107011108/external_flash_texts.txt",
"productdata.load.url" : "http://www.bss.vg/gamedata/9/productdata.txt",
"furnidata.load.url" : "http://www.bss.vg/gamedata/9/furnidata.txt",
"use.sso.ticket" : "1",
"sso.ticket" : "1052258100433411342520745084931064",
"processlog.enabled" : "0",
"account_id" : "1",
"client.starting" : "Attendere carricamente Loky hotel in corso . . .",
"flash.client.url" : "http://www.bss.vg/gamedata/RELEASE63-34674-34624-201107011108",
"user.hash" : "",
"facebook.user" : "1",
"has.identity" : "0",
"flash.client.origin" : "popup"
};
var params = {
"base" : "http://thesimsocial.it/gordon/RELEASE63-33413-33399-201105032308_181102fb6b76710b53e7536530c2afe0/",
"allowScriptAccess" : "always",
"menu" : "false"
};

if (!(HabbletLoader.needsFlashKbWorkaround())) {
params["wmode"] = "opaque";
}

FlashExternalInterface.signoutUrl = "https://www.habbo.it/account/logout?token=214b5aeba6";

var clientUrl = "http://thesimsocial.it/gordon/RELEASE63-33413-33399-201105032308_181102fb6b76710b53e7536530c2afe0/mykko.swf";
swfobject.embedSWF(clientUrl, "flash-container", "100%", "100%", "10.0.0", "http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/217/web-gallery/flash/expressInstall.swf", flashvars, params);

window.onbeforeunload = unloading;
function unloading() {
var clientObject;
if (navigator.appName.indexOf("Microsoft") != -1) {
clientObject = window["flash-container"];
} else {
clientObject = document["flash-container"];
}
try {
clientObject.unloading();
} catch (e) {}
}
</script>

<meta name="description" content="SOU Hotel: amici, divertimento, celebrità!" />
<meta name="keywords" content="habbo hotel, virtuale, mondo, social network, gratis, community, avatar, personaggio, chat, online, giovane, ragazzi, gioco di ruolo, giochi di ruolo, iscriviti, social, gruppi, forum, sicurezza, giocare, giochi, online, amici, giovani, rari, furni rari, collezione, creare, collezionare, connettersi, furni, mobili, cuccioli, animali, creazione stanze, condivisione, espressione, distintivi, badge, uscire, musica, VIP, celebrità, visite VIP, famosi, mmo, mmorpg, multiplayer" />



<!--[if IE 8]>
<link rel="stylesheet" href="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/217/web-gallery/v2/styles/ie8.css" type="text/css" />
<![endif]-->
<!--[if lt IE 8]>
<link rel="stylesheet" href="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/217/web-gallery/v2/styles/ie.css" type="text/css" />
<![endif]-->
<!--[if lt IE 7]>
<link rel="stylesheet" href="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/217/web-gallery/v2/styles/ie6.css" type="text/css" />
<script src="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/217/web-gallery/static/js/pngfix.js" type="text/javascript"></script>
<script type="text/javascript">
try { document.execCommand('BackgroundImageCache', false, true); } catch(e) {}
</script>

<style type="text/css">
body { behavior: url(/js/csshover.htc); }
</style>
<![endif]-->
<meta name="build" content="63-BUILD108 - 09.12.2010 11:58 - it" />
</head>

<body id="client" class="flashclient">
<div id="overlay"></div>
<img src="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/217/web-gallery/v2/images/page_loader.gif" style="position:absolute; margin: -1500px;" />

<div id="overlay"></div>
<div id="client-ui" >
<div id="flash-wrapper">
<div id="flash-container">
<div id="content" style="width: 400px; margin: 20px auto 0 auto; display: none">
<div class="cbb clearfix">
<h2 class="title">Aggiorna Flash Player all'ultima versione disponibile</h2>
<div class="box-content">
<p>Puoi scaricare e istallare Adobe Flash Player <a href="http://get.adobe.com/flashplayer/">da questa URL</a>. Puoi trovare le istruzioni di istallazione <a href="http://www.adobe.com/products/flashplayer/productinfo/instructions/">cliccando qui</a>.</p>
<p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/217/web-gallery/v2/images/client/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>
</div>
</div>
</div>
<script type="text/javascript">
$('content').show();
</script>
<noscript>
<div style="width: 400px; margin: 20px auto 0 auto; text-align: center">
<p>If you are not automatically redirected, please <a href="/client/nojs">click here</a></p>
</div>
</noscript>
</div>
</div>
<div id="content" class="client-content"></div>
</div>
<div style="display: none">
<div id="habboCountUpdateTarget">
4,727 Habbo in Hotel
</div>
<script language="JavaScript" type="text/javascript">
setTimeout(function() {
HabboCounter.init(600);
}, 20000);
</script>
</div>
<script type="text/javascript">
RightClick.init("flash-wrapper", "flash-container");
if (window.opener && window.opener != window && typeof window.opener.location.href != "undefined") {
window.opener.location.replace(window.opener.location.href);
}
$(document.body).addClassName("js");
HabboClient.startPingListener();
</script>

<div id="FB_HiddenIFrameContainer" style="display:none; position:absolute; left:-100px; top:-100px; width:0px; height: 0px;"></div>
<div id="fb-root"></div>


<script type="text/javascript">


window.fbAsyncInit = function() {


Cookie.erase("fbs_163345683587");


FB.init({appId: '163345683587', status: true, cookie: true, xfbml: true});


$(document).fire("fbevents:scriptLoaded");






};


window.assistedLogin = function(FBobject, optresponse) {





Cookie.erase("fbs_163345683587");


FB.init({appId: '163345683587', status: true, cookie: true, xfbml: true});






permissions = 'user_birthday,email';


defaultAction = function(response) {


fbConnectUrl = "/facebook?connect=true";


if (response.session) {


window.location.replace(fbConnectUrl);


}


};






if (typeof optresponse == 'undefined')


FBobject.login(defaultAction, {perms:permissions});


else


FBobject.login(optresponse, {perms:permissions});






};


(function() {


var e = document.createElement('script');


e.async = true;


e.src = document.location.protocol + '//connect.facebook.net/it_IT/all.js';


document.getElementById('fb-root').appendChild(e);


}());


</script> <script type="text/javascript">
FacebookIntegration.apiKey = "727e66fe4d5209d59d7271613cf07dc6";
FacebookIntegration.applicationId = "163345683587";
FacebookIntegration.applicationName = "habboit";
FacebookIntegration.badgeImagePath = "http://www.habbo.it/habbo-imaging/decorate/001";
FacebookIntegration.viralPresentImagePath = "http://www.habbo.it/habbo-imaging/decorate/005";
L10N.put("facebook.story.actionlink.text", "Gioca!");
L10N.put("facebook.story.name", "Messaggio da Habbo Hotel:");
L10N.put("facebook.story.registration.name", "Benvenuto in Habbo Hotel");
L10N.put("facebook.story.registration.description", "Inizia una nuova vita in Habbo Hotel!");
L10N.put("facebook.story.registration.prompt", "Ora sei un Habbo. Che ne pensi?");
L10N.put("facebook.story.achievement.prompt", "I tuoi amici muoiono dalla voglia di sapere cosa tu stia facendo!");
L10N.put("facebook.story.registration.caption", "{0} è appena entrato in Hotel!");
L10N.put("facebook.story.achievement.caption", "{0} ha appena sbloccato un Traguardo in Habbo.");
L10N.put("facebook.story.xmasviral.actionlink.text", "Open the package");
L10N.put("facebook.story.xmasviral.prompt", "Tell your friends you need their help!");
FacebookIntegration.initUI();
</script>
<iframe name="logframe" src="/logframe" width="0" height="0" frameborder="0" scrolling="no" marginwidth="0" marginheight="0" style="position: absolute; top:0; left:0"></iframe>
<iframe name="conversion-tracking" src="/conversion_tracking_frame" width="0" height="0" frameborder="0" scrolling="no" marginwidth="0" marginheight="0"></iframe>


<script src="http://www.google-analytics.com/ga.js" type="text/javascript"></script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-448325-20");
pageTracker._trackPageview();
window.setTimeout("pageTracker._setCustomVar(5,'facebook','client open',2);",2000);
</script>

<script type="text/javascript">
HabboView.run();
</script>

</body>
</html>

Aspetto una risposta il più presto possibile grazie.
 
Stato
Discussione chiusa ad ulteriori risposte.