Nobody (not even administrator) can post to forum

kuitang - July 3, 2009 - 17:11

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.

.

Michelle - July 3, 2009 - 18:03

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

Michelle

---
I'm looking for folks to help me out by posting in my Coulee Region forums. You don't need to live in the area; there's plenty of general forums. But please, no Drupal support questions. :)

sub.

dddave - July 3, 2009 - 20:10

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

I had the same problem .... now solved

ro_x_taz - October 3, 2009 - 21:13

My work was to manually checking some variables:

If you get an empty string with this ...

<?php
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

 
 

Drupal is a registered trademark of Dries Buytaert.