Major problem - hope somebody can help urgently.

I've upgraded from 5.15 to 6.9 but there is nothing in my forum.

I've found out that the vocabulary containing forum categories is there, but it is NOT ATTACHED to the vocabulary of the upgraded D6 forum!

Practically, my D5 vocabulary had name 'Forum' and ID 1 and it is still there in D6, but in D6 the forum is using newly created vocabulary (also called 'Forum') with ID 15!
As result the /forum shows nothing and all our old forum messages are still there, but because they are tagged in the old forum, they do not show anywhere.

Why did this happen - anybody knows?

And how to rectify it... I guess all that could help would be a way to assign vocabulary 1 to the forum in D6 -- but how to do this?

Please help...

Comments

jandd’s picture

might be related to issue http://drupal.org/node/296082

vacilando’s picture

No, I don't think they are directly related:
* I am on MySQL 5.0.45, not on PostgreSQL
* I did not have any error messages when running update.php at the time of the upgrade

Any idea how to fix the symptoms -- how to "attach" the right vocabulary ID to the forum? Thanks!

vacilando’s picture

Anonymous’s picture

You don't say if you ran update.php?

adixon’s picture

The vocabulary id used for forum navigation is stored as a variable called 'forum_nav_vocabulary'.

So what you need to do is update your variables table to change your forum_nav_vocabulary to 1 from the new vocabulary it created for you.

I'd assume that in the upgrade process, it lost it's previous value for forum_nav_vocabulary. I don't think it would matter if you'd run any db updates, since the name of the variable didn't change. The only code that would delete this variable would be if the forum module thought it's vocabulary was being deleted.