"You are not allowed to post new content in forum."
chrism2671 - March 18, 2008 - 02:42
| Project: | Advanced Forum |
| Version: | 5.x-1.0-alpha3 |
| Component: | User interface |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
For some reason it says "You are not allowed to post new content in forum." on the forum view despite being logged in as admin.Disabling advanced forum allows me to post comments (using the traditional interface).
I have checked the permissions and it appears to be fine. It's a pretty clean test installation (5.7) so don't expect any problems. The theme is bluebreeze.
Any help would be much appreciated!
Thanks,
Chris.
| Attachment | Size |
|---|---|
| error.jpg | 22.39 KB |

#1
I have exactly the same problem
after upgrade 5.3 to 5.7
Thank you for all your work on drupal!
#2
Same problem too, even with the core Forum Module.
I get ->
warning: Invalid argument supplied for foreach() in ...\drupal-6.1\modules\forum\forum.module on line 672.
and
"You are not allowed to post new content in forum."
I have checked the permissions, and everything is ok.
Sotiris.
#3
This http://drupal.org/node/90214 helped me to solve the problem!
I made it with this way because for some reason it couldn't reset the variable that was keeping the vocabulary id.
1. First create a new forum.
Admin->content management->forums->add forums.
Then open your drupal database with phpmyadmin probably, and open the table "term_data".
Locate the record that has the name of the forum that you created before, write down the vid field number for that record, because we are going to use it. (In my Database this number is "0").
2. Open the table "vocabulary", and locate the record with your forum vocabulary, it's the one with the value "forum" at the module field.
At this record you have to change-update the current value of it's vid field, with the number that you wrote at the previous table.(term_data)
3. Open the table "vocabulary_node_types", locate the record with the value "forum" at the field type and change-update the vid value with the same number as you done before at "vocabulary" table.
That's it.
Now, you can post new content to your forum!
#4
Guess you guys figured it out.
Michelle
#5
Thank you greatly for your post! I ran into this as I had installed both advanced forum and OG forums, not realizing that there was incompatibility. Although following your steps did not work in my case (step 3 had no record to change), the http://drupal.org/node/90214 link tips fixed the issue.
#6
Just curious, how could this issue be closed if the solution requires manually editing the database? Don't mean to be rude, I am genuinely curious. Is the problem with OG, OG_Forums or Advanced Forums? It is not clear to me.
#7
The problem is with core forums. Since it has nothing to do with advforum, and the fix was posted, it's marked fixed.
Michelle
#8
Got it, thank you. Great work on advanced forums, btw.
#9
Automatically closed -- issue fixed for two weeks with no activity.
#10
I have tried this and I've run into a road block. There is no value in my vocabulary_node_types table. I try adding one with my vid number and type forum but it gives me a list of errors and doesn't add it.
Any help or direction would be greatly appreciated.
#11
Please don't reopen closed issues for new support requests. This isn't an advanced forum issue. I'm sorry to be harsh, but I simply don't have time to debug problems for people that are not part of my modules.
Michelle
#12
EDIT:
Nevermind me :)
Fixed with the help from instructions above. You need to create the line in the DB if it's not there.
Thanks for a great module michelle!
#13
RE: Drupal 6.6
I didn't know this when I first created the forums. I ended up creating a vocabulary independently of the forum module. So, I have 2 vocabularies, "Tags" & "Forums", and I've been using the "Forums" vocab as if it were for the forum module, but it's not. Here's the record in table 'vocabulary':
vid | name | description | help | relations | hierarchy | multiple | required | tags | module | weight1 | Forums| | | 1 | 2 | 0 | 1 | 0 | taxonomy| 0
The vid for the newly created forum, "Temp Forum", following your instructions, is 0.
How should I fix this? Should I change the module field to "forum" as well? If I do that, what would the ramifications be?
--aslam