I set up the forum module, created a forum and posted a forum topic. The forum topic displayed properly and I began adding replies to test it out. The next day, as I was adding more replies and working on the CSS, the forum topic disappeared from the forum. I can still navigate to the topic via its node URL but it is not listed in the forum.

I checked to make sure it was still published and still assigned to the proper forum category, etc. I also posted some new forum topics. The original forum topic still isn't listed in the forum. The forum homepage has a "3" in the topics column for this forum, just as it should, but when I click through to the specific forum, only two topics are listed. I've tried disabling and re-enabling the forum module but that had no effect.

Comments

webcomm’s picture

This has now happened again with another forum topic. It no longer appears in the forum. It's as if the topics expire after X hours. The main forum page (/forum) says there are 3 replies, but when I click on the individual forum (/forum/2) there is only one forum topic.

Meanwhile, all three topics are accessible at /admin/content/node/overview -- and all three are listed as "published" and are assigned to the appropriate forum category.

webcomm’s picture

Priority: Normal » Critical
webcomm’s picture

I upgraded from 6.3 -> 6.7 this morning. The forum posts are still not displaying at /forum/2

Anonymous’s picture

Version: 6.3 » 6.6

Same problem with me on 6.6

Anonymous’s picture

Seems to occur once an anonymous user posts a comment.

The comment cannot be seen within the Comments section in the Admin panel.

Anonymous’s picture

Fixed my problem. It seems there was an issue with there being no userid=0 in the users table so the system wasn't picking up anonymous posts.

See http://drupal.org/node/230052#comment-1007049

gábor hojtsy’s picture

Priority: Critical » Normal
Status: Active » Closed (fixed)

Uh, not having an anonymous user is indeed a problematic condition, but Drupal assumes data is intact under the code and users who have posts are not removed manually (or in any ways).

@webcomm: Please reopen if this was not your same problem.

stevryn’s picture

I am experiencing this issue as well, REGARDLESS of who posts. Upgraded recently to 6.8, forums were working fine, existing content is good. However any newly added topics do not show in the forum topic list. The counts are correct, and the posts are able to be accessed directly, the show as published but they just don't get picked up in the listing. I have tried everything that I have found so far on here to try to fix the issue, but nothing has worked. I was able to make one show when I went and actually selected the node at admin/content/node and "published" the node again. webcomm are you still experiencing this?

federico’s picture

Version: 6.6 » 7.x-dev
Status: Closed (fixed) » Active

- I am experiencing this issue as well, REGARDLESS of who posts.

- I have UID = 0 in database.

- I cant make new forum post to show, even after going to admin/content/node and publish them again. (unpublishing and publishing also does not solve the issue)

- D 6.20 , but this issue arises also after updating to 7.0

- Last post picked up by forum is dated 16/11/10, a post dated on 20/12/10, and all forum posts after that date are not picked by forum. D 6.8 release date was 11/12 so #8 "Upgraded recently to 6.8, forums were working fine" maybe it's a problem of 6.8 onwards.

- on 6.20 taxonomy/term/#tid new forum topics are not shown
- on 7.0 taxonomy/term/#tid new forum topics are shown, but not on forum/#tid

federico’s picture

I've created a new forum node and checked in the database, found this:

- new node appears in 'node' table
- new node doesn't appears in 'forum' table, nor in 'forum index' table

- If I manually add the node to the 'forum' table and the 'forum index' table, it appears in "forum/#tid"

no dblog error

=====================
using devel in a new installation, i found this queries after adding a forum:
forum_node_load - SELECT f.nid AS nid, f.tid AS tid FROM forum f WHERE (f.vid IN (:db_condition_placeholder_0))
field_sql_storage_field_storage_load SELECT t.* FROM field_data_taxonomy_forums t WHERE (entity_type = :db_condition_placeholder_0) AND (entity_id IN (:db_condition_placeholder_1)) AND (language IN (:db_condition_placeholder_2)) AND (deleted = :db_condition_placeholder_3) ORDER BY delta ASC
none of this queries where found in the updated version.
=====================
in the 'node' table, older nodes (created before timestamp 1263419683) have language 'und', newer nodes have language 'es'. (Spanish language)

forum vocabulary is #9
all nodes in table 'field_data_taxonomy_vocabulary_9' have language 'und'

can it be a mismatch between 'es' and 'und' ?
edit: disabling locale module changes language of new nodes to 'und' but new nodes still do not show up in forums

GStegemann’s picture

I have a very similar problem. But the language is "und" in both tables.

federico’s picture

Priority: Normal » Major
droplet’s picture

Does it a problem only occur when upgrade from D6 to D7 ?
(Upgrade path is critical issues as I know)

federico’s picture

Issue tags: +taxonomy, +Forum, +show, +forum topics

No, it was already present in D6. Maybe it occur when upgrading from 6.7 to 6.8, I discovered the issue some days ago and can't confirm when it started.

As it's still present after upgrading to 7.0, I marked it as a 7.x issue, but maybe it's a 6.x , please correct it if I'm wrong.

federico’s picture

Did anyone got this solved?

Should we create a separate issue for D6?

nengisuls’s picture

I have this same problem and I installed fresh D7. So I guess its not just a D6 problem. Just new to Drupal and web development in general, and so far Date module has an issue and now this. :(

slimandslam’s picture

Still broken.

droplet’s picture

anyone can post step by step to reproduce this issue ?

sirviejo’s picture

I found a way to reproduce this bug (D 6 version), if you have the comment module disabled, then forum_get_forums() will return your forum empties

catch’s picture

Version: 7.x-dev » 8.x-dev
Status: Active » Postponed (maintainer needs more info)
Issue tags: -taxonomy, -Forum, -show, -forum topics +Needs backport to D7

The Drupal 7 and Drupal 6 forum modules are not that different, but the queries have changed a lot, so it's very likely this is not the same issue.

If you're having this issue in Drupal 6, please open a new issue there and link to it from this one.

If you're having the issue in Drupal 7, please post step-by-step instructions to reproduce the bug.

xjm’s picture

See also #1157142: Watchdog: Undefined index: node in forum_menu_local_tasks_alter() (line 175 of ../forum/forum.module. If you are having the problem described in this issue, check your error logs for those errors, and follow up in that issue if you have them.

larowlan’s picture

Possible dupe #361275: Topics are created but not displayed although that one is against D6

larowlan’s picture

We've found a bug how the forum module's locks down your ability to change aspects of the forum vocabulary and terms.
This code is supposed to prevent containers having multiple parents, which in turn affects how the $node->taxonomy data is composed.
The issue is here #10566: Forum can not appear in multiple containers.
Without the patch there you can modify your forum vocab/terms to allow them to have multiple parents - which may be the cause of this issue.
Please edit your vocab to set the hierarchy flag and edit your terms (containers/forums) to ensure they don't have multiple parents.
Then apply the patch at #10566: Forum can not appear in multiple containers and see how you go.

larowlan’s picture

Priority: Major » Normal

Is anyone still having this issue after editing their vocab as described above?
Fixes for forum bug were resolved in #787652: Forum vocabulary alterations possibly obsolete -- possible to delete forum vocab

larowlan’s picture

Issue summary: View changes
Status: Postponed (maintainer needs more info) » Closed (fixed)

postponed over a year, closing