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
Comment #1
webcomm commentedThis 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.
Comment #2
webcomm commentedComment #3
webcomm commentedI upgraded from 6.3 -> 6.7 this morning. The forum posts are still not displaying at /forum/2
Comment #4
Anonymous (not verified) commentedSame problem with me on 6.6
Comment #5
Anonymous (not verified) commentedSeems to occur once an anonymous user posts a comment.
The comment cannot be seen within the Comments section in the Admin panel.
Comment #6
Anonymous (not verified) commentedFixed 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
Comment #7
gábor hojtsyUh, 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.
Comment #8
stevryn commentedI 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?
Comment #9
federico commented- 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
Comment #10
federico commentedI'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 ASCnone 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
Comment #11
GStegemann commentedI have a very similar problem. But the language is "und" in both tables.
Comment #12
federico commentedComment #13
droplet commentedDoes it a problem only occur when upgrade from D6 to D7 ?
(Upgrade path is critical issues as I know)
Comment #14
federico commentedNo, 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.
Comment #15
federico commentedCan this be related to #1003308: Forum module cannot decide if it wants 'taxonomy_forums' hardcoded in it leading to faulty functioning ?
Comment #16
federico commentedDid anyone got this solved?
Should we create a separate issue for D6?
Comment #17
nengisuls commentedI 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. :(
Comment #18
slimandslam commentedStill broken.
Comment #19
droplet commentedanyone can post step by step to reproduce this issue ?
Comment #20
sirviejo commentedI 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
Comment #21
catchThe 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.
Comment #22
xjmSee 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.
Comment #23
larowlanPossible dupe #361275: Topics are created but not displayed although that one is against D6
Comment #24
larowlanWe'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.
Comment #25
larowlanIs 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
Comment #26
larowlanpostponed over a year, closing