So I’m using a form that I’ve used in the past for this site (on an older version of ee) but I’m getting an error and I’m not sure what to do to fix it.
Whenever the custom member registration form is submitted it returns an ee error page that says “must_be_logged_in”
I’m not sure why someone would need to be logged in to register.. seems a little backwards actually. Is there some setting that I’m just missing somewhere?
Here is the code:
<form id='register_member_form' method="post" action="http://oursite.com/" >
<input type="hidden" name="XID" value="{XID_HASH}" />
<input type="hidden" name="ACT" value="11" />
<input type="hidden" name="RET" value="http://oursite.com/" />
<input type="hidden" name="FROM" value="" />
<label>Username</label>
<input class="input-box input" type="text" name="username" value="" maxlength="32" size="25" /></p>
<label>Password</label>
<input class="input-box input" type="password" name="password" value="" maxlength="32" size="25" /></p>
<label>Password again</label>
<input class="input-box input" type="password" name="password_confirm" value="" maxlength="32" size="25" /></p>
<label>Email Address</label>
<input class="input-box input" type="text" name="email" value="" maxlength="120" size="40" /></p>
<label>Your Website</label>
<input class="input-box input" type="text" name="url" value="" maxlength="100" size="25" /></p>
<input type='checkbox' name='accept_terms' value='y' />
blahblah
Sorry, but we hate spam!
{captcha}
<input class="input-box" type="text" name="captcha" value="" size="20" maxlength="20" />
<input type="submit" value="Register" class="submit" /></p>
</form>Thanks in advance!