Forum
Perch Comments Form not working
Clicking submit reloads the page. The form is still populated. The admin page shows nothing added. Using the example code.
I really appreciate your input.
This may be something basic as it usually is in my experience so far.
<?php
perch_comments('example1');
perch_comments_form('example1', 'Comments Example');
?>
Are you on the latest version of Perch?
Hi Drew, yes I am.
I changed the field validation type and now the form goes through however, still no comments showing up in the administrator panel.
The system report looks ok
If you turn on debug and submit the form, what does it output?
https://docs.grabaperch.com/docs/installing-perch/configuration/debug/
This is the output and its given me an idea. I should add a table in my database for the comment ID manually.
Manually adding tables does not seem like the right solution.
I don't understand what you mean.
Please excuse ambiguities, my question is about comments not going through. Checking the phpmyadmin shows no comments are being added.
Does the debug look ok to you?
No, that looks like debug from the admin control panel.
Can you add debug to your page, submit the form and let me know what it outputs?
Hi,
First thing this morning one comment went through fine using the example page. Then no new comments are going through on the example page or the development page. The output error is the same on both - empty commentIP.
Here is the full output.
Looks like a missing IP address, which is unusual.
Is this also happening on your live server?
I will try the live server later.
The staging server is running and the form is working great.