2020-04-09, 07:53 AM
Firstly my mistake, got confused about the password and reset it on the host server.
Right! here is the member login code:
I also looked at the others and 'error_nopermission' and 'portal_welcome_guesttext' had the new line in twice?
Having made these changes I can only login as Admin now, as all other attempts do not show any error, but return an empty login box?
Does this mean that it needs 2 entries in these files?
Please help?
Have reinserted the above lines, but still no joy!
I have tried logging in as suggested in a previous post:
www.1066mfc.co.uk/MyBB/upload/member.php?action=login
but I get the Authorization Code Mismatch message.
How does this help?
I need to get to the bottom of this as it renders our forum useless and our members will lose interest an not use the site.
What else would stop the login from working correctly?
Right! here is the member login code:
<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->login}</title>
{$headerinclude}
</head>
<body>
{$header}
<br />
{$inline_errors}
{$member_loggedin_notice}
<form action="member.php" method="post">
<input name="my_post_key" type="hidden" value="{$mybb->post_code}"/>
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="2"><strong>{$lang->login}</strong></td>
</tr>
<tr>
<td class="trow1"><strong>{$lang->username}</strong></td>
<td class="trow1"><input type="text" class="textbox" name="username" size="25" style="width: 200px;" value="{$username}" /></td>
</tr>
<tr>
<td class="trow2"><strong>{$lang->password}</strong><br /><span class="smalltext">{$lang->pw_note}</span></td>
<td class="trow2"><input type="password" class="textbox" name="password" size="25" style="width: 200px;" value="{$password}" /> (<a href="member.php?action=lostpw">{$lang->lostpw_note}</a>)</td>
</tr>
<tr>
<td class="trow1" colspan="2" align="center"><label title="{$lang->remember_me_desc}"><input type="checkbox" class="checkbox" name="remember" checked="checked" value="yes" /> {$lang->remember_me}</label></td>
</tr>
{$captcha}
</table>
<br />
<div align="center"><input type="submit" class="button" name="submit" value="{$lang->login}" /></div>
<input type="hidden" name="action" value="do_login" />
<input type="hidden" name="url" value="{$redirect_url}" />
<input name="my_post_key" type="hidden" value="{$mybb->post_code}" />
</form>
{$footer}
</body>
</html>
So as far as I can see I have entered it correctly.I also looked at the others and 'error_nopermission' and 'portal_welcome_guesttext' had the new line in twice?
Having made these changes I can only login as Admin now, as all other attempts do not show any error, but return an empty login box?
Does this mean that it needs 2 entries in these files?
Please help?
Have reinserted the above lines, but still no joy!
I have tried logging in as suggested in a previous post:
www.1066mfc.co.uk/MyBB/upload/member.php?action=login
but I get the Authorization Code Mismatch message.
How does this help?
I need to get to the bottom of this as it renders our forum useless and our members will lose interest an not use the site.
What else would stop the login from working correctly?