[Index] Login error

Results 1 to 4 of 4
  1. #1
    Apprentice Vitnos AT is offline
    MemberRank
    Jan 2013 Join Date
    7Posts

    ! [Index] Login error

    Hi! i have fix a Index to RevCMS but when im type in my username and password and then enter or clicking log in the page reload so im still on the /index page?
    someone knows the problem?



  2. #2
    **Danish aZure support** Gilibert is offline
    MemberRank
    Jan 2011 Join Date
    236Posts

    Re: [Index] Login error

    Dump the index.php files here

  3. #3
    Apprentice Vitnos AT is offline
    MemberRank
    Jan 2013 Join Date
    7Posts

    Re: [Index] Login error

    Quote Originally Posted by Mixland View Post
    Dump the index.php files here
    <br>
    Index -&gt;&nbsp;
    <div><br></div><div>&lt;!DOCTYPE html&gt;</div><div>&lt;html lang="en"&gt;</div><div>&nbsp; &nbsp; &lt;head&gt;</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>&lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"&gt;&lt;/script&gt;</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &lt;meta http-equiv="content-type" content="text/html; charset=utf-8"&gt;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &lt;title&gt;{hotelname} - H&amp;auml;r b&amp;ouml;rjar de roliga!&lt;/title&gt;</div><div>&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</div><div><span class="Apple-tab-span" style="white-space:pre"> </span></div><div>&nbsp; &nbsp; &nbsp; &nbsp; &lt;link rel="stylesheet" href="{url}/app/tpl/skins/Habbos/frontpage.css" type="text/css"&gt;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &lt;script type="text/javascript" src="{url}/app/tpl/skins/Habbos/libs2.js"&gt;&lt;/script&gt;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &lt;script type="text/javascript" src="{url}/app/tpl/skins/Habbos/landing.js"&gt;&lt;/script&gt;</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>&lt;link rel="shortcut icon" href="{url}/favicon.ico" type="image/vnd.microsoft.icon" /&gt;&lt;script&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &lt;script type="text/javascript"&gt;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; document.habboLoggedIn = true;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; var habboName = null;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; var habboId = null;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; var habboReqPath = "";</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; var habboStaticFilePath = "{url}/app/tpl/skins/Habbos";</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; var habboImagerUrl = "http://www.Habbo.com/Habbo-imaging/";</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; var habboPartner = "";</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; var habboDefaultClientPopupUrl = "{url}/client";</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; window.name = "habboMain";</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (typeof HabboClient != "undefined") {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; HabboClient.windowName = "client";</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; HabboClient.maximizeWindow = true;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &lt;/script&gt;</div><div>&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &lt;style type="text/css"&gt;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; body {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; background-image: url({url}/app/tpl/skins/Habbos/images/bg.png);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; #footer .footer-links &nbsp; { color: #666666; }</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; #footer .footer-links a { color: #ffffff; }</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; #footer .copyright &nbsp; &nbsp; &nbsp;{ color: #666666; }</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; #footer #compact-tags-container span, #footer #compact-tags-container a { color: #333333; }</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; input[type="submit"] {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; border: 1px solid #999;</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>padding: 5px;</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>font-family: verdana;</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>font-size: 10px;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; input[type="submit"]:hover {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; background-position: bottom;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cursor: pointer;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &lt;/style&gt;</div><div>&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &lt;!--[if IE 8]&gt;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;link rel="stylesheet" href="{url}/app/tpl/skins/Habbos/ie8.css" type="text/css"&gt;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &lt;![endif]--&gt;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &lt;!--[if lt IE 8]&gt;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;link rel="stylesheet" href="{url}/app/tpl/skins/Habbos/ie.css" type="text/css" /&gt;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &lt;![endif]--&gt;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &lt;!--[if lt IE 7]&gt;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;link rel="stylesheet" href="{url}/app/tpl/skins/Habbos/ie6.css" type="text/css" /&gt;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;script type="text/javascript" src="{url}/app/tpl/skins/Habbos/pngfix.js"&gt;&lt;/script&gt;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;script type="text/javascript"&gt;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; try { document.execCommand('BackgroundImageCache', false, true); } catch(e) {}</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/script&gt;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;style type="text/css"&gt;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; body { behavior: url({url}/app/tpl/skins/Habbos/csshover.htc); }</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/style&gt;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &lt;![endif]--&gt;</div><div>&nbsp; &nbsp; &lt;/head&gt;</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; &lt;body id="frontpage"&gt;</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &lt;div id="overlay"&gt;&lt;/div&gt;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &lt;div id="site-header"&gt;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;form id="loginformitem" name="loginformitem" method="post"&gt;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</div><div><span class="Apple-tab-span" style="white-space:pre"> </span></div><div><span class="Apple-tab-span" style="white-space:pre"> </span> &nbsp; <span class="Apple-tab-span" style="white-space:pre"> </span>&lt;div id="login"&gt;</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>&lt;div id="xmas_banner"&gt;&lt;div style="margin-top: -5px;"&gt;&lt;img src="http://athotel.se/app/tpl/skins/habbo/images/habbologo_whiteR.gif" align="right"&gt;&lt;/div&gt;&lt;/div&gt;</div><div><span class="Apple-tab-span" style="white-space:pre"> </span></div><div>&lt;div class="hotel_bg_innerbox"&gt;</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>&lt;div class</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>&lt;div class="logo_login"&gt;&lt;/div&gt;</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>&lt;div class="login_box"&gt;</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>&lt;center&gt;Ny p&amp;aring; AT? &lt;b&gt;&lt;a href="/register"&gt;REGISTRERA DIG H&amp;Auml;R!&lt;/a&gt;&lt;/b&gt;&lt;/center&gt;</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>&lt;br /&gt;&lt;br /&gt;</div><div><span class="Apple-tab-span" style="white-space:pre"> </span> &lt;label for="login-username" class="login-text"&gt;Anv&amp;auml;ndarnamn:&lt;/label&gt;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;input tabindex="3" type="text" class="login-field" name="log_username" id="login-username" value="" maxlength="48"&gt;</div><div><span class="Apple-tab-span" style="white-space:pre"> </span></div><div><span class="Apple-tab-span" style="white-space:pre"> </span>&lt;label for="login-password" class="login-text"&gt;L&amp;ouml;senord:&lt;/label&gt;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;input tabindex="4" type="password" class="login-field" name="log_password" id="login-password" maxlength="48"&gt;</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>&lt;br /&gt;&lt;br /&gt;</div><div><span class="Apple-tab-span" style="white-space:pre"> </span> &lt;center&gt;&lt;input type="submit" value="Logga in" name="login"&gt;&lt;/center&gt;</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>&lt;/div&gt;</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>&lt;div class="status_box"&gt;</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>&lt;b&gt;{online}&lt;/b&gt; Anv&amp;auml;ndare Online&lt;br /&gt;</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>&lt;/b&gt;&lt;b&gt;&lt;?php&nbsp;</div><div>$query = mysql_query("SELECT COUNT(*) AS aantalleden FROM users") or die(mysql_error());&nbsp;</div><div>$data = mysql_fetch_assoc($query);&nbsp;</div><div><br></div><div>echo $data['aantalleden'];&nbsp;</div><div>?&gt;</div><div>&lt;/b&gt;</div><div>&nbsp; Registerade Anv&amp;auml;ndare</div><div><span class="Apple-tab-span" style="white-space:pre"> </span></div><div><span class="Apple-tab-span" style="white-space:pre"> </span>&lt;/div&gt;</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>&lt;/div&gt;</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>&lt;/div&gt;</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre"> </span>&lt;center&gt;&lt;p class="copyright"&gt;&amp;copy;ATHotel 2012 - 2013 Alla r&amp;auml;ttigheter f&amp;ouml;rbeh&amp;aring;lls. &lt;img src="http://www.habbo.co.uk/habbo-imaging/avatarimage?figure=ha-1014-62.he-3218-92.ea-1406-62.ch-210-92.ca-1815-110.lg-275-1341.sh-290-92.hd-180-4.hr-170-61&amp;action=wav&amp;direction=2&amp;head_direction=3&amp;gesture=srp&amp;size=l" align="top"&lt;/p&gt;&lt;/center&gt;</div><div><br></div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; &lt;/div&gt;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &lt;script type="text/javascript"&gt;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (typeof HabboView != "undefined") {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; HabboView.run();</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &lt;/script&gt;</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; &lt;/body&gt;</div><div><br></div><div><br></div><div><br></div><div>&lt;/html&gt;</div><div><br></div>

  4. #4
    Apprentice Vitnos AT is offline
    MemberRank
    Jan 2013 Join Date
    7Posts

    Re: [Index] Login error

    Quote Originally Posted by Mixland View Post
    Dump the index.php files here
    heres the index!

    <!DOCTYPE html>
    <html lang="en">
    <head>
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>



    <meta http-equiv="content-type" content="text/html; charset=utf-8">
    <title>{hotelname} - H&auml;r b&ouml;rjar de roliga!</title>


    <link rel="stylesheet" href="{url}/app/tpl/skins/Habbos/frontpage.css" type="text/css">
    <script type="text/javascript" src="{url}/app/tpl/skins/Habbos/libs2.js"></script>
    <script type="text/javascript" src="{url}/app/tpl/skins/Habbos/landing.js"></script>
    <link rel="shortcut icon" href="{url}/favicon.ico" type="image/vnd.microsoft.icon" /><script

    <script type="text/javascript">
    document.habboLoggedIn = true;
    var habboName = null;
    var habboId = null;
    var habboReqPath = "";
    var habboStaticFilePath = "{url}/app/tpl/skins/Habbos";
    var habboImagerUrl = "http://www.Habbo.com/Habbo-imaging/";
    var habboPartner = "";
    var habboDefaultClientPopupUrl = "{url}/client";
    window.name = "habboMain";
    if (typeof HabboClient != "undefined") {
    HabboClient.windowName = "client";
    HabboClient.maximizeWindow = true;
    }
    </script>

    <style type="text/css">
    body {
    background-image: url({url}/app/tpl/skins/Habbos/images/bg.png);
    }
    #footer .footer-links { color: #666666; }
    #footer .footer-links a { color: #ffffff; }
    #footer .copyright { color: #666666; }
    #footer #compact-tags-container span, #footer #compact-tags-container a { color: #333333; }

    input[type="submit"] {
    border: 1px solid #999;
    padding: 5px;
    font-family: verdana;
    font-size: 10px;
    }
    input[type="submit"]:hover {
    background-position: bottom;
    cursor: pointer;
    }
    </style>

    <!--[if IE 8]>
    <link rel="stylesheet" href="{url}/app/tpl/skins/Habbos/ie8.css" type="text/css">
    <![endif]-->
    <!--[if lt IE 8]>
    <link rel="stylesheet" href="{url}/app/tpl/skins/Habbos/ie.css" type="text/css" />
    <![endif]-->
    <!--[if lt IE 7]>
    <link rel="stylesheet" href="{url}/app/tpl/skins/Habbos/ie6.css" type="text/css" />
    <script type="text/javascript" src="{url}/app/tpl/skins/Habbos/pngfix.js"></script>
    <script type="text/javascript">
    try { document.execCommand('BackgroundImageCache', false, true); } catch(e) {}
    </script>
    <style type="text/css">
    body { behavior: url({url}/app/tpl/skins/Habbos/csshover.htc); }
    </style>
    <![endif]-->
    </head>

    <body id="frontpage">

    <div id="overlay"></div>
    <div id="site-header">
    <form id="loginformitem" name="loginformitem" method="post">


    <div id="login">
    <div id="xmas_banner"><div style="margin-top: -5px;"><img src="http://athotel.se/app/tpl/skins/habbo/images/habbologo_whiteR.gif" align="right"></div></div>

    <div class="hotel_bg_innerbox">
    <div class
    <div class="logo_login"></div>
    <div class="login_box">
    <center>Ny p&aring; AT? <b><a href="/register">REGISTRERA DIG H&Auml;R!</a></b></center>
    <br /><br />
    <label for="login-username" class="login-text">Anv&auml;ndarnamn:</label>
    <input tabindex="3" type="text" class="login-field" name="log_username" id="login-username" value="" maxlength="48">

    <label for="login-password" class="login-text">L&ouml;senord:</label>
    <input tabindex="4" type="password" class="login-field" name="log_password" id="login-password" maxlength="48">
    <br /><br />
    <center><input type="submit" value="Logga in" name="login"></center>
    </div>
    <div class="status_box">
    <b>{online}</b> Anv&auml;ndare Online<br />
    </b><b><?php
    $query = mysql_query("SELECT COUNT(*) AS aantalleden FROM users") or die(mysql_error());
    $data = mysql_fetch_assoc($query);


    echo $data['aantalleden'];
    ?>
    </b>
    Registerade Anv&auml;ndare

    </div>
    </div>
    </div>


    <center><p class="copyright">&copy;ATHotel 2012 - 2013 Alla r&auml;ttigheter f&ouml;rbeh&aring;lls. <img src="http://www.habbo.co.uk/habbo-imaging/avatarimage?figure=ha-1014-62.he-3218-92.ea-1406-62.ch-210-92.ca-1815-110.lg-275-1341.sh-290-92.hd-180-4.hr-170-61&action=wav&direction=2&head_direction=3&gesture=srp&size=l" align="top"</p></center>




    </div>
    <script type="text/javascript">
    if (typeof HabboView != "undefined") {
    HabboView.run();
    }
    </script>

    </body>






    </html>




Advertisement