OWA Open Web Analytics Uncaught ReferenceError?:OWA未定义

时间:2014-05-08 15:44:53

标签: javascript html uncaught-exception openwebanalytics

我正在使用Open Web Analytics,这是Google Analytics的开源替代方案。

它在Firefox中正常运行,但在Safari和Chrome中都不起作用。我尝试登录时出现以下错误

未捕获的ReferenceError?:OWA未定义为index.php:15

这是该页面的全部来源:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" " http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns=" http://www.w3.org/1999/xhtml">

    <head>

        <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
        <title>Login - Open Web Analytics</title>
        <!-- HEAD Elements -->

<LINK REL=StyleSheet? HREF=" http://172.25.1.148/owa/modules/base/css/owa.css?version=1.5.4" TYPE="text/css">

<script>

// OWA CONFIG SETTINGS

OWA.config.main_url = " http://172.25.1.148/owa/index.php";
OWA.config.public_url = " http://172.25.1.148/owa/";
OWA.config.baseUrl = " http://172.25.1.148/owa/";
//OWA.config.js_url = " http://172.25.1.148/owa/js/";
OWA.config.action_url = " http://172.25.1.148/owa/action.php";
OWA.config.images_url = " http://172.25.1.148/owa/modules/";
OWA.config.log_url = " http://172.25.1.148/owa/log.php";
OWA.config.modules_url = " http://172.25.1.148/owa/modules/";
OWA.config.api_endpoint = " http://172.25.1.148/owa/api.php";
OWA.config.ns = "owa_";
OWA.config.link_template = "%s?%s";
</script>

<!-- END HEAD --> </head>

    <body>


        <div class="owa">

            <div id="header" style="text-align:center;">

                <table width="100%">

                    <TR>

                        <TD class="">

                            <img src=" http://172.25.1.148/owa/modules/base/i/owa_logo_150w.jpg" alt="Open Web Analytics"><BR>

                        </TD>

                    </TR>

                </table>

            </div>
            <BR>


            <BR>

                <div style="width:340px; margin: 0px auto -1px auto;">

    <div class="inline_h1" style="text-align:left;">Login</div><BR>


    <div style="width:340px; margin: 0px auto -1px auto; text-align:center;">

        <!-- content goes here -->

            <DIV id="login_box" style="color:#ffffff; padding:45px; height:210px; text-align:left;" >


                <form method="POST">


                <div class="inline_h3"><B>User Name:</B></div>
                <INPUT class="owa_largeFormField" type="text" size="20" name="owa_user_id" value=""><BR><BR>
                <div class="inline_h3"><B>Password:</B></div>
                <INPUT class="owa_largeFormField" type="password" size="20" name="owa_password"><BR><BR>
                <input type="hidden" size="70" name="owa_go" value=" http://172.25.1.148/owa/">
                <input name="owa_action" value="base.login" type="hidden">
                <div style="text-align:;">
                <INPUT class="owa_largeFormField" type="submit" name="owa_submit_btn" value="Login">
                </div>
                </form>


            </DIV>


    </div>


    <BR>
    <span class="info_text">
    <a href=" http://172.25.1.148/owa/index.php?owa_do=base.passwordResetForm">Forgot your password?</a>
    </span>

</div>


    <BR><BR><BR><BR>
    <div style="text-align:center">

        <span class="inline_h4"><a href=" http://www.openwebanalytics.com">Web Analytics</a> powered by <a href=" http://www.openwebanalytics.com">Open Web Analytics</a> - v: 1.5.4</span>

    </div>

    </div>


    </body>


</html>

0 个答案:

没有答案