Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Server Development
Habbo Retros
Habbo Q&A
Client Not Connecting
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="JayC" data-source="post: 302147" data-attributes="member: 36373"><p>Usually I am able to solve these problems but my cms has gotten a little messed up since I started editing... My Client was loading and disconnecting when I went to work and I figured i would fix it another time, here is my client.php:</p><p></p><p>[CODE]<?php</p><p> </p><p> Header("Location: " . WWW . "/client");</p><p></p><p>?>[/CODE]</p><p></p><p>Page-client.php:</p><p></p><p>[CODE]<?php</p><p>$getSettings = dbquery("SELECT * FROM users WHERE username = '" . USER_NAME . "'");</p><p>$userAccount = mysql_fetch_assoc($getSettings);</p><p>?></p><p><script type="text/javascript"></p><p> FlashExternalInterface.loginLogEnabled = true;</p><p> </p><p> FlashExternalInterface.logLoginStep("web.view.start");</p><p> </p><p> if (top == self) {</p><p> </p><p> FlashHabboClient.cacheCheck();</p><p> }</p><p></p><p> var habboReqPath = "%www%";</p><p> </p><p> var flashvars = {</p><p> "client.allow.cross.domain" : "1",</p><p> "client.notify.cross.domain" : "1",</p><p> "connection.info.host" : "PROXY",</p><p> "connection.info.port" : "PROXY PORT",</p><p> "site.url" : "%site_url%",</p><p> "url.prefix" : "%site_url%",</p><p> "client.reload.url" : "%www%/client",</p><p> "client.fatal.error.url" : "%www%/client",</p><p> "client.connection.failed.url" : "%www%/client",</p><p> "external.variables.txt" : "%external_variables_txt%",</p><p> "external.texts.txt" : "%external_texts_txt%",</p><p> "productdata.load.url" : "%productdata_load_url%",</p><p> "furnidata.load.url" : "%furnidata_load_url%",</p><p> "use.sso.ticket" : "1",</p><p> "sso.ticket" : "%sso_ticket%",</p><p> "processlog.enabled" : "1",</p><p> "account_id" : "19927505",</p><p> "client.starting" : "%client_starting%",</p><p> "flash.client.url" : "%www%/client",</p><p> "user.hash" : "<?php echo sha1(USER_ID); ?>",</p><p> "flash.client.origin" : "popup",</p><p> </p><p> };</p><p></p><p> var params = {</p><p> "base" : "%swf_base_dir%",</p><p> "allowScriptAccess" : "always",</p><p> "menu" : "false" </p><p> };</p><p> </p><p> if (!(HabbletLoader.needsFlashKbWorkaround())) {</p><p> params["wmode"] = "opaque";</p><p> }</p><p> </p><p> </p><p> var clientSWF = "LINK/r63/habbo.swf";</p><p> </p><p> </p><p> </p><p> </p><p> var clientUrl = "/flashplayer/expressinstall.swf";</p><p> swfobject.embedSWF(clientUrl, "flash-container", "100%", "100%", "10.0.0", "%web_gallery%/flash/expressInstall.swf", flashvars, params);</p><p> window.onbeforeunload = unloading;</p><p> function unloading() {</p><p> var clientObject;</p><p> if (navigator.appName.indexOf("Microsoft") != -1) {</p><p> clientObject = window["flash-container"];</p><p> } else {</p><p> clientObject = document["flash-container"];</p><p> }</p><p> try {</p><p> clientObject.unloading();</p><p> } catch (e) {}</p><p> }</p><p></script></p><p></p><p></p><p></p><p><meta name="description" content="Check into the world’s largest virtual hotel for FREE! Meet and make friends, play games, chat with others, create your avatar, design rooms and more…" /></p><p><meta name="keywords" content="Aeon hotel, virtual, world, social network, free, community, avatar, chat, online, teen, roleplaying, join, social, groups, forums, safe, play, games, online, friends, teens, rares, rare furni, collecting, create, collect, connect, furni, furniture, pets, room design, sharing, expression, badges, hangout, music, celebrity, celebrity visits, celebrities, mmo, mmorpg, massively multiplayer" /></p><p></p><p></p><p></p><p></p><p><!--[if IE 8]></p><p><link rel="stylesheet" href="%web_gallery%/v2/styles/ie8.css" type="text/css" /></p><p><![endif]--></p><p><!--[if lt IE 8]></p><p><link rel="stylesheet" href="%web_gallery%/v2/styles/ie.css" type="text/css" /></p><p><![endif]--></p><p><!--[if lt IE 7]></p><p><link rel="stylesheet" href="%web_gallery%/v2/styles/ie6.css" type="text/css" /></p><p><script src="%web_gallery%/static/js/pngfix.js" type="text/javascript"></script></p><p><script type="text/javascript"></p><p>try { document.execCommand('BackgroundImageCache', false, true); } catch(e) {}</p><p></script></p><p></p><p><style type="text/css"></p><p>body { behavior: url(/js/csshover.htc); }</p><p></style></p><p><![endif]--></p><p><link rel="stylesheet" href="/web-gallery/flash.css" type="text/css" /></p><p><link rel="stylesheet" href="buttons.css" type="text/css" /></p><p></head></p><p></p><p><div id="overlay"></div></p><p><div id="embed-topbar"></p><p><div id="fullscreen-button"></p><p><font size="5"><center><p><b>&nbsp;&nbsp;Hotel Quick Links Bar</b></p></center></font></p><p></p><p></p><p></div></p><p> <div id="navi"></p><p> <a target="_blank" href="/values.php">Rare Values &raquo</font></a></p><p> <span>|</span></p><p> </p><p> <a target="_blank" href="/vault.php">Vault &raquo</font></a></p><p> </p><p> <span>|</span></p><p> <a target="_blank" href="/jobs.php">Trial Apps &raquo</font></a></p><p> </p><p> </p><p> </p><p> </p><p></p><p> </div></p><p></p><p><div id="right-buttons"></p><p><a target="_blank" href="/development.php " class="new-button" target=""><b>Ranks &raquo</b><i></i></a></p><p><a target="_blank" href="/vip " class="new-button" target=""><b>Shop &raquo</b><i></i></a></p><p><a target="_blank" href="/articles " class="new-button" target=""><b>News &raquo</b><i></i></a></p><p><a target="_blank" href="/me " class="new-button" target=""><b>%habboName% &raquo</b><i></i></a></p><p></p><p></p><p></p><p></div></p><p></div></p><p><script type="text/javascript"></p><p> Embed.decorateNaviLinks();</p><p> Embed.decorateLogoLink();</p><p></script></p><p><div id="overlay"></div></p><p><div id="client-ui" class="embed"></p><p></p><p> <div id="flash-wrapper"></p><p> <div id="flash-container"></p><p> <div id="content" style="width: 400px; margin: 20px auto 0 auto; display: none"></p><p><div class="cbb clearfix"></p><p> </div></p><p></div></p><p><body id="client" class="flashclient"></p><p></p><p><div id="overlay"></div></p><p></p><p><img src="%web_gallery%/v2/images/page_loader.gif" style="position:absolute; margin: -1500px;" /></p><p></p><p> </p><p><div id="overlay"></div></p><p></p><p><div id="client-ui" ></p><p> <div id="flash-wrapper"></p><p> </p><p> <div id="flash-container"></p><p> </p><p> <div id="content" style="width: 400px; margin: 20px auto 0 auto; display: none"></p><p></p><p><div class="cbb clearfix"></p><p> <h2 class="title">Please update your Flash Player to the latest version.</h2></p><p> <div class="box-content"></p><p> <p>You can install and download Adobe Flash Player here: <a href="http://get.adobe.com/flashplayer/">Install flash player</a>. More instructions for installation can be found here: <a href="http://www.adobe.com/products/flashplayer/productinfo/instructions/">More information</a></p></p><p> <p><a href="http://www.adobe.com/go/getflashplayer"><img src="%web_gallery%/v2/images/client/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p></p><p> </div></p><p></div></p><p></p><p> </div></p><p> <script type="text/javascript"></p><p> $('content').show();</p><p> </script></p><p> <noscript></p><p> <div style="width: 400px; margin: 20px auto 0 auto; text-align: center"></p><p> <p>If you are not automatically redirected, please <a href="/client/nojs">click here</a></p></p><p> </div></p><p> </noscript></p><p> </div></p><p> </div></p><p> <div id="overlay"></div></p><p></p><p> <div id="content" class="client-content"></div> </p><p></div></p><p> <div style="display: none"></p><p> </p><p></p><p><div id="habboCountUpdateTarget"></p><p>%hotel_status%</p><p></div></p><p> <script language="JavaScript" type="text/javascript"></p><p> setTimeout(function() {</p><p> HabboCounter.init(600);</p><p> }, 20000);</p><p> </p><p> </script></p><p> </div></p><p> </p><p> <script type="text/javascript"></p><p> RightClick.init("flash-wrapper", "flash-container");</p><p> if (window.opener && window.opener != window && typeof window.opener.location.href != "undefined") {</p><p> window.opener.location.replace(window.opener.location.href);</p><p> }</p><p> $(document.body).addClassName("js");</p><p> HabboClient.startPingListener();</p><p> </script></p><p></p><p><script type="text/javascript"></p><p> HabboView.run();</p><p></script></p><p></p><p><script type="text/javascript"></p><p></p><p> var _gaq = _gaq || [];</p><p> _gaq.push(['_setAccount', 'UA-15697942-2']);</p><p> _gaq.push(['_trackPageview']);</p><p></p><p> (function() {</p><p> var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;</p><p> ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';</p><p> var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);</p><p> })();</p><p></p><p></script></p><p></p><p></body></p><p></html>[/CODE]</p><p></p><p>What its doing:</p><p></p><p>Instead of going to /client it goes to /WWW/client (Its not doing the php) I have no idea why ;l</p></blockquote><p></p>
[QUOTE="JayC, post: 302147, member: 36373"] Usually I am able to solve these problems but my cms has gotten a little messed up since I started editing... My Client was loading and disconnecting when I went to work and I figured i would fix it another time, here is my client.php: [CODE]<?php Header("Location: " . WWW . "/client"); ?>[/CODE] Page-client.php: [CODE]<?php $getSettings = dbquery("SELECT * FROM users WHERE username = '" . USER_NAME . "'"); $userAccount = mysql_fetch_assoc($getSettings); ?> <script type="text/javascript"> FlashExternalInterface.loginLogEnabled = true; FlashExternalInterface.logLoginStep("web.view.start"); if (top == self) { FlashHabboClient.cacheCheck(); } var habboReqPath = "%www%"; var flashvars = { "client.allow.cross.domain" : "1", "client.notify.cross.domain" : "1", "connection.info.host" : "PROXY", "connection.info.port" : "PROXY PORT", "site.url" : "%site_url%", "url.prefix" : "%site_url%", "client.reload.url" : "%www%/client", "client.fatal.error.url" : "%www%/client", "client.connection.failed.url" : "%www%/client", "external.variables.txt" : "%external_variables_txt%", "external.texts.txt" : "%external_texts_txt%", "productdata.load.url" : "%productdata_load_url%", "furnidata.load.url" : "%furnidata_load_url%", "use.sso.ticket" : "1", "sso.ticket" : "%sso_ticket%", "processlog.enabled" : "1", "account_id" : "19927505", "client.starting" : "%client_starting%", "flash.client.url" : "%www%/client", "user.hash" : "<?php echo sha1(USER_ID); ?>", "flash.client.origin" : "popup", }; var params = { "base" : "%swf_base_dir%", "allowScriptAccess" : "always", "menu" : "false" }; if (!(HabbletLoader.needsFlashKbWorkaround())) { params["wmode"] = "opaque"; } var clientSWF = "LINK/r63/habbo.swf"; var clientUrl = "/flashplayer/expressinstall.swf"; swfobject.embedSWF(clientUrl, "flash-container", "100%", "100%", "10.0.0", "%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="Check into the world’s largest virtual hotel for FREE! Meet and make friends, play games, chat with others, create your avatar, design rooms and more…" /> <meta name="keywords" content="Aeon hotel, virtual, world, social network, free, community, avatar, chat, online, teen, roleplaying, join, social, groups, forums, safe, play, games, online, friends, teens, rares, rare furni, collecting, create, collect, connect, furni, furniture, pets, room design, sharing, expression, badges, hangout, music, celebrity, celebrity visits, celebrities, mmo, mmorpg, massively multiplayer" /> <!--[if IE 8]> <link rel="stylesheet" href="%web_gallery%/v2/styles/ie8.css" type="text/css" /> <![endif]--> <!--[if lt IE 8]> <link rel="stylesheet" href="%web_gallery%/v2/styles/ie.css" type="text/css" /> <![endif]--> <!--[if lt IE 7]> <link rel="stylesheet" href="%web_gallery%/v2/styles/ie6.css" type="text/css" /> <script src="%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]--> <link rel="stylesheet" href="/web-gallery/flash.css" type="text/css" /> <link rel="stylesheet" href="buttons.css" type="text/css" /> </head> <div id="overlay"></div> <div id="embed-topbar"> <div id="fullscreen-button"> <font size="5"><center><p><b> Hotel Quick Links Bar</b></p></center></font> </div> <div id="navi"> <a target="_blank" href="/values.php">Rare Values »</font></a> <span>|</span> <a target="_blank" href="/vault.php">Vault »</font></a> <span>|</span> <a target="_blank" href="/jobs.php">Trial Apps »</font></a> </div> <div id="right-buttons"> <a target="_blank" href="/development.php " class="new-button" target=""><b>Ranks »</b><i></i></a> <a target="_blank" href="/vip " class="new-button" target=""><b>Shop »</b><i></i></a> <a target="_blank" href="/articles " class="new-button" target=""><b>News »</b><i></i></a> <a target="_blank" href="/me " class="new-button" target=""><b>%habboName% »</b><i></i></a> </div> </div> <script type="text/javascript"> Embed.decorateNaviLinks(); Embed.decorateLogoLink(); </script> <div id="overlay"></div> <div id="client-ui" class="embed"> <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"> </div> </div> <body id="client" class="flashclient"> <div id="overlay"></div> <img src="%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">Please update your Flash Player to the latest version.</h2> <div class="box-content"> <p>You can install and download Adobe Flash Player here: <a href="http://get.adobe.com/flashplayer/">Install flash player</a>. More instructions for installation can be found here: <a href="http://www.adobe.com/products/flashplayer/productinfo/instructions/">More information</a></p> <p><a href="http://www.adobe.com/go/getflashplayer"><img src="%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="overlay"></div> <div id="content" class="client-content"></div> </div> <div style="display: none"> <div id="habboCountUpdateTarget"> %hotel_status% </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> <script type="text/javascript"> HabboView.run(); </script> <script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-15697942-2']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); </script> </body> </html>[/CODE] What its doing: Instead of going to /client it goes to /WWW/client (Its not doing the php) I have no idea why ;l [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
Client Not Connecting
Top