• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

GESIOR - Should warn for wrong password

arturhaddad

Member
Joined
Aug 14, 2010
Messages
217
Reaction score
8
When a someone puts a wrong password, it just refreshs the page without warnings like:
"Your account number or password is incorrect"

Someone knows how to fix?

My > account management
[hosted in media fire cuz the php file is too long]
 
Ya, I have this bug also, I believe this is bugged in all Gesior's AACs...

Accountmanagement.php -> Login - When type password or account wrong, it just refreshs the page without any error messages :s
 
Just simply mod it to ( i have no idea atm what the line is ) but idk like:

if acc is wrong or pass wrong make an alert window? ( this is no actual coding at all haha, don't want flamers telling me im a retard trying to do php XD )
<script language="javascript">
alert("You have entered wrong account name or password!");
</script>

?:ninja:
 
Im think is your encryption type..

If you use 0.4 you need sha1 encryption... if gesior aac have md5 encryption you should change to sha1

Open your config-and-functions.php

Repleace all md5 for sha1
 
Just simply mod it to ( i have no idea atm what the line is ) but idk like:

if acc is wrong or pass wrong make an alert window? ( this is no actual coding at all haha, don't want flamers telling me im a retard trying to do php XD )
<script language="javascript">
alert("You have entered wrong account name or password!");
</script>

?:ninja:

I know that's the solution but the problem here is the script...



Im think is your encryption type..

If you use 0.4 you need sha1 encryption... if gesior aac have md5 encryption you should change to sha1

Open your config-and-functions.php

Repleace all md5 for sha1

Didn't work replacing all md5 for sha1.
As well i'm already using sha1 as encryption type.

Any other idea?
 
Actually I think the code that has to be changed is this:

If logout, then show this code:

PHP:
                $main_content .= 'Please enter your account name and your password.<br/><a href="?subtopic=createaccount" >Create an account</a> if you do not have one yet.<br/><br/><form action="?subtopic=accountmanagement" method="post" ><div class="TableContainer" >  <table class="Table1" cellpadding="0" cellspacing="0" >    <div class="CaptionContainer" >      <div class="CaptionInnerContainer" >        <span class="CaptionEdgeLeftTop" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif);" /></span>        <span class="CaptionEdgeRightTop" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif);" /></span>        <span class="CaptionBorderTop" style="background-image:url('.$layout_name.'/images/content/table-headline-border.gif);" ></span>        <span class="CaptionVerticalLeft" style="background-image:url('.$layout_name.'/images/content/box-frame-vertical.gif);" /></span>        <div class="Text" >Account Login</div>        <span class="CaptionVerticalRight" style="background-image:url('.$layout_name.'/images/content/box-frame-vertical.gif);" /></span>        <span class="CaptionBorderBottom" style="background-image:url('.$layout_name.'/images/content/table-headline-border.gif);" ></span>        <span class="CaptionEdgeLeftBottom" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif);" /></span>        <span class="CaptionEdgeRightBottom" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif);" /></span>      </div>    </div>    <tr>      <td>        <div class="InnerTableContainer" >          <table style="width:100%;" ><tr><td class="LabelV" ><span >Account Name:</span></td><td style="width:100%;" ><input type="password" name="account_login" SIZE="10" maxlength="10" ></td></tr><tr><td class="LabelV" ><span >Password:</span></td><td><input type="password" name="password_login" size="30" maxlength="29" ></td></tr>          </table>        </div>  </table></div></td></tr><br/><table width="100%" ><tr align="center" ><td><table border="0" cellspacing="0" cellpadding="0" ><tr><td style="border:0px;" ><div class="BigButton" style="background-image:url('.$layout_name.'/images/buttons/sbutton.gif)" ><div onMouseOver="MouseOverBigButton(this);" onMouseOut="MouseOutBigButton(this);" ><div class="BigButtonOver" style="background-image:url('.$layout_name.'/images/buttons/sbutton_over.gif);" ></div><input class="ButtonText" type="image" name="Submit" alt="Submit" src="'.$layout_name.'/images/buttons/_sbutton_submit.gif" ></div></div></td><tr></form></table></td><td><table border="0" cellspacing="0" cellpadding="0" ><form action="?subtopic=lostaccount" method="post" ><tr><td style="border:0px;" ><div class="BigButton" style="background-image:url('.$layout_name.'/images/buttons/sbutton.gif)" ><div onMouseOver="MouseOverBigButton(this);" onMouseOut="MouseOutBigButton(this);" ><div class="BigButtonOver" style="background-image:url('.$layout_name.'/images/buttons/sbutton_over.gif);" ></div><input class="ButtonText" type="image" name="Account lost?" alt="Account lost?" src="'.$layout_name.'/images/buttons/_sbutton_accountlost.gif" ></div></div></td></tr></form></table></td></tr></table>';

If logged in, then show the account management panel

This happens to all pages that requires login, this same code above...
 
Back
Top