I've encountered the following issue: Actually, all comments showed up on the node page. Out of a sudden one of our users reported that there are no comments anymore. Indeed she was right. I had a look in the database and all comments were there. I looked under the admin/content/comments page and could see all comments. They just did not show up on the node page.

I disabled our custom module which we mainly use for form_alter, menu_alter, etc. After disabling it the comments showed up again. So I thought it was our custom module and tried every function in it (delete the code, refresh the page, paste the code again, etc.) - no result. In the end, I enabled the module again with the same code as before. - Comments showed up fine again.

Why could this happen? Could this be due to caching?C

Comments

dddave’s picture

Category: bug » support
Status: Active » Closed (won't fix)

Pretty hard to debug from afar. Of course it could be a caching problem or something else caused by your custom module. Hope the problem doesn't not occur again.

Setting to won't fix as it seems to be a problem with a custom module and not Drupal core.

jaochoo’s picture

Category: support » bug
Priority: Normal » Major
Status: Closed (won't fix) » Active

I have to open this again since the error come again and again but without any further notice (error message or similar). For example, the comments were working again, but now they are not anymore. I checked different nodes and different content types but it makes no difference. I would have to delete the hook_comment() code from my module and then flush all caches and insert the hook_comment() code again to make the comments show up on the node page. However, as mentioned above, this does not see to fix the error forever, but only until the next time it occurs.

jaochoo’s picture

Could this be related to this issue?

naxoc’s picture

Status: Active » Postponed (maintainer needs more info)

Don't know if this is still an issue but are any access modules installed?

Status: Postponed (maintainer needs more info) » Closed (outdated)

Automatically closed because Drupal 6 is no longer supported. If the issue verifiably applies to later versions, please reopen with details and update the version.