---------------
MT 3.31 -- static pub
SQLite datastore
Apache 2
Fedora Core 2
Blog URL
-----------
http://pacskyways.com/blogs/jeff
problem
----------
I've created a comments listing page with a form for submiting new comments.
This worked fine in testing. But after I deleted all my test comments, the form mysteriously stopped working.
Behavior is as follows:
1. Form is posted
2. mt-comments.cgi runs without error (I can see this is my Apache logs)
3. comment listing page is returned WITHOUT the posted comment
In addition:
o Comment counter does not increment
o Blog activity log makes no mention of the comment
o Comment does not appear in 'comments' section of blog admin screen
more tests:
o Form post Test
I replace mt-comments.cgi with a simple script to output the data submitted by the form and have confirmed that the form data is submitted properly.
o Directly adding a comment
I installed the 'AddComment' plugin which allows admins to add comments to entries directly from the administrative screens.
When I use this, everything works fine--comment shows up in admin screens; comment counter increments; comment is display by comment listing template.
form
------
Here is the form I am using (extraneous stuff stripped out):
<form name="comments_form" method="post" action="<$MTCGIPath$><$MTCommentScript$>">
<input type="hidden" name="entry_id" value="<$MTEntryID$>">
<input type="hidden" name="static" value="1" />
<input id="author" name="author">
<input id="email" name="email">
<textarea id="text" name="text"></textarea>
<input type="submit" value="submit"/>
</form>
plea
-----
Help! What is going on here?
Am I missing form data?
Should I remove the 'static=1' field?
Is there anywhere MT logs info so I can find out what the heck is happening?
Thanks!!!