Hello,

I made a stupid mistake and deleted my forum vocabulary from the category admin page. Now, when I go to make forum posts, there is no "category" selector and I can't put my posts into any forum! I have tried re-adding the Forum vocabulary manually but this does not work.

Does anyone know how I can "re-initialize" the forum module and make it recreate the proper vocabulary?

I don't have any important posts so I can delete my forum if necessary.....

I really appreciate any help you might have to offer.

-Kenny

Comments

kyouens’s picture

I think it may have to do with this issue but I'm not sure...

kyouens’s picture

I'm not sure if this should be filed as a bug or not, but as of now it seems like it's possible to break the forum module by deleting the forum vocabulary. A more extensive search comes up with the following workaround:

- delete all the forums
- disable Forum module (?q=admin/modules)
- using phpMyAdmin (or mySQL command line), go to the Drupal variable table, find the entry where the name is forum_nav_vocabulary, and delete it
- re-enable Forum module
- recreate forums

This works for me. Perhaps this should be reported as a minor bug?

venkat-rk’s picture

I don't think this is a bug. It is just another way of troubleshooting by working directly on the database. Great that you found it and shared the steps. I have done the same thing a few times.