Hello guys!
First of all, I downloaded (FrostCMS 2.0 with bug fixes) and fixed a lot of things, fixed the new layout, new .css new pages etc etc etc. But now there is a problem with the client! it just loads!
I have everything right in phpmyadmin/config and client.php and it client not working! ports are open and everything! It connects on localhost but not on a normal ip when I try to make it public :/
Rep++++
this is how my client.php look right now
Code:<?php if(!LOGGED_IN){ Site::Header(); } $base = Swf::Root(); $host = Swf::Host(); Site::forceWebbuild(); $wb = $_SESSION['wb']; ?> <!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:og="http://opengraphprotocol.org/schema/" xmlns:fb="http://www.facebook.com/2008/fbml"> <head> <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" /> <title>{sitename} Hotel: Client</title> <script type="text/javascript"> var andSoItBegins = (new Date()).getTime(); </script> <script src="http://images.habbo.com/habboweb/<?php echo $wb; ?>/web-gallery/static/js/libs2.js" type="text/javascript"></script> <script src="http://images.habbo.com/habboweb/<?php echo $wb; ?>/web-gallery/static/js/visual.js" type="text/javascript"></script> <script src="http://images.habbo.com/habboweb/<?php echo $wb; ?>/web-gallery/static/js/libs.js" type="text/javascript"></script> <script src="http://images.habbo.com/habboweb/<?php echo $wb; ?>/web-gallery/static/js/common.js" type="text/javascript"></script> <link rel="stylesheet" href="http://images.habbo.com/habboweb/<?php echo $wb; ?>/web-gallery/static/styles/common.css" type="text/css" /> <link rel="stylesheet" href="http://images.habbo.com/habboweb/<?php echo $wb; ?>/web-gallery/styles/habboflashclient.css" type="text/css" /> <script src="http://images.habbo.com/habboweb/<?php echo $wb; ?>/web-gallery/static/js/habboflashclient.js" type="text/javascript"></script> <script type="text/javascript"> var ad_keywords = "petschke,diwox,gender%3Am,age%3A17"; var ad_key_value = "kvage=17;kvgender=m;kvtags=diwox:petschke"; </script> <script type="text/javascript"> document.habboLoggedIn = true; var habboName = "{username}"; var habboId = {id}; var facebookUser = false; var habboReqPath = ""; var habboStaticFilePath = "http://images.habbo.com/habboweb/<?php echo $wb; ?>/web-gallery"; var habboImagerUrl = "{site}/habbo-imaging/"; var habboPartner = ""; var habboDefaultClientPopupUrl = "{site}/client"; window.name = "3981c0260af76a9eb267d9b2dd7cc602d4c7b7bf"; if (typeof HabboClient != "undefined") { HabboClient.windowName = "ClientWndw"; } </script> <script type="text/javascript"> FlashExternalInterface.loginLogEnabled = true; FlashExternalInterface.logLoginStep("web.view.start"); if (top == self) { FlashHabboClient.cacheCheck(); } var flashvars = { "client.allow.cross.domain" : "1", "client.notify.cross.domain" : "1", "connection.info.host" : "nobbo.hopto.org", "connection.info.port" : "30000", "site.url" : "<?php echo $host; ?>", "url.prefix" : "<?php echo $host; ?>", "client.reload.url" : "{site}/client", "client.fatal.error.url" : "{site}/client", "client.connection.failed.url" : "{site}/client", "external.variables.txt" : "<?php echo Swf::Vars(); ?>", "use.sso.ticket" : "1", "sso.ticket" : "<?php echo $user->sso(); ?>", "processlog.enabled" : "1", "account_id" : "{id}", "client.starting" : "{sitename} is loading, please wait", "flash.client.url" : "<?php echo $base; ?>", "user.hash" : "31385693ae558a03d28fc720be6b41cb1ccfec02", "has.identity" : "1", "flash.client.origin" : "popup", "logout.disconnect.url" : "{site}/client", "logout.url" : "{site}/account/logout?token={token}" }; var params = { "base" : "<?php echo $base; ?>", "allowScriptAccess" : "always", "menu" : "false" }; if (!(HabbletLoader.needsFlashKbWorkaround())) { params["wmode"] = "opaque"; } FlashExternalInterface.signoutUrl = "{site}/account/logout?token={token}"; var clientUrl = "<?php echo $base.Swf::File(); ?>"; swfobject.embedSWF(clientUrl, "flash-container", "100%", "100%", "10.0.0", "http://images.habbo.com/habboweb/<?php echo $wb; ?>/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> <!--[if IE 8]> <link rel="stylesheet" href="http://images.habbo.com/habboweb/<?php echo $wb; ?>/web-gallery/static/styles/ie8.css" type="text/css" /> <![endif]--> <!--[if lt IE 8]> <link rel="stylesheet" href="http://images.habbo.com/habboweb/<?php echo $wb; ?>/web-gallery/static/styles/ie.css" type="text/css" /> <![endif]--> <!--[if lt IE 7]> <link rel="stylesheet" href="http://images.habbo.com/habboweb/<?php echo $wb; ?>/web-gallery/static/styles/ie6.css" type="text/css" /> <script src="http://images.habbo.com/habboweb/<?php echo $wb; ?>/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]--> </head> <body id="client" class="flashclient" style="overflow: hidden;"> <div style="background: #000; position: absolute; z-index: 99; bottom: 55px; width: 60px; padding: 4px 10px; border-top-right-radius: 3px; border-bottom-right-radius: 3px;"> <a href="{site}/home" style="color: #fff; font-size: 15px; font-weight: bolder; font-family: arial;">« Home</a> </div> <div id="overlay"></div> <img src="http://images.habbo.com/habboweb/<?php echo $wb; ?>/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> <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="{site}/client">click here</a></p> </div> </noscript> </div> </div> <div id="content" class="client-content"></div> </div> <script type="text/javascript"> HabboView.run(); </script> </body> </html>



Reply With Quote


