August 12, 2003

MT Error (!): (FIXED) (how awful... no "Comments"!)

NOW FIXED (See "Comments")
===============================
Oh me oh my.

Movable Type Error Message: "No entry_id" when I go to "Comment" on an entry! Hmmmm.

The "Comment" link brings up the window to write in O.K.,
and the URL _does_ have an "entry_id=4 value:
http://reilly2001.info/movabletype/MT-2.64-full-lib/mt-comments.cgi?entry_id=4
but then clicking either Preview or Post yields this error:
==========
An error occurred:



No entry_id

==========

Now why would that be, I wonder???

MT online help doesn't really help:
docs/mtmanual_comments.html#comment%20previewing
docs/mtmanual_comments.html#comment%20submission%20errors
in that
1) I'm seeing a different problem than described in the manual ("no entry_id")
2) I'm using completely vanilla out-of-the-box templates, forms, etc. That is, the recommended form etc. I believe is what I have in place, and so forth. Hmmm.
That is, these "Comment Preview" and "Comment Error" are advanced, optional things--I'm not even there yet (!):
http://www.movabletype.org/default_templates.shtml#comment_preview_template
http://www.movabletype.org/default_templates.shtml#comment_error_template

And yes, this problem exists for both Weblogs I'm running (on the same server, same MT). So it would seem more global than a particular template issue (?). Though again, I haven't edited anything in these templates. Hmm.

I've looked into the script mt-comments.cgi, and don't know my Perl well enough (bummer!) to know just what went amiss to get me into the error bit here:
if ($@) {
print "Content-Type: text/html\n\n";
print "An error occurred: $@";
}

And as for the form itself, I'm puzzled.
Is it in this '/tmpl/cms' directory somewhere?
(doesn't seem to be this one (?)):
= /usr/local/www/reilly2001/www/movabletype/MT-2.64-full-lib/tmpl/cms/edit_comment.tmpl
Is it this search related one (doesn't seem to be ?) :
= /usr/local/www/reilly2001/www/movabletype/MT-2.64-full-lib/search_templates/comments.tmpl
Other ?
Hmmm Hmmm Double-hmmm.

And yes, my configuration is set to permit Comments, of course!

Any ideas, anyone? Many thanks...
william@reilly2001.info

Posted by William in category: Movable Type at August 12, 2003 10:38 AM
Comments

Thanks be to "girlie" up on Movable Type's support forum (!). If this Comment works, it's because of her helpful post...

My new edits to mt.cfg:
=============================================
## WR_ ORIG CGIPath http://WWW.YOUR-SITE.COM/PATH/TO/MT/
CGIPath http://www.reilly2001.info/movabletype/MT-2.64-full-lib/
## NOPE! CGIPath http://reilly2001.info/movabletype/MT-2.64-full-lib/
## See also my error description:
## http://www.reilly2001.info/whim/archives/000010.html
## "Comment error: no entry_id"
## Girlie: "You need to add the "www" to your CGI Path in mt.cfg"
## http://www.movabletype.org/support/index.php?act=ST&f=8&t=24098&hl=comment&s\
=8f9dea4dfa44f2193b787eab5a0b1bda
## Hooray for finding a fix(!) WR_ 20030827
=============================================

Posted by: William Reilly at August 27, 2003 09:40 PM