Problem: I create a new forum topic but it doesn't appear in the forum.
Similar entries: http://drupal.org/node/164746 http://drupal.org/node/167762 http://drupal.org/node/59728
Steps required: All was working fine. Then I installed the latest versions of CCK (5.x-1.7), Category (5.x-1.1) and Views (5.x-1.6). I experienced the above problem with the forums. I found similar problems on the above links and found a solution involving a patch to taxonomy.module.copyme (Category wrapper) and a new module called 'Compat'. This did not fix the problem. Desperate to get forum functionality back I decided to remove the Category and Compat modules and reverse the patch. Still the problem remains. I removed all existing content, cleared the cache_* tables, ran the upgrade.php script. Created a new forum, created a new post. Still doesn't appear.
I've checked the database, this is the info:
forum table entry: nid=80, vid=87, tid=0
node table entry (forum post) : nid=80, vid=87
term_data entry (forum) : tid=80, vid=1
Other info:
OS: XP
Webserver: ? (sorry)
PHP version: 4.4.4
Need any more information?
I wasn't sure where to put this seeing as I've (hopefully) removed all trace of category. But if this isn't a core problem, apologies for posting it here and feel free to move it.
Thanks,
Simon
Comments
Comment #1
simonhearn commentedApologies for posting the above before exhausting all my options. After trawling the forums again, I came across a simple piece of advice (http://drupal.org/node/59728#comment-398524) that instructed me to delete the 'forum_nav_vocabulary' entry in the 'variable' table, then clear cache, delete forums and posts and re-create again. hey presto, it's working.
I guess this does mean it's a residual issue from Category and not a core issue (changed header to reflect this). I hope this helps anyone with similar problems in the future.
I'm now going to try re-installing category to see if I can get it to work, now that I know what the problem was. Will post again to tell how it went.
Comment #2
simonhearn commentedOK, re-enabled the categories, applied the patched taxonomy.module wrapper, enabled the Compat module, ran the Category Legacy script, re-created the forums, added a new post. And it doesn't work!
I'm re-activating this issue seeing as though this is a well known problem that seems to have been fixed in the past. Can anyone help me to get Category working with Forums?
Many thanks,
Simon
Comment #3
unitec commentedI have the same problem.
New forum posts are not shown.
I deinstalled category and forum module and installed it again but it doesn't work.
Is there another forum module which works an can be used?
Or should I deinstall category?
Jim
Comment #4
suityou01 commentedSame here. And no comments from any of the Drupal guys for this long is quite baffling. Forum functionality is so fundamental to the product. I confess I am disappointed.
Comment #5
Jaza commentedAre you using the Drupal 5 version, or the Drupal 6 version? The version number in this thread was changed from D5 to D6, but nobody has explicitly stated that they're using D6. Please clarify. Note that Category D5 currently has no maintainer.
Comment #6
JirkaRybka commentedI'm running Category+Forum on D5, and I also have a functional D6 testsite.
For D5, the compat module + patch work fine on my site (may be found at #117172: Analysis: Forum #2, and #115693: Simplenews and Forum broken due to missing taxonomy in node forms #9), but be sure to have Taxonomy wrapper installed, and don't edit the Forums container. I run this for almost 2 years now, and all is fine.
Things to be aware of:
- Import of Forums from Taxonomy only works well (for me at least - after #158683: Import from Taxonomy - Forums got committed) on latest version of category_legacy (D5), which got never published in a stable release. Use the 5.x -dev version for that. (This is how I moved my forums to Category initially.)
- Export of Forums from Category back to Taxonomy was never really fixed AFAIK, better don't attempt that unless you know how to clean up in your database manually.
- The best option is to test your options on a vanilla install, and start forums on your real site from scratch either on Category or on Taxonomy, so you don't need to convert it. Applying patches and the compat module only fixes the behavior on new forums, existing posts (and probably forum categories too) are likely to be screwed up still.
- "Remove all traces of Category" is difficult, and not really supported task. Indeed, "forum_nav_vocabulary" is one of the problems, and it might apply both ways (i.e. migrating from Taxonomy to Category as well).
For 6.x, the behavior [for new forums] should be now fixed in Beta3 by #115693: Simplenews and Forum broken due to missing taxonomy in node forms #25. But however, category_legacy is not ported to 6.x yet, so there's no advice for moving forums from a Taxonomy at this moment.
Turning this into a support request, and leaving open due to the D5/D6 uncertainty, but otherwise it's likely to be a duplicate of #117172: Analysis: Forum.