MyBB Community Forums

Full Version: Login not working
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I can't login to my forum.
when I try to login I am redirected to index.php and I don't get any error message, nothing, but I can login to admin cp soo cookie settings are ok.
I tryed with chrome, mozilla and IE 9... in all i get the same thing.
I tryed with another username and the same thing.
don't know what to do...
any ideas on this?
Try to Login using:
http://www. YOURSITE .com/member.php?action=login

Maybe your index login is not correct :/



Edit:
I already try here: http://www.area4all.ro/index.php
But your login code in header is wrong !

Customize this code to fit with your theme:


<!-- login form -->
		<input type="text"  name="username" id="navbar_username" size="10" accesskey="u" tabindex="101" value="{$lang->login_username}" onfocus="if (this.value == '{$lang->login_username}'){this.value='';}" onblur="if (this.value == '')  {this.value='{$lang->login_username}';" />
			<input type="password" tabindex="102" name="password" id="navbar_password" size="10" />
<input type="checkbox" name="cookieuser" value="1" id="cb_cookieuser_navbar" accesskey="c" tabindex="103" />
                                          <input type="image" src="images/loginButton.gif" value="Log in" alt="Submit" tabindex="104" accesskey="s" title="Enter your username and password in the boxes provided to login, or click the 'register' button to create a profile for yourself."/>
		      <input name="action" value="do_login" type="hidden">
		</form>			
		<!-- / login form -->
oky I deleted from my .htaccess file these lines and now everithing work fine
RewriteEngine on
rewritecond %{http_host} ^area4all.ro [nc]
rewriterule ^(.*)$ http://www.area4all.ro/$1 [r=301,nc]

how can I make a redirect from non-www to www without makeing any problems like this?
Change your board URL also to www domain:
Go to ACP > Setings > General Configuration