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.

Trying to add member login, but getting a syntax error.

October 03, 2011 4:15pm

Subscribe [3]
  • #1 / Oct 03, 2011 4:15pm

    yellowdogsc

    3 posts

    I am trying to add a login form to a template, but I keep getting a syntax error.  I copied the login in form directly from the ExpressionEngine user guide.  Site is here:  http://www.fellowshipretreat.org/

    Error

    The following tag has a syntax error:

    {exp:member:login_form}

    Please correct the syntax in your template.

    {exp:member:login_form return="site/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>
    Forgot your password?
    {/exp:member:login_form}

  • #2 / Oct 03, 2011 4:42pm

    DanL

    56 posts

    Your form code works for me.  Are you sure you’re running the Non-Commercial or Commercial license which include the Member module?

  • #3 / Oct 03, 2011 4:43pm

    yellowdogsc

    3 posts

    I just upgraded my freelancer version to non-commercial.  do I have to download and install EE again, or do I just need to change the license number.  I juts changed the license number.

  • #4 / Oct 03, 2011 9:22pm

    yellowdogsc

    3 posts

    I reinstalled and the member stuff is working fine.  Thanks

  • #5 / Oct 04, 2011 10:46am

    Mark Bowen

    12637 posts

    Hi yellowdogsc,

    Glad you got this sorted. Thanks for letting us know.

    If anything else crops up then please don’t hesitate to post again as needed.

    Thanks,

    Mark

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

ExpressionEngine News!

#eecms, #events, #releases