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.

Trouble getting Login Form tag to work.

April 14, 2010 5:35pm

Subscribe [2]
  • #1 / Apr 14, 2010 5:35pm

    gogglez

    23 posts

    Hi, I’ve been going over this for a while now without much success. For some reason, this tag keeps telling me my syntax is incorrect. I’ve been using the tag example from the docs, but when I load the template it’s in, I’m told the syntax is wrong. I’m not really sure what to try, as I’m kind of new to ee. Any push in the right direction would be hugely appreciated.

    My code from documentation:

    {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>
    
    <a href="http://{path=member/forgot_password}">Forgot your password?</a>
    
    {/exp:member:login_form}

    The error:

    Error

    The following tag has a syntax error:
    
    {exp:member:login_form}
    
    Please correct the syntax in your template.

    edit: version 1.6.8 with a commercial license.

  • #2 / Apr 14, 2010 5:42pm

    Ingmar

    29245 posts

    It looks like the member module is missing? You are not trying this with EE Core, by any chance? Take a look at the CP footer to make sure.

  • #3 / Apr 14, 2010 5:45pm

    gogglez

    23 posts

    ahhh weird. I have entered the product key… But it still says the eecore message. How can I be sure I’ve registered the product properly? I sent the key to Lisa Wess, which is why I’m posting here (At her request)... All I need to do is enter it in the field under general preferences, correct?

  • #4 / Apr 14, 2010 5:49pm

    Ingmar

    29245 posts

    No, you actually need to re-download a fresh set of files to get the missing modules. There are instructions in the docs for upgrading from Core.

  • #5 / Apr 14, 2010 5:51pm

    gogglez

    23 posts

    haha, no way. That’s ridiculous that I missed that… Thanks for being so fast. I think you just saved me another hour or so of goofing around. Incredible.

    I can’t get over how fast the support is on this forum. Thank you!

  • #6 / Apr 14, 2010 5:54pm

    Ingmar

    29245 posts

    Glad it was an easy one 😊 Let’s call this one “Resolved”, but please don’t hesitate to post again in case you run into any more problems.

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

ExpressionEngine News!

#eecms, #events, #releases