Quantcast
Channel: Mendix Forum Questions
Viewing all articles
Browse latest Browse all 82403

Nothing displayed in browser after upgrade to 6.5.1

$
0
0

Hi,

We have recently upgrade from 5.21.1 to 6.5.1. After the upgrade though there is nothing shown in the browser. Below is our index.html :-

<!doctype html>

<html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <title>Workflow</title> <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1, maximum-scale=1"> <meta name="apple-mobile-web-app-capable" content="yes"> <link rel="stylesheet" href="lib/bootstrap/css/bootstrap.min.css?{{cachebust}}"> <link rel="stylesheet" href="mxclientsystem/mxui/ui/mxui.css?{{cachebust}}"> <link rel="stylesheet" href="css/theme.css?{{cachebust}}"> </head> <body dir="ltr">

<script>
        dojoConfig = {
            isDebug: false,
            baseUrl: "mxclientsystem/dojo/",
            cacheBust: "{{cachebust}}",
            rtlRedirect: "index-rtl.html"
        };
    </script>
    <script src="mxclientsystem/mxui/mxui.js?{{cachebust}}"></script>

    <script>
        if (!document.cookie || !document.cookie.match(/(^|;)originURI=/gi))
            document.cookie = "originURI=/login.html"; 

        (function() { 
    if (parseInt(navigator.userAgent.split("Chrome/")[1]) !== 48) return; 
    var openReal = XMLHttpRequest.prototype.open; 
    XMLHttpRequest.prototype.open = function(method, url, async, user, password) { 
    if (!async) url += (/\?/.test(url) ? "&" : "?") + new Date().getTime(); 
    openReal.call(this, method, url, async, user, password); 
    }; 
    })();   
    </script>

            <!--<script type="text/javascript">
    $('div.sprintrFeedbackNode').addClass('lvFeedbackNode');
</script>

    <script type="text/javascript">-->


</body>

</html>

And this is our login.html :-

<!doctype html>

<html>

<head> <title>Workflow</title> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1, maximum-scale=1"> <meta name="apple-mobile-web-app-capable" content="yes">

<link rel="stylesheet" href="lib/bootstrap/css/bootstrap.min.css{{cachebust}}">
<link type="text/css" rel="stylesheet" href="css/login.css{{cachebust}}">
<link type="text/css" rel="stylesheet" href="css/login.css{{cachebust}}">

</head>

<body class="default lv dj_ie8 dj_ie9">

Employee Login

<div class="login-container">

                                        <form id="loginForm" class="login-form">

                                            <div class="login-logo"></div>

                                            <div id="loginMessage" class="alert alert-danger login-message"></div>
                                            <div class="form-group">
                                                <label id="usernameLabel" for="usernameInput" style="float: left;">User name</label>
                                                <input id="usernameInput" class="form-control" type="text" placeholder="User name" autocorrect="off" autocapitalize="none">
                                            </div>
                                            <div class="form-group">
                                                <label id="passwordLabel" for="passwordInput">Password</label>
                                                <input id="passwordInput" class="form-control" type="password" placeholder="Password" autocorrect="off" autocapitalize="none">
                                            </div>
                                            <button id="loginButton" type="submit" class="btn btn-primary">Sign in</button>
                                        </form>
                                    </div>
                                </div>
                            </div>
                        </td>
                    </tr>
                </tbody>
            </table>
        </div>
    </div>

</div>

<div class="mx-layoutcontainer-bottom " style="
                                                   padding-right: 0px;
                                                   padding-left: 0px;
                                                   ">
    </div>

<script src="js/login_i18n.js{{cachebust}}"></script>
<script src="js/login.js{{cachebust}}"></script>

</body>

</html>

When running in Chrome and using the developer tools I can see the following errors :-

mxui.js?636015923155109203:21 TypeError: Cannot read property 'declare' of undefined(…)4a4 @ mxui.js?636015923155109203:21(anonymous function) @ mxui.js?636015923155109203:212d3 @ mxui.js?636015923155109203:212d1 @ mxui.js?636015923155109203:21reject.errback @ mxui.js?636015923155109203:212d3 @ mxui.js?636015923155109203:212d1 @ mxui.js?636015923155109203:21reject.errback @ mxui.js?636015923155109203:212d3 @ mxui.js?636015923155109203:212d1 @ mxui.js?636015923155109203:21resolve.callback @ mxui.js?636015923155109203:212d3 @ mxui.js?636015923155109203:212d1 @ mxui.js?636015923155109203:21resolve.callback @ mxui.js?636015923155109203:21(anonymous function) @ mxui.js?636015923155109203:212f8 @ mxui.js?636015923155109203:212f2 @ mxui.js?636015923155109203:21resolve @ mxui.js?636015923155109203:212fe @ mxui.js?636015923155109203:212f8 @ mxui.js?636015923155109203:212f2 @ mxui.js?636015923155109203:21resolve @ mxui.js?636015923155109203:212fe @ mxui.js?636015923155109203:212f8 @ mxui.js?636015923155109203:212f2 @ mxui.js?636015923155109203:21resolve @ mxui.js?636015923155109203:212fe @ mxui.js?636015923155109203:212f8 @ mxui.js?636015923155109203:212f2 @ mxui.js?636015923155109203:21resolve @ mxui.js?636015923155109203:21500 @ mxui.js?636015923155109203:2150c @ mxui.js?636015923155109203:21

Has anyone else ran into this problem before? If so how was it resolved please?

Thanks, Sorry for the long question.


Viewing all articles
Browse latest Browse all 82403

Trending Articles