Closed (works as designed)
Project:
Drupal core
Version:
7.1
Component:
forum.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
15 Nov 2011 at 15:48 UTC
Updated:
14 Nov 2018 at 09:19 UTC
Jump to comment: Most recent
Comments
Comment #1
xjmHi @majortom,
Comment #2
larowlan4) can you rerun update.php
5) can you rebuild node access permissions
Comment #3
majortom commentedI have cleared the cache and rebuilt permissions (many times). I have taxonomy enabled. I have Forum Access and have tried it enabled with all permissions open, as well as disabled (and even with acl disabled). I have no other access control installed. I have enabled the Devel Node Access and get no report.
Comment #4
xjmIt sounds to me like this is probably not a core issue. I've heard other reports of people having problems with the forum access upgrade. Try this, in the following order:
If the nodes can then be accessed, go ahead and reinstall and reconfigure forum access.
Comment #5
salvis@xjm:
Huh? I haven't! Please send them my way so I can look into them.
@majortom:
Before you uninstall FA (and lose your configuration) try disabling Advanced Forum.
What version of FA are you using? Update to BETA1 if you haven't done so yet.
Comment #6
xjm@salvis: I've seen it in IRC, but here's a forum post:
http://drupal.org/node/1339922
Here's another issue that also suggests disabling AF as salvis suggests:
#235571: "You are not allowed to post new content in forum."
Comment #7
salvisThanks, xjm! I replied in the forum.
The issue is an old one and has no bearing on the D7 versions.
Comment #8
majortom commentedAfter doing more research, I was discovered that the problem seems to have been with the upgrade from 6.x. I am not sure why, but the forum taxonomy vocabulary was renamed taxonomyextras and the storage was field_data_taxonomyextras. After renaming the tables, renaming some columns, and changing the field on the forum post page, I was able to get it working again. It had nothing to do with forum access.
Comment #9
salvisOk, thanks for letting us know.
Can we close this? If you want to pursue it regarding the difficult upgrade path, it's probably better to start a new issue, maybe with a link to this one.
Comment #10
majortom commentedSure, but at least I think it should get moved back to the correct source (Drupal Core Forum Module). This had nothing to do with Forum Access and someone looking for this same issue would not find it there (for example if they didn't have Forum Access installed they might not look at the issue).
Comment #11
salvisComment #12
pcoffey commentedI'm having a similar problem with a clean install of Druipal 7.9, no Forum Access. I'm going to check it out, I'll let ya'll know what I find.
Comment #13
salvisOh, wow, that's interesting. Thank you for posting.
Clean install is very unlike difficult upgrade path, so there may well be something hiding somewhere...
Having as little ingredients as possible is key to finding the real culprit.
Comment #14
xjmThanks @thelatte -- steps to reproduce the issue would be a huge help.
Comment #15
pcoffey commentedWhen I enabled the Forum module, I got a server error. My suspicion is that the Forum module didn't get to install completely, and I was missing some part of it in the db. I did un-install/re-install it, but the server still had errors and the issue was not resolved. It's quite possible that it was an problem with my server configuration. Perhaps the memory limit was set too low and wouldn't allow for the module to complete an installation. Maybe there was some other process running that I didn't know about that was eating up my memory. (pretty unlikely, but it's all I can think of) I didn't actually get to spend as much time on it as I wanted, the project needed to be completed, so I ended up doing a clean install of Drupal (same server) and exporting/importing my nodes/settings. Everything worked awesome, so I went on with my development. I intend on attempting to recreate the problem and solve it when I get some time though.
Comment #16
AndrewJarvis commentedI'm also having this problem. Core, 7.10 - without Advanced Forum module I did not get an error, but could not post, and saw the "You are not allowed to post new content in this forum." message. I installed Advanced Forum module later to see if that would fix it--same message, no errors though.
Comment #17
xjmPlease provide steps to reproduce the issue, like:
1. Install Drupal core.
2. Do X.
3. Do Y.
If one of the steps to reproduce the issue is "Install module X," then this issue should be moved to that module's queue.
Comment #18
AndrewJarvis commentedIf I understand you correctly, here's my situation in the format you're describing:
1 - At 7.10 for Drupal core
2 - Never having enabled the Forum module before, or any other forum-related module
3 - Active forum:
- No error, but unable to post, even as user 1
4 - Active Advanced Forum module
- Same result
Comment #19
xjmThanks @AndrewJarvis. I just tested based on your comment, and the following steps alone are not sufficient to reproduce the issue:
admin/structure/forum.node/add/forum/2.The topic is created without any issue. So, what I need is the additional steps that will cause the problem to happen. Maybe they start like:
Thanks!
Comment #20
xjmTagging.
Comment #21
AndrewJarvis commentedXjm,
Thanks for your help man--so far I have not been able to get it to work, or replicate it on another install.
I did, however, disabled all of the contributed modules that were on:
Biblio - PubMed
CCK Blocks
SlideshowSandstorm
Feeds Admin UI
Feeds Import
User Reference
Flag actions
Media
Better Formats
Block Theme
Form block
Pathauto
Search 404
CKEditor Styles
Workflow access
Workflow actions and triggers
Workflow rules
Workflow UI
Workflow views
XML sitemap
Administration menu Toolbar style
Biblio
Features
Feeds
Flag
Media
Insert
Menu Block
Token
Rules
Wysiwyg
Views Slideshow: Cycle
Views UI
Webform
Workflow
Administration menu
Entity tokens
Job Scheduler
Libraries
Views Slideshow
File entity
Entity API
Views
Chaos tools
Node Reference
References
Which left it with only core modules enabled. I flushed caches and refreshed the forum page, and it still has the message "You are not allowed to post new content in the forum." (logged in as user/1)
I have also tried the fix found in http://drupal.org/node/90214 where you run the following code:
It didn't seem to do anything. I'll try it again, maybe it didn't run last time.
Let me know what you would have me troubleshoot next.
Thanks!
Andrew
Comment #22
AndrewJarvis commentedI ran that code, and since I got something new, I'm guessing it hadn't run before :)
Ran this:
Now on forum page I get:
"No Forums Defined"
"You are not allowed to post new content in the forum."
Any suggestions? I know you're looking for ways to replicate the issue, but I can't very well start from scratch just to get this problem resolved. I realize this is a core bug forum, so your main concern isn't solving my problem, but fixing the more fundamental issue of why it happened to begin with. Which I totally support :) But, hopefully we can accomplish both goals, hehe.
Comment #23
xjmThe thing is, it might not be a core forum bug. :) It might be something weird a contributed module did to your site database in Drupal 6, or something. That's why steps to reproduce are so important. At least, it would be good to test and see if you can reproduce this by installing Drupal 6.x on a sandbox site, configuring forums like yours, and then upgrading that sandbox site to 7.x.
Maybe there are other helpful bits of information elsewhere on Drupal.org?
It appears the message you are getting is set in
forum_menu_local_tasks_alter()when this loop comes up empty:So, I'd guess that either the does not have access to create that node type (which should be impossible), or there is no
taxonomy_forumsfield. You could do some debugging in that function to see which it is.Edit: I guess, check that everything is configured correctly in the forums configuration? Check that the forums vocab is configured and has terms; check that the forum content type(s) are configured; check that they have the forum taxonomy field.
Comment #24
dddave commentedThe lack of response suggests that #23 is right.
Comment #25
Arturus commentedSolution found
1. In the type of material "Forum" add the field "Forum section";
2. Give the Machine name "taxonomy_forums", but Drupal adds "field_taxonomy_forums";
3. Go to the mysql tables, look for the tables; this name is found, change to "taxonomy_forums" (in my tables: "field_config_instance" and "field_config"), you can not touch the _cache_ tables;
4. In the table "field_data_field_taxonomy_forums" change the name of the column "field_taxonomy_forums_tid" to "taxonomy_forums_tid".
After these manipulations, the forum works as it should, on the pages of the forum there appears a link to the creation of a new forum, the forums are created and shown in the appropriate sections.