Answers.Body: <p>Solved the mystery. :) The issue was that even though my user fields were not required, there was a numeric 'year' field which had min and max values set, and this was throwing it off (and I had removed that field during my last round of testing to keep things simple). Removing those required min and max values allowed the form to be submitted. Thanks for the help Brad!</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-09-03T03:16:18.010Z
Answers.Text: Ahh... nice catch!
Answers.UserDisplayName: Brad Bell
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-09-02T23:27:19.467Z
Answers.LastActivityDate: 2014-09-02T23:27:19.467Z
Answers.UserDisplayName: Angela
Body: <p>I am using the registration form from the docs here - <a href="https://craftcms.com/docs/templating/user-registration-form" rel="nofollow noreferrer">https://craftcms.com/docs/templating/user-registration-form</a> - in the front end of my site. Unfortunately, when I click on "Register" the page just refreshes and no errors are displayed, and the user is not created.</p>
  
  <p>I have checked the following:</p>
  
  <ul>
  <li>"Allow Public Registration?" is checked in the CP.</li>
  <li>I made sure that the Snaptcha plugin was disabled (just in case).</li>
  </ul>
  
  <p>Any ideas on what I should look for? </p>
  
  <p>Thanks!</p>
  
  <pre><code>&lt;form method="post" action="" accept-charset="UTF-8"&gt;
  &lt;input type="hidden" name="action" value="users/saveUser"&gt;
  &lt;input type="hidden" name="redirect" value="/success/"&gt;
  
  {% macro errorList(errors) %}
      {% if errors %}
          &lt;ul class="errors"&gt;
              {% for error in errors %}
                  &lt;li&gt;{{ error }}&lt;/li&gt;
              {% endfor %}
          &lt;/ul&gt;
      {% endif %}
  {% endmacro %}
  
  {% from _self import errorList %}
  
  &lt;label for="username"&gt;Username&lt;/label&gt;
  &lt;input id="username" type="text" name="username"
      {%- if account is defined %} value="{{ account.username }}"{% endif -%}&gt;
  
  {% if account is defined %}
      {{ errorList(account.getErrors('username')) }}
  {% endif %}
  
  &lt;label for="email"&gt;Email&lt;/label&gt;
  &lt;input id="email" type="text" name="email"
      {%- if account is defined %} value="{{ account.email }}"{% endif %}&gt;
  
  {% if account is defined %}
      {{ errorList(account.getErrors('email')) }}
  {% endif %}
  
  &lt;label for="password"&gt;Password&lt;/label&gt;
  &lt;input id="password" type="password" name="password"&gt;
  
  {% if account is defined %}
      {{ errorList(account.getErrors('password')) }}
  {% endif %}
  
    &lt;div class="divider"&gt;&lt;/div&gt;
  
  
  &lt;input type="submit" value="Register" class="submit"&gt;
  &lt;/form&gt;
  </code></pre>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2014-09-02T21:57:17.313Z
Comments.Text: Can you check through your craft/storage/runtime/logs files for any [error] or [warning] logs that might be related?
Comments.UserDisplayName: Brad Bell
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2014-09-02T22:01:26.250Z
Comments.Text: Thanks @BradBell! Yes - I checked that too, although I didn't see anything that looked like a login error. Just an error about status: `FROM `craft_tasks`
  WHERE (level = 0) AND (status = :status). Bound with :status='error')
  2014/09/02 21:50:09 [profile] [system.db.CDbCommand.query] end:system.db.CDbCommand.query(SELECT count(`id`)` - Could that be related?
Comments.UserDisplayName: Angela
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2014-09-02T22:11:57.877Z
Comments.Text: That shouldn't matter. Can you share your template code in the original question?
Comments.UserDisplayName: Brad Bell
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2014-09-02T22:23:44.010Z
Comments.Text: Np! Added the code @BradBell
Comments.UserDisplayName: Angela
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2014-09-02T22:41:38.580Z
Comments.Text: Hrm... maybe you've got some required fields on your User field layout that the front-end form isn't taking into account?
Comments.UserDisplayName: Brad Bell
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2014-09-02T22:51:54.123Z
Comments.Text: I thought so too, although I checked and don't have those required. They also still display the "Make Required" option in Field Layout. Do you think it is a permissions issue? Is there a folder I should check permissions for under App? I am on Firehost and have permissions of 755 on the app folders now.
Comments.UserDisplayName: Angela
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2014-09-02T23:06:04.507Z
Comments.Text: I highly doubt it's permissions related, but I am kind of stumped.  If no one else can offer any ideas, hit us up at support@buildwithcraft.com with your templates and a database back and we can look into it.
Comments.UserDisplayName: Brad Bell
Tags: <registration>
Title: Front-end Registration Form just refreshes with no error displayed and user not created
ThreadText: # Front-end Registration Form just refreshes with no error displayed and user not created
  
  (Asked by: username_0 on 2014-09-02)
  
  I am using the registration form from the docs here - <https://craftcms.com/docs/templating/user-registration-form> - in the front end of my site. Unfortunately, when I click on "Register" the page just refreshes and no errors are displayed, and the user is not created.
  
  I have checked the following:
  
  * "Allow Public Registration?" is checked in the CP.
  * I made sure that the Snaptcha plugin was disabled (just in case).
  
  Any ideas on what I should look for?
  
  Thanks!
  
  ```
  <form method="post" action="" accept-charset="UTF-8">
  <input type="hidden" name="action" value="users/saveUser">
  <input type="hidden" name="redirect" value="/success/">
  
  {% macro errorList(errors) %}
      {% if errors %}
          <ul class="errors">
              {% for error in errors %}
                  <li>{{ error }}</li>
              {% endfor %}
          </ul>
      {% endif %}
  {% endmacro %}
  
  {% from _self import errorList %}
  
  <label for="username">Username</label>
  <input id="username" type="text" name="username"
      {%- if account is defined %} value="{{ account.username }}"{% endif -%}>
  
  {% if account is defined %}
      {{ errorList(account.getErrors('username')) }}
  {% endif %}
  
  <label for="email">Email</label>
  <input id="email" type="text" name="email"
      {%- if account is defined %} value="{{ account.email }}"{% endif %}>
  
  {% if account is defined %}
      {{ errorList(account.getErrors('email')) }}
  {% endif %}
  
  <label for="password">Password</label>
  <input id="password" type="password" name="password">
  
  {% if account is defined %}
      {{ errorList(account.getErrors('password')) }}
  {% endif %}
  
    <div class="divider"></div>
  
  <input type="submit" value="Register" class="submit">
  </form>
  
  ```
  
  **Tags:** registration
  
  > **Comments:**
  > **username_1**: Can you check through your craft/storage/runtime/logs files for any [error] or [warning] logs that might be related?  
  > **username_0**: Thanks @username_1! Yes - I checked that too, although I didn't see anything that looked like a login error. Just an error about status: `FROM `craft_tasks` WHERE (level = 0) AND (status = :status). Bound with :status='error') 2014/09/02 21:50:09 [profile] [system.db.CDbCommand.query] end:system.db.CDbCommand.query(SELECT count(`id`)` - Could that be related?  
  > **username_1**: That shouldn't matter. Can you share your template code in the original question?  
  > **username_0**: Np! Added the code @username_1  
  > **username_1**: Hrm... maybe you've got some required fields on your User field layout that the front-end form isn't taking into account?  
  > **username_0**: I thought so too, although I checked and don't have those required. They also still display the "Make Required" option in Field Layout. Do you think it is a permissions issue? Is there a folder I should check permissions for under App? I am on Firehost and have permissions of 755 on the app folders now.  
  > **username_1**: I highly doubt it's permissions related, but I am kind of stumped.  If no one else can offer any ideas, hit us up at support@buildwithcraft.com with your templates and a database back and we can look into it.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2014-09-02. Score: 3 | Accepted answer
  
  Solved the mystery. :) The issue was that even though my user fields were not required, there was a numeric 'year' field which had min and max values set, and this was throwing it off (and I had removed that field during my last round of testing to keep things simple). Removing those required min and max values allowed the form to be submitted. Thanks for the help username_1!
  
  > **Comments:**
  > **username_1**: Ahh... nice catch!  
  
  ---
  
  