ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Syntax Error

December 26, 2011 2:48pm

Subscribe [2]
  • #1 / Dec 26, 2011 2:48pm

    Evolve Websites

    110 posts

    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?

  • #2 / Dec 27, 2011 7:02am

    Evolve Websites

    110 posts

    PROBLEM SOLVED:

    It was being caused by using a freelancer version rather than a commercial or non-commercial version.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases