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>
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?