Hi there,
I’ve just setup a new install of EE to test a few things.
I’ve gone through the install process as I have many times before, and the site and cpanel is working correctly. I have channel entries being displayed and have embeds working.
The strange thing is that when I’ve added some member functions I’m getting errors.
When I add the following code to my template (taken from the EE user guide):
{exp:member:login_form return="site/index"}
<label>Username</label>
<input type="text" name="username" value="" maxlength="32" size="25">
<label>Password</label>
<input type="password" name="password" value="" maxlength="32" size="25">
{if auto_login}
<input type="checkbox" name="auto_login" value="1"> Auto-login on future visits
{/if}
<input 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}I then get the following error:
Error
The following tag has a syntax error:
{exp:member:login_form}
Please correct the syntax in your template.
If I then add /member/login or /member/register to my URL, I get the site’s homepage.
Finally, I’ve added a logout link, but when clicking on that I get a blank page and the URL reads as follows: URL/?ACT={AID:Member:member_logout}
I’m sure it’s something simple that too many mince pies has made me forget.
Any ideas?