Grey Matter Forums
« Comments Not Showing »

Welcome Guest. Please Login or Register.
May 21, 2013, 3:36am



Greymatter: Free Personal Blogging Software

About Greymatter (including System Requirements)

Greymatter on FreshMeat

Download current version from:

News: Greymatter 1.8.2 is released! Read the announcement.

Got a minute? We want to know what's your preferred site navigation?

Please read the security announcement regarding author passwords.

Next Greymatter release will be 1.8.3


Grey Matter Forums :: Support :: Trouble Shooting :: Comments Not Showing
   [Search This Thread] [Share Topic] [Print]
 AuthorTopic: Comments Not Showing (Read 578 times)
ames
New Member
*
member is offline





Joined: Jan 2007
Posts: 2
Karma: 0
 Comments Not Showing
« Thread Started on Jan 25, 2007, 10:26pm »

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: http://www.chrispoblete.com/amy/config.jpg

I left the comment link up so you can test it yourself and see what I mean.

Site: http://www.chrispoblete.com/amy

Thank you!
:)
« Last Edit: Jan 25, 2007, 10:27pm by ames »Link to Post - Back to Top  IP: Logged
Carlos Phelps
Global Moderator
*****
member is offline





Joined: Jan 2007
Gender: Male
Posts: 177
Karma: 30
 Re: Comments Not Showing
« Reply #1 on Jan 26, 2007, 10:51am »

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 http://web.petefinnigan.com/greymatter.htm that is Peter Finnigan's site.

Did you run the Diagnostics & Repair after checking the Configuration Options?
Link to Post - Back to Top  IP: Logged
coldstone
Global Moderator
*****
member is offline

[avatar]


[homepage]

Joined: Aug 2006
Posts: 816
Karma: 18
 Re: Comments Not Showing
« Reply #2 on Jan 26, 2007, 2:30pm »

It looks like you are using Gm 1.21d.

However, the issue is how your website is setup. For commenting, you link to:
http://www.chrispoblete.com/amy/comment.html

Which 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:
Code:
<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:
http://web.archive.org/web/2005022320532....hp?topic=7259.0

I was wondering how you would like the site to work? Where do you want the comments to appear?

Link to Post - Back to Top  IP: Logged
ames
New Member
*
member is offline





Joined: Jan 2007
Posts: 2
Karma: 0
 Re: Comments Not Showing
« Reply #3 on Jan 26, 2007, 8:14pm »

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.
Link to Post - Back to Top  IP: Logged
coldstone
Global Moderator
*****
member is offline

[avatar]


[homepage]

Joined: Aug 2006
Posts: 816
Karma: 18
 Re: Comments Not Showing
« Reply #4 on Jan 29, 2007, 2:16pm »

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.
Link to Post - Back to Top  IP: Logged
   [Search This Thread] [Share Topic] [Print]

Click Here To Make This Board Ad-Free


This Board Hosted For FREE By ProBoards
Get Your Own Free Message Boards & Free Forums!
Terms of Service | Privacy Policy | Notice | FTC Disclosure | Report Abuse | Mobile