Hi,

As the administrator, I can create containers and forums, but when I click the Forum link on navigation, even the administrator sees "You are not allowed to post new content in the forum."

Under permissions, I have authenticated users allowed to access comments, post comments, post comments w/o approval, and for forum module, I have create forum topics, edit own forum topics.

The problem persists even when I disable taxonomy access control.

Further, When I go to Admin -> Content managements -> forums -> settings and click the link to "forum volcabulary page" ([...]/admin/content/taxonomy/edit/vocabulary/), Drupal says "Page not found." I suspect this may be part of the problem.

Additionally, the log has this message whenever I try to work with forums: Invalid argument supplied for foreach() in [...]/modules/forum/forum.module on line 670 [foreach ($vocabulary->nodes as $type) {]. When I go to Taxonomy, there is no forum-created vocabulary.

The site is whitehole.dyndns.org/csmfoc/. You are welcome to create an account to test.

Comments

Michelle’s picture

Sounds like http://drupal.org/node/90214

Michelle

dddave’s picture

Could be interesting for my problem (http://drupal.org/node/509604) so I want this in my tracker. ;)

roxtaz’s picture

My work was to manually checking some variables:

If you get an empty string with this ... variable_get('forum_nav_vocabulary', ''); this means that you have one missing variable from variable table: forum_nav_vocabulary.

I solved this using some old backup and comparing values: this is the SQL you must execute to insert variable:

UPDATE `isujis_isujis`.`variable` SET `value` = 'i:1;' WHERE CONVERT( `variable`.`name` USING utf8 ) = 'forum_nav_vocabulary' LIMIT 1 ;

More details here: http://api.drupal.org/api/function/forum_get_forums/6 and here: http://drupal.org/node/90214

n4rky’s picture

I didn't know any better, I throttled forum. I un-throttled it, but now I've got the dreaded "You are not allowed to post new content in the forum" message.

I tried the advice on this page. I even tried copying the snippet of code to a file in the drupal directory and executing it. I get a white screen with the message, "Fatal error: Call to undefined function variable_del() in /usr/share/drupal-6.16/fixforum.php on line 2"

I don't know mysql and I'm new to drupal. What, in baby steps, please, do I do? I do have phpmyadmin installed.

Thanks!