v2.5.3 - Build Date: 20120911
I am using EE tags exactly as described in the manual, and I am using the officially sanctioned .htaccess method to rewrtie URLS.
The login and logout links execute and the notification appears saying that I have been logged in or out, but there is no effect - neither works. The only way I can log in or out is using the control panel or clearing cookies manually.
Here is my page code:
{embed ="framework/doc_head" url="{site_url}radio-archives" title="Truth News Australia Sign In" description="Sign in or create a new account."}
<div id="container">
{embed="framework/header"}
{embed ="framework/navigation"}
<div id="main">
<h2>Sign In Page</h2>
<p> <br />
{if logged_in}<br />
<a href="http://{path=member/profile}">Edit your profile</a></p>
<p> <a href="http://{path=member/memberlist}">View the Memberlist</a></p>
<p> <a href="http://{path=logout}">Log Out</a><br />
{/if}<br />
<br />
<br />
{if logged_out}<br />
{embed=sign-in/logged_out}<br />
{/if}<br />
<br />
</div><br />
<br />
<br />
{embed="framework/right_col"}<br />
{embed="framework/footer"}</p>
<p></div><br />
{embed ="framework/doc_foot"}Login code:
{exp:member:login_form return="index"}
<label>Username</label>
<input type="text" name="username" value="" maxlength="32" class="input" size="25" /></p>
<label>Password</label>
<input type="password" name="password" value="" maxlength="32" class="input" size="25" /></p>
{if auto_login}
<input class='checkbox' type='checkbox' name='auto_login' value='1' /> Auto-login on future visits
{/if}
<input class='checkbox' type='checkbox' name='anon' value='1' checked='checked' /> Show my name in the online users list
<input type="submit" name="submit" value="Submit" /></p>
<a href="http://{path=member/forgot_password}">Forgot your password?</a>
{/exp:member:login_form}.htaccess:
RewriteCond $1 !\.(gif|jpe?g|png)$ [NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php?/$1 [L]Cookie Domain is set to ‘.’
CP login/out is working fine.
Thanks!