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.

"You must submit your username and password" error

January 11, 2008 12:15pm

Subscribe [1]
  • #1 / Jan 11, 2008 12:15pm

    sycogo

    6 posts

    I have login forms at the bottom of each page of my site but they just don’t work. I get the error “You must submit your username and password” when I try to use them.  The address of one of them is http://www.artslife.org.uk.  The form is at the bottom of the page.

    The code I am using is:

    {exp:member:login_form return="site/index"}
    <label>Username</label>
    <input type="text" name="username" value="" maxlength="32" class="input" size="18" />
    <label>Password</label>
    <input type="password" name="password" value="" maxlength="32" class="input" size="18" />
    <input type="submit" name="submit" value="Login" />
    <a href="http://{path=member/forgot_password}">Forgot your password?</a>
    {/exp:member:login_form}

    What am I doing wrong?

  • #2 / Jan 11, 2008 12:24pm

    Lisa Wess

    20502 posts

    What version and build are you on? If you try this in a totally blank template, does it work then?

  • #3 / Jan 11, 2008 12:28pm

    sycogo

    6 posts

    Hmmm…It does work on a totally blank template.  I’m using 1.6.0 / Build:  20070622

  • #4 / Jan 11, 2008 12:30pm

    Lisa Wess

    20502 posts

    First, I’d strongly encourage you to upgrade, you’re on one of the first builds of 1.6 and we’re at 1.6.1 now.

    If it is working on a blank template, then it’s time to work on reducing down your other template and adding things back in until you find what is causing it to break.  May be something clearing out the details, or a nesting issue.

  • #5 / Jan 11, 2008 1:05pm

    sycogo

    6 posts

    Thanks, it is a nesting issue.

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

ExpressionEngine News!

#eecms, #events, #releases