Forum
Members App Registration Form Failing
I'm trying to set up a basic members area for a website. I've installed the app and have a Members area in the Perch admin. I've copied the basic registration form from the docs and then added it to the page which will act as the sign up, however when I enter some details in the form to test it, the registration isn't working. The form is not registering in the members area of the admin interface, and no member is listed under members. When I've filled in the form and clicked the register button, the page refreshes but nothing seems to happen, it loads the page as if the form has never been submitted and no errors or anything shows in debug.
How can I work out why this is failing?
Edit: I should add, this is all on my local copy running under MAMP with php 7.2.8.
Can you post your diagnostics report?
Hi Drew, sorry somehow missed your reply.
Diagnostics are:
Basic
Extended
Are you using any URL rewriting?
Yes, I have some basic rewriting in a htaccess.
It looks like that first rule is stripping off the
.php
extension and then redirecting. If you submit a form to a URL with.php
then the redirect will discard the posted data.You can fix that by making sure you use the final version of the URL in the
action
attribute of theperch:form
tag.