ames
New Member
Posts: 2
|
Post by ames on Jan 25, 2007 22:26:40 GMT -5
My host and I are pretty sure we configured it right. The comments can be posted and you can see how many comments but when you click on the comment, you can't view it. It'll just pop up the form. You can't preview either and get this error: Error Notice Can't open /home/users/web/b875/pow.pinoychris/htdocs/amy/archive/00000000.cgi. Please make sure your paths are configured correctly and that your entries/archives directory is CHMODed to 777. Is there something I'm missing? Please advise. Here is a screenshot of my configuration: www.chrispoblete.com/amy/config.jpgI left the comment link up so you can test it yourself and see what I mean. Site: www.chrispoblete.com/amyThank you! 
|
|
|
Post by Carlos Phelps on Jan 26, 2007 10:51:24 GMT -5
Amy, I see what you mean about the comment preview page. What version of Greymatter are you using? You can get the latest update at web.petefinnigan.com/greymatter.htm that is Peter Finnigan's site. Did you run the Diagnostics & Repair after checking the Configuration Options?
|
|
|
Post by coldstone on Jan 26, 2007 14:30:37 GMT -5
It looks like you are using Gm 1.21d. However, the issue is how your website is setup. For commenting, you link to: www.chrispoblete.com/amy/comment.htmlWhich is a static page. It doesn't know which post you are trying to update with a comment. If you search through the code on that page you will notice: <INPUT TYPE=HIDDEN NAME="newcommententrynumber" VALUE="{{entrynumber}}">
Normally that '{{entrynumber}}' will be expanded to the number of the entry to attach the comment to. A little more info is here: web.archive.org/web/20050223205321/www.greymatterforums.com/index.php?topic=7259.0I was wondering how you would like the site to work? Where do you want the comments to appear?
|
|
ames
New Member
Posts: 2
|
Post by ames on Jan 26, 2007 20:14:26 GMT -5
Thanks for getting back to me. I really was ready to forget about comments, but thought I'd troubleshoot here first.  coldstone: Was gonna have my comments page load onto the same page and have it appear underneath the post. Should I get rid of the static page or what should I do with it? Carlos Phelps: Yes, I've run the diagnostics and repair and nothing seem to be out of the ordinary.
|
|
|
Post by coldstone on Jan 29, 2007 14:16:56 GMT -5
If you modify your templates, you can have your comment appear on your main page. See the gm_templates.html file that came with GreyMatter (see {{entrycomments}}).
The static page will work, but you would have to rewrite it as a cgi to accept a entry_id number to substitute into the form, so that the comment code knows which entry the new comment is for.
Otherwise you can put the comment form ({{entrycommentsform}} var) at the bottom of each entry (which may not look the way you want).
Lastly, I think you aren't generating pages for each entry, so you'll want to turn that on. Then you can modify your entry template to just show the comment form, with a link back to the main page.
Write back if you want more detail on any of the options. BTW, GreyMatter is currently running fine on your site, as far as I can tell. Its basically a configuration issue.
|
|