Hi, im a new user so please bear with my level of understanding drupal?

i have setup and running...
drupal 6.9
php 5.2.6
mysql 5.1.29
apache 2.2.10

warning: Invalid argument supplied for foreach() in D:\htdocs\drupal-6.9\modules\forum\forum.module on line 678.

* You are not allowed to post new content in forum.

i get the above msg when i enter into the forum section, im using the default forum module shipped with drupal 6.9, but neither the administrator nor the anonymouse user can post on forum, with the above error. i have also enabled ALL permissions for administrator but still i get this error?

.

thanks in addvance for your help n support?

Comments

cog.rusty’s picture

In the admin/content/taxonomy page, edit the Forums vocabulary and see if the "Forum topic" content type is enabled in it.

mehtab.habib.khan’s picture

Thanks cog.rusty for your reply,
Ok, but the problem is still there,

as you told i checked the Administer--> content management --> taxonomy page . initially there was no vocabulary. i added one and selected Forum topic in the content types,
Forum topic Forum topic edit vocabulary list terms add terms
but still i get the same msg that, you are not allowed to post in forum topics, neither the administrator nor the anonymous user...

whats the problem?

Engr. Mehtab Habib Khan
mehtab.habib@yahoo.com
http://mehtabhabib.webng.com
+92 331 5014890

cog.rusty’s picture

You can't just add a Forums vocabulary yourself. The forum module won't recognize it, because it has the wrong vocabulary ID.

The Forums vocabulary must be the one which the forum module created automatically when you enabled it and configured it in admin/content/forum

Look at the numeric ID of your Forums vocabulary (by hovering the mouse over its link), and then check the following in the database:
- In the "vocabulary" table, the vid of the Forums vocabulary should be the same ID that you found.
- In the "variable" table, there must be a forum_nav_vocabulary row with the same value.
- In the "term_data" table, all your forum containers and forums must have that same vid.
- In the "node_type" table, there must exist a row with type='forum'.
- In the "vocabulary_node_types" table, there must exist a row with the same vid and with type='forum'

mehtab.habib.khan’s picture

These settings allow you to adjust the display of your forum topics. The content types available for use within a forum may be selected by editing the Content types on the forum vocabulary page.

forum vocabulary page. is unavailable (404),

i dont know about forum IDs, everything is messing-up...

dear, im all n all confused, im using drupal or any such software for the first time, i'll be really thank-ful to you it you guide me the procedure from scratch upto working forum on my drupal site, or could at-least send me a link where i can find one, actually i was following a book to learn drupal, and all is messed up...

Engr. Mehtab Habib Khan
mehtab.habib@yahoo.com
http://mehtabhabib.webng.com
+92 331 5014890

cog.rusty’s picture

First, delete the Forums vocabulary which you created yourself.

Then go to admin/build/modules and disable the Forum module.
Very important: On the same page, click on the "Uninstall" tab and uninstall the Forum module.

Then start again: Go to admin/build/modules and enable the Forum module.
Go to admin/content/forum and create containers and forums.

mehtab.habib.khan’s picture

GOD bless youcog.rusty...
IT DONE... finally i have a working forum on the site...

just to make things clear a bit for future, let me say that i did the same process earlier while following the book titled "building powerful and robost website with drupal 6" but it went wrong... i wonder what went wrong, i mean where and what was the error?

any way thanks a lot again for your passionate help and support...

Engr. Mehtab Habib Khan
mehtab.habib@yahoo.com
http://mehtabhabib.webng.com
+92 331 5014890