Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
After enabling forum and advanced forum, i managed to create categories but this error occurs when i try to make new post.
Notice: Undefined index: node in advanced_forum_allowed_node_types() (line 1017 of /sites/all/modules/advanced_forum/advanced_forum.module).
You are not allowed to post new content in this forum.
Comments
Comment #1
troky CreditAttribution: troky commentedDo you have problems creating new forum post when AF is disabled? Do you have Forum Access or similar module(s) installed? Is it D7 clean install or upgrade from D6?
Comment #2
BigBrother2010 CreditAttribution: BigBrother2010 commentedI have not tried core forum alone before installing AD, i enabled both in same time.
Clean D7 install.
After disabling AD i get no error but still get "You are not allowed to post new content in the forum."
Checked permissions and rebuilt them several times.
Comment #3
MichelleI'm assuming AD is a typo for AF? If so, if you are not allowed to post content in the forum with AF disabled, then AF won't let you, either. Moreso, AF tends to choke on it more if the site has issues that aren't allowing posting.
Michelle
Comment #4
BigBrother2010 CreditAttribution: BigBrother2010 commentedYeah sorry, typo.
Thats my guess too, but have no clue where to look next as all permissions seem to be correct.
Comment #5
MichelleIt can sometimes be a result of the forum vocab messed up. I don't know if that's still an issue in D7. It was in D5/6 and there are issues about it in the core forum queue.
Michelle
Comment #6
Joel Fine CreditAttribution: Joel Fine commentedI don't know if this is related, but I've set up permissions on my forums such that certain forums are restricted-access. So certain forums shouldn't be seen at all by certain users. This mostly works, except that the "New Forum Posts" view shows ALL New Forum Posts, including ones that the user doesn't have permission to look at. So they see a tantalizing list of topics, many of which give them permission errors if they try to follow the link.
It would be better if the "New Forum Posts" were filtered such that it shows only those posts for which the current user has permission to view.
Comment #7
juan.bangkok CreditAttribution: juan.bangkok commentedHi,
I'm facing exactly the same situation after migrating from D6 to D7 (AF 7.x-2.0).
I can't even post as Admin.
Any idea of what we should look for at DB level would be extremely useful (I've been trying to fix from within Drupal, but so far no luck)
Comment #8
juan.bangkok CreditAttribution: juan.bangkok commentedThis is a related post:
http://drupal.org/node/895774
And also what it seems to be the problem:
http://drupal.org/node/1003308
Do you know what machine names we should use?
Comment #9
WorldFallz CreditAttribution: WorldFallz commentedit's not the 'same situation'. please don't hijack unrelated issues -- no where does this issue mention a forum_menu_local_tasks_alter in forum.module. This issue queue is for advanced forum.
Comment #10
juan.bangkok CreditAttribution: juan.bangkok commentedYou are right. My fault reading the post.
Comment #11
Gamesbro CreditAttribution: Gamesbro commentedThis is an error produced by enabling both the forum and advanced forum at the same time. Luckily since your forums should have no content this method fixes the issue. If your forum has content and you have re-enabled both forum and advanced forum this error may not be produced (not tested) and this method is not recommended. Use only on forums with no content and at own risk.
Solution:
1/ Back up site and database.
2/ Disable advanced forum. Run yoursite/update.php.
3/ Disable forum. Run yoursite/update.php.
4/Log into phpMyAdmin and click on your database.
Click and highlight
field_data_taxonomy_forums
field_revisions_taxonomy_forums
forum
forum_index
Drop the selected items from using the tab at the bottom of the page.
5/
Click the search tab and do a thorough search for the term "forum" ensuring to highlight the select all tab.
Delete any search results with the word forum.
6/ Enable forum. Run sitename/update.php
7/ Enable Advanced Forum. Run sitename/update.php.
This worked for me.
Comment #12
frugalnaire.com CreditAttribution: frugalnaire.com commentedI too had this same problem but, even when AF was disabled I needed to change permissions on forums
People->Permissions
Forum topic: Create new content (check "Authenticated Users")
Comment #13
hbalagtas CreditAttribution: hbalagtas commentedIn our case someone accidentally deleted the field term reference "Forums" on the content type. This fixed our issue