Closed (fixed)
Project:
Drupal core
Version:
6.4
Component:
forum.module
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Anonymous (not verified)
Created:
25 May 2008 at 17:18 UTC
Updated:
6 Jul 2016 at 22:22 UTC
Jump to comment: Most recent
Comments
Comment #1
Anonymous (not verified) commentedFYI: I get error when I select "forum" from navigation
Comment #2
Anonymous (not verified) commentedYou can suppress these from displaying by setting the php variable display_errors to 0. I agree that these minor nits are bugs but not a big deal.
Comment #3
mot commentedWhen do you get this error? Please post Steps to reproduce.
Comment #4
mot commentedI will eventually try to reproduce this error report until september the first.
Comment #5
akwala commentedI have one forum, and no containers. Logged in as admin, when I click on the Forums link under navigation, I see the following, in red:
warning: Invalid argument supplied for foreach() in /var/www/blahdeblah.com/modules/forum/forum.module on line 678.
Under this, is the following message, which is puzzling, since I'm logged in as admin:
You are not allowed to post new content in forum.
--aslam
Comment #6
akwala commentedhttp://www.blahdeblah.com/forum gives the following:
Above, "Feedback regarding this website." is a link -- http://www.blahdeblah.com/forum/3 -- and clicking it also gives:
This forum does have a couple of forum topics, but they don't appear in the above scenarios.
Comment #7
mot commentedakwala: The links you provded lead to nothing. I have a forum on my 6.5 running as well and can not reproduce your problem because I still miss steps to reproduce this problems. I even was not able to reproduce it my trying. I close this issue until steps to reproduce are provided.
Comment #8
akwala commentedSorry, those links weren't real.
I just checked again -- now that I have Drupal 6.5. This particular error doesn't appear. However, the following URLs still show that the forums and forum topics are empty when they are not:
/forum/ - all forums show 0 for Topics and Posts, and n/a for Last post
/forum/3 (or any other #/topic) - there's nothing under any of the columns
Perhaps I should open a new issue?
--aslam
Comment #9
alauddin commentedHi,
I had the same issue and solved it with the following.
http://drupal.org/node/235571
See post#3
Alauddin
- Basically just add the following in 'vocabulary' table as I checked couple of dbs and the forum vid = 0
vid, name, description, help, relations, hierarchy, multiple, required, tags, module, weight
0, Forums, , , 0, 1 , 0 , 0 , 0 , forum , -10
Comment #10
akwala commentedThanks for the tip, Alauddin.
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':
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