After accidentally deleting the forum taxonomy term I can't get the forums working again and the following problems persist:

  • When creating a forum topic I can't choose any forum.
  • taxonomy_theme doesn't work with forum.

I followed the instructions in http://drupal.org/node/24274, both truncating cache and following the steps in the last comment. Nothing works.

Since I have no data in the forum could I disable the forum module, delete the forum table and install again? Or is there any other way than doing a fresh install of the system?

Comments

imerlin’s picture

I'm almost positive that in the forum tables there is some link to a unique term id. Just find that ID and change it to a term ID that does exist.

I'm not running the forum module myself and I don't have time to test it. But I think this is a solid advice.

gjk’s picture

Thanks for the reply. But I installed the site again both to restore forum categories and undo changes made by the Category module.

saml’s picture

I managed to repair a deleted Forums vocabulary (Drupal 6) like so:

  1. Create a new taxonomy "Forums" with language "english" and select "Forum topic" in the content types section
  2. Go to the modules page and uninstall the forum module
  3. Install the module again

You might end up with double "Forums" vocabularies by doing like this, but after you have created at least one forum you can figure out which one to delete by clicking "list terms" on both of them, and see which of them that shows the newly created forum as a term.

Regards
// Samuel

MaramonJ’s picture

My forums are still there, as is the taxonomy, but it has become somehow dissociated from the taxonomy permissions page. Two of the taxonomies are available (Question and discussion) but none of the rest are available, no matter that I rebuild the permissions and even create new forum taxonomies. In the Taxonomy access permissions, I have View set to Allow, Update and Delete set to Inherit, and Create and List checked. That's the same as the two that are working. I've tried unchecking them and even deleting and recreating the afflicted content. I don't want to go back and rebuild the dozens of different forums and I certainly don't want to risk losing the thousands of posts. I've tried all sorts of things, but no luck. Any advice?