White Screen on CMS?

xXTrevXx

Member
Dec 29, 2015
66
3
Hello, i had my hotel going 100% just fine. no problems, but my VPS had ended up getting a Virus. i re-installed windows, and re-downloaded my CMS, i even tried getting new ones, to make sure nothing was corrupted... but that doesnt seem to help. when i go to my hotel link, all it does is go to a white page, it seems like its getting stuck on the First initial index. in the actual htdocs folder, not even in the skins. I say that because i opened the First index in my Notepad ++ and added an echo command, with "Hello" and i saw the word hello, and this is it. ive since changed the CMS, filled in all the settings details, and when i go to my site, again, white page. It IS up if anyone wants to check it out, maybe you can help me figure out the issue... its being ran off of xampp.

The Source of the White Page

”."><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" " ">
<html>
<head>
<title>Habbsane Hotel</title>
<meta name="keywords" content="Habbsane Hotel" />
<meta name="description" content="Habbsane Hotel" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
</head>
<frameset rows="100%">
<frame src="(Hotel-IP)" title="Habbsane Hotel" frameborder="0" noresize="noresize"/>
<noframes>
<body>
<h1>Habbsane Hotel</h1>
<p><a href="(Hotel-IP)"> </a></p>
</body>
</noframes>
</frameset>
</html>



its not getting re-directed to my skin

this is my htacess file:


RewriteEngine On


RewriteRule ^(|/)$ index.php?url=$1
RewriteRule ^([a-zA-Z0-9_-]+)(|/)$ index.php?url=$1
RewriteEngine on
RewriteRule ^(.*)\.htm$ $1.php [NC]


RewriteRule ^(|/)$ dashboard.html?page=$1
RewriteRule ^([a-zA-Z0-9_-]+)(|/)$ dashboard.html?url=$1

RewriteRule ^home/(.*)/?$ index.php?url=home&user=$1 [L,QSA]



this is my managment settings, (in app)

<?php
error_reporting(0);
if(!defined('IN_INDEX')) { die('Sorry, you cannot access this file.'); }
$_CONFIG['mysql']['connection_type'] = 'connect';
$_CONFIG['mysql']['hostname'] = 'habbsane-hotel.com';
$_CONFIG['mysql']['username'] = 'root';
$_CONFIG['mysql']['password'] = '(Password)';
$_CONFIG['mysql']['database'] = 'habbsane';

$_CONFIG['mysql']['port'] = '3306';
$_CONFIG['hotel']['server_ip'] = '(Hotel-IP)';
$_CONFIG['hotel']['url'] = '
$_CONFIG['hotel']['name'] = 'Habbsane';
$_CONFIG['hotel']['desc'] = 'Welcome to Habbsane Hotel!';
$_CONFIG['hotel']['email'] = '[email protected]';
$_CONFIG['hotel']['in_maint'] = false;
$_CONFIG['hotel']['motto'] = 'I am a new user to ' . $_CONFIG['hotel']['name'];
$_CONFIG['hotel']['credits'] = 7500;
$_CONFIG['hotel']['pixels'] = 2500;
$_CONFIG['hotel']['figure'] = 'hd-180-8.ca-3175-1408.ch-3222-92.lg-281-92.sh-295-73.hr-3163-1395';
$_CONFIG['hotel']['web_build'] = '63_1dc60c6d6ea6e089c6893ab4e0541ee0/2863';

$_CONFIG['hotel']['external_vars'] = '
$_CONFIG['hotel']['external_texts'] = '
$_CONFIG['hotel']['product_data'] = '
$_CONFIG['hotel']['furni_data'] = '
$_CONFIG['hotel']['swf_folder'] = '

$_CONFIG['template']['style'] = 'Custom-Habbo';
$_CONFIG['thehabbos']['username'] = 'Kryptos';
$_CONFIG['retro_top']['user'] = 'Kryptos';
$_CONFIG['recaptcha']['priv_key'] = '6LcZ58USAAAAABSV5px9XZlzvIPaBOGA6rQP2G43';
$_CONFIG['recaptcha']['pub_key'] = '6LcZ58USAAAAAAQ6kquItHl4JuTBWs-5cSKzh6DD';


And here is my vhosts file, since im using a virtual host for my apache (everything is done exactly the same as before... but ony this time... its not working)



<VirtualHost *:80>

DocumentRoot "C:/xampp/htdocs/
ServerName habbsane-hotel.com
<Directory "c:/xampp/htdocs/">
AllowOverride All
Require all Granted
</Directory>
</VirtualHost>

Any help is SERIOUSLY appreciated.
 
Last edited:

xXTrevXx

Member
Dec 29, 2015
66
3
i mean im like 50% sure its supposed to be 127.0.0.1, ive had it at my VPS's IP address when the hotel was actually working, which is forwared to, by my domain: habbsane-hotel.com. but i mean ive messed around with Just about every setting you can it seems,to try to get it going. ill try that. and ill keep you updated :)
its at habbsane-hotel.com, after 2 days of doing nothing but messing with settings

Edit: Also, if that were an issue, wouldnt it throw a sql error my way? something alog the lines of "cant connect to mysql host"

Second Edit: Yeah, changing that back to 127.0.0.1 didnt do anything. Thanks tho <3
 
Last edited:

xXTrevXx

Member
Dec 29, 2015
66
3
yes ive been trying any cms i can find to be honest, ive got like 3 different versions of rev. ill continue looking, of course. ill let you guys know what happens with it. thank you for the suggestions
 

xXTrevXx

Member
Dec 29, 2015
66
3
i will mention again that its not even my client thats messed up, what is white, is the CMS period. like, you go to my website, and its nothing but white page. no login no nothing
 
So, now it IS my client that is white. i figured out my original issue, was a bad install of windows from when i had to reinstall. Now... my client is white. pretty sure i have my SWFs linked right, went through and made sure my external variables were correct. Not really quite sure what the issue could be? now try to remember. all the setting i have worked not longer than a week ago. You can see my config.php in managment, in my first post. so you can see its linking to my /game folder...

Here is my Clients Config:


<!DOCTYPE html>

<?php

require_once 'findretros_config.php';
require_once 'findretros.php';

$FindRetros = new FindRetros();

if($FindRetros->hasClientVoted()) {

echo 'You have voted!';

}else{

// echo 'You have yet to vote!';

$FindRetros->redirectClientToVote();

}
?>
<html lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<title>Habbsane Hotel - Client</title>

<link rel="stylesheet" href="{url}/app/tpl/skins/Custom-Habbo/styles/client.css" type="text/css">

<script type="text/javascript" src="{url}/app/tpl/skins/Custom-Habbo/js/swfobject.js"></script>
<script type="text/javascript">
var BaseUrl = " ";
var flashvars =
{
"client.starting" : "Please wait, Habbsane Hotel is loading",
"hotelview.banner.url" : " ",
"client.allow.cross.domain" : "1",
"client.notify.cross.domain" : "0",
"connection.info.host" : "habbsane-hotel.com",
"connection.info.port" : "30000",
"site.url" : " ",
"url.prefix" : " ",
"client.reload.url" : " ",
"client.fatal.error.url" : " ",
"client.connection.failed.url" : " ",
"external.variables.txt" : " ",
"external.texts.txt" : " ",
"productdata.load.url" : " ",
"furnidata.load.url" : " ",
"use.sso.ticket" : "1",
"sso.ticket" : "{sso}",
"processlog.enabled" : "0",
"flash.client.url" : BaseUrl,
"flash.client.origin" : "popup"
};
var params =
{
"base" : BaseUrl + "/",
"allowScriptAccess" : "always",
"menu" : "false"
};
swfobject.embedSWF(BaseUrl + "/Habbo.swf", "client", "100%", "100%", "10.0.0", " ", flashvars, params, null);
</script>
</head>

<body>

<div id="client"></div>

</body>
</html>
 

Kak

Posting Freak
Apr 21, 2017
951
165
assuming youre using plus, try this client.php

Code:
<!DOCTYPE html>
<html lang="en">
    <head>
        <link rel="shortcut icon" href="{url}/app/tpl/skins/{skin}/images/favicon.ico" type="image/vnd.microsoft.icon"/>
        <meta http-equiv="content-type" content="text/html; charset=utf-8">
        <title>{hotelName} Hotel</title>
     
        <link rel="stylesheet" href="{url}/app/tpl/skins/Custom-Habbo/styles/client.css" type="text/css">
     
        <script type="text/javascript" src="{url}/app/tpl/skins/Custom-Habbo/js/swfobject.js"></script>
        <script type="text/javascript">
            var BaseUrl = "{url}/game/gordon/PRODUCTION-201701242205-837386173/";
            var flashvars =
            {
                "client.allow.cross.domain" : "1",
                "client.notify.cross.domain" : "0",            
                "connection.info.host" : "IP",
                "connection.info.port" : "30000",
                "site.url" : "{url}",
                "url.prefix" : "{url}",
                "client.reload.url" : "{url}/disconnected",
                "client.fatal.error.url" : "{url}/disconnected",
                "client.connection.failed.url" : "{url}/disconnected",
                "external.variables.txt" : "{url}/game/gamedata/external_variables.txt",
                "external.texts.txt" : "{url}/game/gamedata/external_flash_texts.txt",
                "external.override.texts.txt" : "{url}/game/gamedata/override/external_flash_override_texts.txt",
                "external.override.variables.txt" : "{url}/game/gamedata/override/external_override_variables.txt",
                "external.figurepartlist.txt" : "{url}/game/gamedata/figuredata.xml",
                "productdata.load.url" : "{url}/game/gamedata/productdata.txt",
                "furnidata.load.url" : "{url}/game/gamedata/furnidata.xml",
                "use.sso.ticket" : "1",
                "sso.ticket" : "{sso}",
                "client.starting" : "Please wait! {hotelName} is starting up.",            
                "processlog.enabled" : "0",
                "flash.client.url" : BaseUrl,
                "client.starting.revolving" : "Whololo/Tijd is maar een illusie./Gotta go fast!/Your computer might blow up./Don't panic!/You might die./Get yourself a drink while waiting./Whats that noise?/",
                "flash.client.origin" : "popup"        
            };
            var params =
            {
                "base" : BaseUrl + "/",
                "allowScriptAccess" : "always",
                "menu" : "false"            
            };
            swfobject.embedSWF(BaseUrl + "/Habbo.swf", "client", "100%", "100%", "10.0.0", "{url}/game/gordon/PRODUCTION-201701242205-837386173/expressInstall.swf", flashvars, params, null);
        </script>
    </head>
 
    <body>
 
        <div id="client"></div>

    </body>
</html>
 
or i noticed on your client.php that you put habbsane-hotel.com for the connection.info.host when it should be your vps ip
Code:
"connection.info.host" : "habbsane-hotel.com",
change that to your vps ip not domain.
 

xXTrevXx

Member
Dec 29, 2015
66
3
i did try to change my conncection host back to the IP (but like i said, it WORKED before... so i dont see why its not now....) and it didnt do anything, ill try to change out the client.php right now, already had to replace the one it came with because it didnt work. using silverwave by the way (and again.. the hotel worked 100% for over a month. i have all new files, set up EXACTLY the same) one thing i thought i should ask about... why is it making me delete the {urls}'s? like, in order for me to get a page to show up 100% correctly, i have to take out the {url} tags from all the links, the page chows up, but with no css white background basic font, no pictures etc, but i delete the {urls}'s and the page looks fine...... does anyone know why that could posisbly be??? like, when i had my hotel going the first time, what i had worked 100% had to do no changes to get it going... but now im having to delete shit that doesnt even make sense.... like, in order for me to get my me, page to show up i had to make it look like this:



<link rel="stylesheet" href="/app/tpl/skins/{skin}/styles/common.css" type="text/css">
<script type="text/javascript" src="/app/tpl/skins/{skin}/js/libs2.js"></script>
<script type="text/javascript" src="/app/tpl/skins/{skin}/js/visual.js"></script>
<script type="text/javascript" src="/app/tpl/skins/{skin}/js/libs.js"></script>
<script type="text/javascript" src="/app/tpl/skins/{skin}/js/common.js"></script>
<script type="text/javascript" src="/app/tpl/skins/{skin}/js/fullcontent.js"></script>
<link rel="shortcut icon" href="/app/tpl/skins/{skin}/static/images/favicon.gif" />


instead of:


<link rel="stylesheet" href="{url}/app/tpl/skins/{skin}/styles/common.css" type="text/css">
<script type="text/javascript" src="{url}/app/tpl/skins/{skin}/js/libs2.js"></script>
<script type="text/javascript" src="{url}/app/tpl/skins/{skin}/js/visual.js"></script>
<script type="text/javascript" src="{url}/app/tpl/skins/{skin}/js/libs.js"></script>
<script type="text/javascript" src="{url}/app/tpl/skins/{skin}/js/common.js"></script>
<script type="text/javascript" src="{url}/app/tpl/skins/{skin}/js/fullcontent.js"></script>
<link rel="shortcut icon" href="app/tpl/skins/{skin}/static/images/favicon.gif" />

another thing to mention, im making the changes from my VPS, then checking them on an outside computer, so it 100% isnt just me.
 
dude, wtf is going on... i replaced my client.php with the one you gave be, but i thought about it... look what i did with it:


<!DOCTYPE html>
<html lang="en">
<head>
<link rel="shortcut icon" href="/app/tpl/skins/{skin}/images/favicon.ico" type="image/vnd.microsoft.icon"/>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<title>{hotelName} Hotel</title>

<link rel="stylesheet" href="/app/tpl/skins/Custom-Habbo/styles/client.css" type="text/css">

<script type="text/javascript" src="/app/tpl/skins/Custom-Habbo/js/swfobject.js"></script>
<script type="text/javascript">
var BaseUrl = "/game/";
var flashvars =
{
"client.allow.cross.domain" : "1",
"client.notify.cross.domain" : "0",
"connection.info.host" : "IP",
"connection.info.port" : "30000",
"site.url" : "",
"url.prefix" : "",
"client.reload.url" : "/disconnected",
"client.fatal.error.url" : "/disconnected",
"client.connection.failed.url" : "/disconnected",
"external.variables.txt" : "/game/external_variables.txt",
"external.texts.txt" : "/game/external_flash_texts.txt",
"external.override.texts.txt" : "/game/override/external_flash_override_texts.txt",
"external.override.variables.txt" : "/game/override/external_override_variables.txt",
"external.figurepartlist.txt" : "/game/figuredata.xml",
"productdata.load.url" : "/game/productdata.txt",
"furnidata.load.url" : "/game/furnidata.xml",
"use.sso.ticket" : "1",
"sso.ticket" : "{sso}",
"client.starting" : "Please wait! {hotelName} is starting up.",
"processlog.enabled" : "0",
"flash.client.url" : BaseUrl,
"client.starting.revolving" : "Whololo/Tijd is maar een illusie./Gotta go fast!/Your computer might blow up./Don't panic!/You might die./Get yourself a drink while waiting./Whats that noise?/",
"flash.client.origin" : "popup"
};
var params =
{
"base" : BaseUrl + "/",
"allowScriptAccess" : "always",
"menu" : "false"
};
swfobject.embedSWF(BaseUrl + "/Habbo.swf", "client", "100%", "100%", "10.0.0", "/game/expressInstall.swf", flashvars, params, null);
</script>
</head>
<body>
<div id="client"></div>

</body>
</html>



THIS GOT ME TO A LOADING SCREEN. NOT EVEN WHITE ;-;
got a response from the emulator...


BUT its not going passed that, just black screen.
 
Last edited:

xXTrevXx

Member
Dec 29, 2015
66
3
i mean, my browser was already set for it. i havent changed anything. went in and made sure it was enabled, check. in trusted sites, check.

ill get my staff to try to login, and see what they have to say, thanks tho JMG
 
wow okay, so... i went in and changed back to my old client.php. took out all the urls's to my site. so its just left /game/...etc went in the externam variables, took out my link, and its working... what the fuck... so i gotta go back into all my CMS pages, and edit the links out, it seems like my VPS is just adding my link to EVERYTHING .-. like, what the hell. anybody ever have this kind of thing happen before?
 

NathanCarn3y

Leaving a legacy
Sep 14, 2016
625
195
i mean, my browser was already set for it. i havent changed anything. went in and made sure it was enabled, check. in trusted sites, check.

ill get my staff to try to login, and see what they have to say, thanks tho JMG
 
wow okay, so... i went in and changed back to my old client.php. took out all the urls's to my site. so its just left /game/...etc went in the externam variables, took out my link, and its working... what the fuck... so i gotta go back into all my CMS pages, and edit the links out, it seems like my VPS is just adding my link to EVERYTHING .-. like, what the hell. anybody ever have this kind of thing happen before?
I haven't have this happen before unfortunately.
 

Users who are viewing this thread

Top