Reviewed & tested by the community
Project:
Comment Page
Version:
6.x-1.1
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Aug 2008 at 00:56 UTC
Updated:
9 Dec 2009 at 02:12 UTC
Installed and tested on two different scenarios:
Comments
Comment #1
mryoung commentedMy problem is a bit different ... but comment_page still not working
I've got the link to the comment page on the comments ... but:
/comment/x <= not found 404
Any idea ?
Comment #2
daspit commentedI find and fix this bug.
it is in "function comment_page_display($comment_id)" in file comment_page.module -
variable $comment_id is not cid in Drupal 6
I change "$comment = _comment_load($comment_id);" at line 174
to "$comment = _comment_load($comment_id->cid);"
and all work fine
you can see how it is work now at:
http://dig.by/comment/4 and
http://dig.by/comment/3
Comment #3
johnnoc#2 worked for me.
Comment #4
daspit commentedI am not a PHP or CVS guru. My knowlege of PHP is "How to make Hello-Word application".
If my patch work fine, maybe anyone add it to new release?
Comment #5
alexmarkley commentedI'm using Drupal 6.6, and I'm definitely experiencing this bug. All linked comment pages show up as "404 - page not found" instead of displaying any actual content.
The suggested patch at #2 seems to solve the problem. Any chance we could get a patched release?
Comment #6
dkl4 commentedYup, this one-line change did it for me :
NEW : $comment = _comment_load($comment_id->cid);
Thanks,
David
Social Security Help
Comment #7
nicholas.alipaz commentedditto, #299933-2: Comment Page 6.x-1.1 not working? fixed it for me
Comment #8
chawl commentedWorks on D 6.13.
Commit this please, it is already late for months.
Comment #9
johnnoc