Erro na Client RemiX V.4

4 participantes

FUN-Sheer FUN-Sheer  • 05.10.12 23:03

Erro na Client RemiX V.4 Empty Erro na Client RemiX V.4 05.10.12 23:03

Código da Client :
<?php
$myrealMEUIP = $_SERVER['REMOTE_ADDR'] = $_SERVER["HTTP_CF_CONNECTING_MEUIP"] ? $_SERVER["HTTP_CF_CONNECTING_MEUIP"] : $_SERVER["REMOTE_ADDR"];

require_once('./data_classes/server-data.php_data_classes-core.php.php');
require_once('./data_classes/server-data.php_data_classes-session.php.php');

$SQL=mysql_query("SELECT * FROM user_tickets WHERE userid = '".$my_id."'");
echo mysql_error();
$N=mysql_num_rows($SQL);
if($N==0){
mysql_query("INSERT INTO `user_tickets` SET `user_tickets`.`userid` = '".$my_id."', `user_tickets`.`sessionticket` = '".GenerateTicket()."', `user_tickets`.`MEUIPaddress` = '".$myrealMEUIP."'") or die(mysql_error());
}else{
mysql_query("UPDATE `user_tickets` SET `user_tickets`.`sessionticket` = '".GenerateTicket()."', `user_tickets`.`MEUIPaddress` = '".$myrealMEUIP."' WHERE `userid` = '".$my_id."'") or die(mysql_error());
}

$ticketsql = mysql_query("SELECT * FROM user_tickets WHERE userid = '".$my_id."'") or die(mysql_error());
$ticketrow = mysql_fetch_assoc($ticketsql);

$client_port = mysql_fetch_assoc($client_port = mysql_query("SELECT * FROM cms_settings WHERE variable = 'client_port'"));
$client_mus = mysql_fetch_assoc($client_mus = mysql_query("SELECT * FROM cms_settings WHERE variable = 'client_mus'"));
$client_MEUIP = mysql_fetch_assoc($client_MEUIP = mysql_query("SELECT * FROM cms_settings WHERE variable = 'client_MEUIP'"));
$client_variables = mysql_fetch_assoc($client_variables = mysql_query("SELECT * FROM cms_settings WHERE variable = 'client_variables'"));
$client_variables_night = mysql_fetch_assoc($client_variables_night = mysql_query("SELECT * FROM cms_settings WHERE variable = 'client_variables_night'"));
$client_texts = mysql_fetch_assoc($client_texts = mysql_query("SELECT * FROM cms_settings WHERE variable = 'client_texts'"));
$client_swf_path = mysql_fetch_assoc($client_swf_path = mysql_query("SELECT * FROM cms_settings WHERE variable = 'client_swf_path'"));
$client_habbo_swf = mysql_fetch_assoc($client_habbo_swf = mysql_query("SELECT * FROM cms_settings WHERE variable = 'client_habbo_swf'"));
$client_limit = mysql_fetch_assoc($client_limit = mysql_query("SELECT * FROM cms_settings WHERE variable = 'cms_clientlimit'"));
if($user_rank < 1 && $online_count >= $client_limit['value']){

require_once('./templates/login_subheader.php');
require_once('./templates/login_header.php');

?>
<br>
<div id="intermediate">
<h2><center>Límite de Clientes</center></h2>
<div id="enter-hotel">
<div class="open enter-btn">
<a href="http://servidor2.lavvos.com" target="client" onClick="return onClientOpen(this)">Ir al Servidor 2<i></i></a><b></b>
</div>
</div>

<div id="info">
Actualmente tenemos <b><?php echo $online_count; ?> <?php echo $shortname; ?>s </b> conectados en el Servidor 1 y el límite es de <b><?php echo $client_limit['value']; ?> Onlines.</b> Puedes intentar entrar en el <strong>Servidor 2</strong>.</div>

<?php require_once('./templates/login_footer.php'); }else{ require_once('./templates/client_subheader.php'); ?>
<scrMEUIPt type="text/javascrMEUIPt">

var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-32319454-1']);
_gaq.push(['_setDomainName', 'lavvos.net']);
_gaq.push(['_trackPageview']);

(function() {
var ga = document.createElement('scrMEUIPt'); ga.type = 'text/javascrMEUIPt'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('scrMEUIPt')[0]; s.parentNode.insertBefore(ga, s);
})();

</scrMEUIPt>
<scrMEUIPt type="text/javascrMEUIPt">
FlashExternalInterface.loginLogEnabled = true;

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

if (top == self) {
FlashHabboClient.cacheCheck();
}

var flashvars = {
"client.allow.cross.domain" : "1",
"client.notify.cross.domain" : "0",
"connection.info.host" : "MEUIP",
"connection.info.port" : "NÃOSEIAPORT",
"site.url" : "<?php echo $path; ?>",
"url.prefix" : "<?php echo $path; ?>",
"client.reload.url" : "<?php echo $path; ?>/client",
"client.fatal.error.url" : "<?php echo $path; ?>/clientutils",
"client.connection.failed.url" : "<?php echo $path; ?>/clientutils",
"external.hash" : "",
"external.variables.txt" : "http://MEUIP/swf/external_variables.txt",
"external.texts.txt" : "http://MEUIP/swf/external_flash_texts.txt",
"productdata.load.url" : "http://MEUIP/swf/productdata.txt",
"furnidata.load.url" : "http://MEUIP/swf/furnidata.txt",
"use.sso.ticket" : "1",
"sso.ticket" : "<?php echo $ticketrow['sessionticket']; ?>",
"processlog.enabled" : "1",
"account_id" : "1",
"client.starting" : "Por favor, espera... <?php echo $shortname; ?> se esta cargando",
"flash.client.url" : "http://MEUIP/swf/",
"user.hash" : "31385693ae558a03d28fc720be6b41cb1ccfec02",
"has.identity" : "1",
"flash.client.origin" : "popup"


};
var params = {
"base" : "http://MEUIP/swf/",
"allowScrMEUIPtAccess" : "always",
"menu" : "false"
};

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

FlashExternalInterface.signoutUrl = "<?php echo $path; ?>/account/logout?token=<?php echo sha1($myrow['password']); ?>";

var clientUrl = "http://MEUIP/swf/Habbo.swf";

swfobject.embedSWF(clientUrl, "flash-container", "100%", "100%", "10.0.0", "<?php echo $path; ?>/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) {}
}
</scrMEUIPt>

<meta name="descrMEUIPtion" content="Lavvo Hotel: haz amig@s, únete a la diversión y date a conocer." />
<meta name="keywords" content="lavvo hotel, mundo, virtual, red social, gratis, comunidad, personaje, chat, online, adolescente, roleplaying, unirse, social, grupos, forums, seguro, jugar, juegos, amigos, adolescentes, raros, furni raros, coleccionable, crear, coleccionar, conectar, furni, muebles, mascotas, diseño de salas, compartir, expresión, placas, pasar el rato, música, celebridad, visitas de famosos, celebridades, juegos en línea, juegos multijugador, multijugador masivo" />



<!--[if IE 8]>
<link rel="stylesheet" href="<?php echo $path; ?>/web-gallery/static/styles/ie8.css" type="text/css" />
<![endif]-->
<!--[if lt IE 8]>
<link rel="stylesheet" href="<?php echo $path; ?>/web-gallery/static/styles/ie.css" type="text/css" />
<![endif]-->
<!--[if lt IE 7]>
<link rel="stylesheet" href="<?php echo $path; ?>/web-gallery/static/styles/ie6.css" type="text/css" />
<scrMEUIPt src="<?php echo $path; ?>/web-gallery/static/js/pngfix.js" type="text/javascrMEUIPt"></scrMEUIPt>
<scrMEUIPt type="text/javascrMEUIPt">
try { document.execCommand('BackgroundImageCache', false, true); } catch(e) {}
</scrMEUIPt>

<style type="text/css">
body { behavior: url(/js/csshover.htc); }
</style>
<![endif]-->

<meta name="build" content="63-BUILD406 - 09.05.2011 23:04 - de" />
</head>
<body id="client" class="flashclient">
<div id="overlay"></div>
<img src="<?php echo $path; ?>/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">Por favor, actualiza tu Flash Player a la última versión</h2>

<div class="box-content">
<p>Puedes instalar y descargar Adobe Flash Player aquí: <a href="http://get.adobe.com/flashplayer/">Instala Flash player</a>. Más instrucciones para su instalación aquí: <a href="http://www.adobe.com/products/flashplayer/productinfo/instructions/">Más información</a></p>
<p><a href="http://www.adobe.com/go/getflashplayer"><img src="<?php echo $path; ?>/web-gallery/v2/images/client/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>
</div>
</div>

</div>
<scrMEUIPt type="text/javascrMEUIPt">
$('content').show();
</scrMEUIPt>

<noscrMEUIPt>
<div style="width: 400px; margin: 20px auto 0 auto; text-align: center">
<p>If you are not automatically redirected, please <a href="/client">click here</a></p>
</div>
</noscrMEUIPt>
</div>

</div>
<div id="fb-root"></div>
<scrMEUIPt type="text/javascrMEUIPt">
(function() {
var e = document.createElement('scrMEUIPt');
e.async = true;
e.src = '[url]https://connect.facebook.net/es_ES/all.js';[/url]
document.getElementById('fb-root').appendChild(e);
}());
</scrMEUIPt>

</body>
</html>

<?php } ?>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
o erro resulta nisso: https://2img.net/h/oi45.tinypic.com/f2uyq.jpg


Poderiam me dizer qual port é em "connection.info.port" : "NÃOSEIAPORT", ? agradeço.
PS: observem os locais onde dizem MEUIP, e vejam se está certo, uso RemiX v.4

avatar -Fαntαsy  • 05.10.12 23:29

Erro na Client RemiX V.4 Empty Re: Erro na Client RemiX V.4 05.10.12 23:29

Boa noite,

Amigo, coloque o código entre as tags code para que o tópico fique mais organizado.

Pelo print, ali está falando que ocorre um erro na linha 2 do seu client, ou seja, esta linha:
$myrealMEUIP = $_SERVER['REMOTE_ADDR'] = $_SERVER_CF_CONNECTING_MEUIP"] ?

Você teria que modificar tudo que está vermelho. Teste fazer isso e poste resultados.

Melhores Cumprimentos,
Kira.

FUN-Sheer FUN-Sheer  • 06.10.12 6:30

Erro na Client RemiX V.4 Empty Re: Erro na Client RemiX V.4 06.10.12 6:30

seguiu o mesmo erro, mas obrigada

Troy Troy  • 06.10.12 9:19

Erro na Client RemiX V.4 Empty Re: Erro na Client RemiX V.4 06.10.12 9:19

Tente usar o Apple Web Server, o mesmo se citua aqui no forúm.

TioBlitz TioBlitz  • 06.10.12 12:17

Erro na Client RemiX V.4 Empty Re: Erro na Client RemiX V.4 06.10.12 12:17

Estimado usuário , ...



Bom dia ,

Va em sua client e coloque substituir tudo , logo após coloque para substituir tudo que ta escrito MEUIP e em baixo coloque para substituir para o seu IP

Cumprimentos
Wallace.

avatar -Fαntαsy  • 06.10.12 15:32

Erro na Client RemiX V.4 Empty Re: Erro na Client RemiX V.4 06.10.12 15:32

Boa tarde,

Isto está errado, não são em todos esses locais que você deve colocar seu IP, tem local que o "MEUIP" está no meio da palavra, como nesta linha:
javascMEUIPript

Então, recomendo á você que troque o seu client, assim seu hotel funcionará normalmente. Poste resultados.

Melhores Cumprimentos,
Kira
Permissões neste sub-fórum
Não podes responder a tópicos

BH Servers

Recomendamos a BH Servers com proteção DDOS gratuita em Cloud Server de alta performance. Entrega imediata.