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.

Login Form Confusion

October 07, 2011 1:16am

Subscribe [4]
  • #1 / Oct 07, 2011 1:16am

    aircan1

    5 posts

    This question may be related to a resolved thread.

    I’m new to EE and am going through the process of setting up a custom login on the homepage. I’ve created a few members with different logins via the control panel, ensured the members module was active and I’m using the following code:

    {exp:member:login_form return="dashboard/index"}


      <label for=“username”>Username</label>
      <input type=“text” name=“username” id=“username” maxlength=“32” />
       

      <label class=“password”>Password</label>
      <input type=“password” name=“password” id=“password” maxlength=“32” />
     

        <input type=“submit” name=“submit” value=“Submit” />


    {/exp:member:login_form}


    I have a site/index and dashboard/index template groups setup.

    I’m on EE v2.2.2 - Build: date 20110801

    The issue occurs when I try to login with one of the user credentials. Once I press submit I’m redirected to a page that states: “The following errors were encountered - You must submit your username and password”

    I can login on the members page at http://website.com/member/login/, which redirects me to the site/index. I’m assuming because that form isn’t set to redirect to the dashboard. I’ve seen similar posts about this issue, but no resolution that fits my situation. Has anyone ran into this?

  • #2 / Oct 07, 2011 11:25am

    Mark Bowen

    12637 posts

    Hi aircan1,

    Does this site use the MSM module at all?

    Is this a first time install or an upgrade to an existing version? Does this happen for all members / member groups?

    If you for example try to login using an admin account does the same thing happen?

    Thanks,

    Mark

  • #3 / Oct 07, 2011 10:40pm

    aircan1

    5 posts

    Mark,

    Thanks for the quick reply. I’m not sure which module it’s using. It is a clean, first time install. The login error is happening for all members. I current have two that were created in the control panel and one super admin. What is MSM short for and how do I check if I’m using it?

    Thanks for your help.

  • #4 / Oct 09, 2011 11:42pm

    Dan Decker

    7338 posts

    aircan1,

    Welcome to ExpressionEngine and the Forums!

    MSM is EllisLab/ExpressionEngine short hand for Multiple Site Manager, an expansion that allows one EE installation to run multiple sites.

    Can you post the page contents of your login form when you view source in your browser?

    Cheers,

  • #5 / Oct 10, 2011 12:57am

    aircan1

    5 posts

    Thanks for the clarification Dan. I must have been tired when I was implementing everything. I had an extra form tag from the initial template. Login is working for admin and users.

  • #6 / Oct 10, 2011 9:15am

    Sue Crocker

    26054 posts

    Yay! Glad you were able to figure out what the problem was. Don’t hesitate to post again as needed.

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

ExpressionEngine News!

#eecms, #events, #releases