404:1 Uncaught SyntaxError: Unexpected token <

Central

Imagination is more important than knowledge.
Feb 22, 2015
709
107
Hello, recently I added the new catalogue and been going through some debugging issues so I had someone to debug this for me and it was debugged and sent back to me. Then all of a sudden, my client doesn't work no more? It worked before it was debugged somehow it messed up im not sure.

So i look at my developer console and load the client and all what pops up is this error:

404:1 Uncaught SyntaxError: Unexpected token <

Never seen this error before, but can anyone fix this? Would be a great help.

Client.php
PHP:
<!DOCTYPE html>
<html lang="en">
    <head>
        <meta http-equiv="content-type" content="text/html; charset=utf-8">
        <title>{hotelName} - Client</title>
        
        <link rel="stylesheet" href="{url}/app/tpl/skins/Habbo/styles/client.css" type="text/css">
        <script type="text/javascript" src="/app/tpl/skins/habbo/js/bootstrap.js"></script>
        <script type="text/javascript" src="//code.jquery.com/jquery-2.0.2.js"></script>
        <script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.1.1/js/bootstrap.min.js"></script>
        <link href="https://bootswatch.com/paper/bootstrap.css" rel="stylesheet" type="text/css">
        <script type="text/javascript" src="{url}/app/tpl/skins/Habbo/js/swfobject.js"></script>
        <script type="text/javascript">
            var BaseUrl = "http://URL/gordon/";
            var flashvars =
            {
                "client.starting" : "Please wait, {hotelname} loading",
                "hotelview.banner.url" : "http://URL/gordon/rs4.php",
                "client.allow.cross.domain" : "1",
                "client.notify.cross.domain" : "0",
                "connection.info.host" : "proxy ip",
                "connection.info.port" : "proxy port",
                "site.url" : "http://URL",
                "url.prefix" : "http://URL",
                "client.reload.url" : "http://URL/client",
                "client.fatal.error.url" : "http://URL/me",
                "client.connection.failed.url" : "http://URL/me",
                "external.variables.txt" : "http://URL/gamedata/external_variables.txt",
                "external.texts.txt" : "http://URL/gamedata/external_flash_texts.txt",
                "productdata.load.url" : "http://URL/gamedata/productdata.txt",
                "furnidata.load.url" : "http://URL/gamedata/furnidata.xml",
                "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", "http://URL/game/expressInstall.swf", flashvars, params, null);
        </script>
    </head>
    
    <body>
    
        <div id="client"></div>
        <div style="margin-bottom: 0px; position: fixed; z-index: 10;" class="alert alert-dismissible alert-primary">
<a target="_blank" max-height: 5px; width: 88px; margin-top: 4px;" class="navbar-brand" href="/me"></a>
<a onclick="toggleFullScreen()" style="margin-top: 7px; margin-left: 15px;" class="btn btn-success">FullScreen</a>

</div>
<script>
function toggleFullScreen() {
if ((document.fullScreenElement && document.fullScreenElement !== null) ||
(!document.mozFullScreen && !document.webkitIsFullScreen)) {
if (document.documentElement.requestFullScreen) {
document.documentElement.requestFullScreen();
} else if (document.documentElement.mozRequestFullScreen) {
document.documentElement.mozRequestFullScreen();
} else if (document.documentElement.webkitRequestFullScreen) {
document.documentElement.webkitRequestFullScreen(Element.ALLOW_KEYBOARD_INPUT);
}
} else {
if (document.cancelFullScreen) {
document.cancelFullScreen();
} else if (document.mozCancelFullScreen) {
document.mozCancelFullScreen();
} else if (document.webkitCancelFullScreen) {
document.webkitCancelFullScreen();
}
}
}
</script>
    
    </body>
</html>

config.ini
HTML:
## uberEmulator System Configuration File
## Must be edited for the server to work

## MySQL Configuration
db.hostname=127.0.0.1
db.port=3306
db.username=root
db.password=Andrew123123
db.name=luxhotel

## MySQL pooling setup (controls amount of connections)
db.pool.minsize=10
db.pool.maxsize=250

## Game TCP/IP Configuration
game.tcp.bindip=108.175.10.121
game.tcp.port=30000
game.tcp.conlimit=100000
game.tcp.conperip=200
game.tcp.enablenagles=true

## MUS TCP/IP Configuration
mus.tcp.bindip=108.175.10.121
mus.tcp.port=30001
mus.tcp.allowedaddr=108.175.10.121

## Client configuration
client.ping.enabled=1
client.ping.interval=20000
client.maxrequests=300
 
Last edited:

Users who are viewing this thread

Top