I'm using Drupal 5.10. I created a forum in previous versions and everything seemed to be working fine. When I posted a new forum post, it shows up on my New Forum Topics block on the home page. However, it is not placed in the specific forum category such as Kitchen and Bath Remodeling. Also when I edit the forum post, the specific category has been checked.

I've researched this topic in the Drupal Forums. Tried creating new vocabulary and other techniques. Nothing works. Older forum content is intact. I also tried editing older forum posts and changed the forum category. The post remained in the old category. Seems like something is out of sync.

Any suggestions how to trouble shoot this would be deeply appreciated.

Comments

cog.rusty’s picture

The problem is that when you delete the Forums vocabulary and create a new one, that doesn't work because the forum module remembers the ID of its old vocabulary. So, you should never touch the Forums vocabulary. If you did, see this:

http://drupal.org/node/90214

To be safe, try to fix it in a test site first, uploading a backup of the database, so that if something goes wrong your database won't lose information which do exist but currently don't work. Or just keep a backup of the database.

Thomasr976’s picture

just created a new one but that did not help. Will go to test site and also look at link. thanks.

Thomasr976’s picture

The forum content type has no taxonomy type in it and I don't seem to be able to add it in there. When I go to the Taxonony mod setting an d click on the category, I see that Forums are checked but there's a note "forum topic is affixed to the forum vocabulary."

If I then submit the category I get a message "An illegal choice has been detected. Please contact the site administrator." Also "This is the designated forum vocabulary. Some of the normal vocabulary options have been removed."

Any suggestions welcome.

cog.rusty’s picture

Go to the taxonomy settings page and check the numeric ID of the Forums vocabulary.

Then go to your database using phpmyadmin:
- Check the table "term_data". Try to recognize the categories (terms) which are forums for sure, and check their vid. This should be the correct ID of the Forums vocabulary, so don't change it. Is it the same as the one above?

Then:
- Check the table "variable". Is the value of "forum_nav_vocabulary" the same? (with a bit different syntax) If not, change it.
- Check the table "vocabulary". Is the vid for "Forums" the same? If not, change it.
- Check the table "vocabulary_node_types". Is the vid for "forum" the same? If not, change it.

Thomasr976’s picture

Everything else checks out. All of the other tables have the numeric ID for the Forums Vocabulary.Forum and it is the same. Seems like the Node type got lost some how.

This is what the vocabulary_node_type list looks like:
vid type
9 story
16 image
17 free_listing
17 premium_listing

As you can see their is nothing for the Forums? I also searched on one of the new forum posts that i created which doesn't show up in the Forums. Here's what the search showed inside the Table Node

nid vid type title uid status created changed comment promote moderate sticky
Edit Delete 577 579 forum Tommy Test 1 1 1223231959 1223232009

How do I add the Forum to vocabulary_node_type? Sorry, I am in over my head already.

Also thanks very much for your help.

cog.rusty’s picture

There should be an "Insert" tab on the top when you are browsing the "vocabulary_node_types" table in phpmyadmin, which brings up a form to enter the values.

Or try the query INSERT INTO vocabulary_node_types (vid, type) VALUES (nnn, "forum") where nnn is... you know.

Thomasr976’s picture

Could not have done it without you. Since you work in publishing thought you would like to see the website. Thanks cog.rusty.