I recently enabled the core Forums module, and somethings not working quite right. Users are able to click the "Post new forum topic" link, successfully fill out the form, and submit, and the results DO show up in the "Administer > Content" area, but do not display in the forum itself. It still claims there are 0 topics and 0 posts. It appears that the posts are not being assigned any category, although I would have thought that would have been taken care of by the node/add/forum/38 link used to post them. What are we doing wrong?
On Tue, Apr 15, 2008 at 11:15 AM, Tony Yarusso tonyyarusso@gmail.com wrote:
I recently enabled the core Forums module, and somethings not working quite right. Users are able to click the "Post new forum topic" link, successfully fill out the form, and submit, and the results DO show up in the "Administer > Content" area, but do not display in the forum itself. It still claims there are 0 topics and 0 posts. It appears that the posts are not being assigned any category, although I would have thought that would have been taken care of by the node/add/forum/38 link used to post them. What are we doing wrong?
-- Tony Yarusso http://tonyyarusso.com/
Some follow-up information I've found now: 1. The "Categories" field has disappeared from all content types' submission forms, such as story. 2. If I go to the "Edit" page for any of the posts of type 'Forum', I get the error "warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'forum_node_form' was given in /usr/share/drupal-5.7/includes/form.inc on line 218.", and nothing else displays. 3. I had been using CCK, but have now disabled all of that and other modules that looked related, including Forum, disabled then re-enabled Taxonomy, and I still don't have category fields on submission forms. 4. Since those fields don't exist, I can't manually assign the categories to make them show up in the forum display. 5. I tried enabling forum on another site and made a test post, and that worked just fine. The primary difference is that the second site has never used CCK. 6. This is on Drupal 5.7. 7. I've also noticed that I'm unable to make the Devel module's block show up, although it too has worked in the past.
Clearly something funky is going on...maybe the site is haunted. Anyone have a better idea?
Is there a Forum category when you go to Administer -> Content Management -> Categories?
Tony Yarusso wrote:
On Tue, Apr 15, 2008 at 11:15 AM, Tony Yarusso <tonyyarusso@gmail.com mailto:tonyyarusso@gmail.com> wrote:
I recently enabled the core Forums module, and somethings not working quite right. Users are able to click the "Post new forum topic" link, successfully fill out the form, and submit, and the results DO show up in the "Administer > Content" area, but do not display in the forum itself. It still claims there are 0 topics and 0 posts. It appears that the posts are not being assigned any category, although I would have thought that would have been taken care of by the node/add/forum/38 link used to post them. What are we doing wrong? -- Tony Yarusso http://tonyyarusso.com/Some follow-up information I've found now:
- The "Categories" field has disappeared from all content types'
submission forms, such as story. 2. If I go to the "Edit" page for any of the posts of type 'Forum', I get the error "warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'forum_node_form' was given in /usr/share/drupal-5.7/includes/form.inc on line 218.", and nothing else displays. 3. I had been using CCK, but have now disabled all of that and other modules that looked related, including Forum, disabled then re-enabled Taxonomy, and I still don't have category fields on submission forms. 4. Since those fields don't exist, I can't manually assign the categories to make them show up in the forum display. 5. I tried enabling forum on another site and made a test post, and that worked just fine. The primary difference is that the second site has never used CCK. 6. This is on Drupal 5.7. 7. I've also noticed that I'm unable to make the Devel module's block show up, although it too has worked in the past.
Clearly something funky is going on...maybe the site is haunted. Anyone have a better idea?
-- Tony Yarusso http://tonyyarusso.com/
Yes, with a top-level term for the container I created, a second-level one for the forum created within that.
Additonal update:
Scrap notes #1 and 7 from my second message - they were unrelated and now fixed.
If I manually set the tid column in both the forum and term_node tables I can get the posts to successfully display. If I set it in only term_node and not in forum, it says "this forum topic has moved". In both cases tid was initially set to 0. It would seem that the 38 from the node/add URL is not being passed/accepted by anything.
Any access control modules in play here?
And did you create the Forums via the "Add Forum" UI, or via the taxonomy UI?
Tony Yarusso wrote:
Additonal update:
Scrap notes #1 and 7 from my second message - they were unrelated and now fixed.
If I manually set the tid column in both the forum and term_node tables I can get the posts to successfully display. If I set it in only term_node and not in forum, it says "this forum topic has moved". In both cases tid was initially set to 0. It would seem that the 38 from the node/add URL is not being passed/accepted by anything.
On Tue, Apr 15, 2008 at 2:33 PM, Bill Fitzgerald bill@funnymonkey.com wrote:
Any access control modules in play here?
No.
And did you create the Forums via the "Add Forum" UI, or via the taxonomy UI?
For the first, "Add Container", and the second, "Add Forum".
I think I may have found the problem. There was no entry in the vocabulary_node_types table for forum. Manually adding that seems to have fixed this. Will do some more testing and let you know if it keeps doing it, but my initial post went through...