Page doesn't load (RevCMS + Azure EMU/SWFs + XAMPP)

Results 1 to 10 of 10
  1. #1
    Apprentice Expression93 is offline
    MemberRank
    Jan 2015 Join Date
    10Posts

    sad Page doesn't load (RevCMS + Azure EMU/SWFs + XAMPP)

    I'm not sure what I've done wrong, but I've followed a couple different guides trying to splice them together to get something that seems to cover all the steps to get my setup working.

    Anyway, I've got the Emu executable working and it launches fine, but when I the RevCMS install is what appears broken, as when I try to go to the URL in my browser the page just doesn't load (it never even redirects or anything, just won't load at all).

    The only thing that doesn't fit with the guides is I am using Azure SWFs and the external_ files are .xml not .txt but that's about it?


    I think this problem started however, after I edited app/management/config.php


    I think I should point out though that I am trying to run the CMS on port 8080, not 80 as is default.


  2. #2
    R.I.P Millercent FatalLulz is offline
    MemberRank
    Nov 2012 Join Date
    AustraliaLocation
    2,248Posts

    Re: Page doesn't load (RevCMS + Azure EMU/SWFs + XAMPP)

    Xampp by default uses port 80. So you'll have to change the main port it runs on to 8080 and then add :8080 to the end of every link like such; siteurl.com:8080/index

    http://complete-concrete-concise.com...-port-in-xampp

  3. #3
    Apprentice Expression93 is offline
    MemberRank
    Jan 2015 Join Date
    10Posts

    Re: Page doesn't load (RevCMS + Azure EMU/SWFs + XAMPP)

    I've done the config to allow Apache to listen on Port 8080, I'm fairly competent when it comes to apache etc, but I just don't seem to be able to get the CMS to load.

  4. #4
    R.I.P Millercent FatalLulz is offline
    MemberRank
    Nov 2012 Join Date
    AustraliaLocation
    2,248Posts

    Re: Page doesn't load (RevCMS + Azure EMU/SWFs + XAMPP)

    In the config.php did you set the default link as siteurl.com:8080

  5. #5
    Apprentice Expression93 is offline
    MemberRank
    Jan 2015 Join Date
    10Posts

    Re: Page doesn't load (RevCMS + Azure EMU/SWFs + XAMPP)

    Ok. An oversight whilst I was tired resulted in me using the wrong IP address in some sections of the configuration, I've since changed back to using port 80 as well as using an A record domain name as opposed to the IP itself, this has allowed the CMS to load and I've registered, however...

    I now got the Client to open by clicking 'Enter Hotel' but it loads to 87% hangs for a while then redirects me back to /me

    Also, the housekeeping doesn't let me login, and I've changed my rank in the SQL table.
    Last edited by Expression93; 12-02-15 at 03:07 AM.

  6. #6
    R.I.P Millercent FatalLulz is offline
    MemberRank
    Nov 2012 Join Date
    AustraliaLocation
    2,248Posts

    Re: Page doesn't load (RevCMS + Azure EMU/SWFs + XAMPP)

    Paste your configs regarding your client and your vars.

  7. #7
    Apprentice Expression93 is offline
    MemberRank
    Jan 2015 Join Date
    10Posts

    Re: Page doesn't load (RevCMS + Azure EMU/SWFs + XAMPP)

    Ok I saw someone's reply in another thread, they told me to change the port of Azure to 30000 which I have, now a connection attempt shows but I get the following:
    INCOMING REFUSED 4000
    INCOMING HANDLED 822

    OUTGOING PREPARED 370
    *At this point I get a long spam of random numbers/letters.*
    EDIT:
    After trying the fix referred to by KyleelsProzZ in this thread - just to see if it resolved any part of the problem, I now just get a black screen when I open the client and the Azure EMU shows no connection attempts. I have also opened the page and pressed F12 and checked the Console box, but it shows no errors.

    EDIT 2:
    I have just noticed it was using the wrong port in my client.php which I changed, upon fixing this the swf loaded perfectly and I got to hotel view for a moment, then the page refreshed and sent me back to /me - I've tried several times and it forwards me back to /me every time. The Azure.exe shows a connection and outputs loads of logs but nothing really seems to indicate any problems.
    Last edited by Expression93; 12-02-15 at 04:41 PM.

  8. #8
    Account Upgraded | Title Enabled! KyleeIsProzZ is offline
    MemberRank
    Oct 2012 Join Date
    C:Location
    548Posts

    Re: Page doesn't load (RevCMS + Azure EMU/SWFs + XAMPP)

    Quote Originally Posted by Expression93 View Post
    Ok I saw someone's reply in another thread, they told me to change the port of Azure to 30000 which I have, now a connection attempt shows but I get the following:


    EDIT:
    After trying the fix referred to by KyleelsProzZ in this thread - just to see if it resolved any part of the problem, I now just get a black screen when I open the client and the Azure EMU shows no connection attempts. I have also opened the page and pressed F12 and checked the Console box, but it shows no errors.

    EDIT 2:
    I have just noticed it was using the wrong port in my client.php which I changed, upon fixing this the swf loaded perfectly and I got to hotel view for a moment, then the page refreshed and sent me back to /me - I've tried several times and it forwards me back to /me every time. The Azure.exe shows a connection and outputs loads of logs but nothing really seems to indicate any problems.
    Use my tutorial I posted a link to, it;s in the Habbo Tutorials, that should fix the hotelview dc. As numerous users have had this, even myself.
    Last edited by KyleeIsProzZ; 12-02-15 at 09:21 PM.

  9. #9
    Apprentice Expression93 is offline
    MemberRank
    Jan 2015 Join Date
    10Posts

    Re: Page doesn't load (RevCMS + Azure EMU/SWFs + XAMPP)

    I have used your fix already Kyle, see edit 1 above the edit in large font.

    I still appear to get the problem even after applying your fix, all I've changed since applying your fix is the port from 1232 to 30000.

    EDIT: So I just re-applied your fix and it wasn't the file I was using, I guess I must have changed it back at some point when I was trying to fix it myself. Now I get the issue of a blank black screen, the client doesn't even load at all now.

  10. #10
    Apprentice Expression93 is offline
    MemberRank
    Jan 2015 Join Date
    10Posts

    Re: Page doesn't load (RevCMS + Azure EMU/SWFs + XAMPP)

    Issue resolved by Kyle, not sure what he changed though as I just copy and pasted the old and new client.php.

    Please note you must apply this fix first!

    See Code:
    PHP Code:
    <!DOCTYPE html>
    <
    html>
        <
    head>
            <
    meta http-equiv="content-type" content="text/html; charset=utf-8">
            <
    title>{hotelName}: Client</title>
            
            <
    link rel="stylesheet" href="{url}/app/tpl/skins/{skin}/styles/client.css" type="text/css">
            <
    link rel="shortcut icon" href="{url}/favicon.ico" type="image/vnd.microsoft.icon" />
            
            <
    script type="text/javascript" src="{url}/app/tpl/skins/{skin}/js/swfobject.js"></script>
            <script type="text/javascript">
                var BaseUrl = "http://localhost/game/";
                var flashvars =
                {
                    "client.starting" : "Please wait, {hotelName} is loading...", 
                    "client.allow.cross.domain" : "1", 
                    "client.notify.cross.domain" : "0",
                    "connection.info.host" : "{server_ip}", 
                    "connection.info.port" : "30000",
                    "site.url" : "http://localhost",
                    "url.prefix" : "http://localhost", 
                    "client.reload.url" : "http://localhost/client", 
                    "client.fatal.error.url" : "http://localhost/client", 
                    "client.connection.failed.url" : "http://localhost/client", 
                    "external.variables.txt" : "http://localhost/game/gamedata/external_variables/1.xml", 
                    "external.texts.txt" : "http://localhost/game/gamedata/external_flash_texts/1.xml", 
                    "external.figurepartlist.txt" : "http://localhost/game/gamedata/figuredata/1.xml", 
                    "external.override.texts.txt" : "http://localhost/game/gamedata/override/external_flash_override_texts/1.xml", 
                    "external.override.variables.txt" : "http://localhost/game/gamedata/override/external_override_variables/1.xml", 
                    "productdata.load.url" : "http://localhost/game/gamedata/productdata/1.xml", 
                    "furnidata.load.url" : "http://localhost/game/gamedata/furnidata_xml/1.xml", 
                    "use.sso.ticket" : "1", 
                    "sso.ticket" : "{sso}", 
                    "processlog.enabled" : "0", 
                    "flash.client.url" : "\//localhost/game/", 
                    "flash.client.origin" : "popup",
                    "nux.lobbies.enabled" : "true"
                };
                var params =
                {
                    "base" : BaseUrl + "/",
                    "allowScriptAccess" : "always",
                    "menu" : "false"                
                };
                swfobject.embedSWF(BaseUrl + "/Habbo.swf", "client", "100%", "100%", "10.0.0", "http://localhost/game/expressInstall.swf", flashvars, params, null);
            </script>
        </head>
    <body></body>
    </html> 
    Last edited by Expression93; 14-02-15 at 01:47 AM.



Advertisement