Originally I wanted to make this an issue against AF but I tested it with core forums and decided to spare Michelle the trouble. I hope some one can help because I spent hours figuring this out and I suspect that the problem might in fact be easy to solve.....
When I create a new topic it is saved as normal content and not attached to the forum. When I work with AF the tracker recognizes new topics (http://www.flickr.com/photos/30914807@N02/3684353141/) but they are obviously not connected with the forums.
This pic shows a forum that should contain three topics. http://www.flickr.com/photos/30914807@N02/3684353203/
All pics are taken as User/1 so this cannot be a permissions issue. I reinstalled AF because I thought it was corrupted. I checked that the modules/forum folder contained the correct files with the correct size and to be sure I reuploaded it, too.
What really kills me is that I more or less completly cloned the settings of my local install where everything is working fine.
What could be the problem here?
Comments
I forgot to mention that I
I forgot to mention that I ruled out the theme to be the culprit as it doesn't work with Garland either.
I stumbled upon a bunch of issues like http://drupal.org/node/90214 but they all are about D5. Is this a known problem in (and save solution for) D6? I am not quite sure if I messed with the vocabulary in the first place but I did during my tries to get it to work....
.
That's generally the culprit for the issue you're describing. I don't think it was fixed in D6 but I'm not 100% sure.
Michelle
.
Bump (this drives me nuts!)
Also
Check that the forum table is populated. If posts aren't in there, Drupal won't recognize them as being in the forum even if they are tagged with a forum term.
Michelle
Thx for the reaction
The forums table contains the entries (I identified them via the nid). Why are there also entries present which I deleted some days ago?
What does that mean for my situation? How can I fix this mess (and how can I prevent this from happening again)?
Not just a bump
All my research on this brought only D5 problems up (most recently: http://drupal.org/node/510212 ). Although this problem seems to be neglected and not solved for D6 as there is still an issue against D7 (#24274: Accidentally Deleting Forums Vocabulary in Categories Breaks Forums? ) this issue was marked as duplicate but in fact it isn't a duplicate but the underlying problem was detected with the taxonomy module (#38221: Remove vocabulary and term handling from taxonomy module for vocabularies assigned to other modules and #48599: Add function for modules to register and name a vocabulary).
I am thinking about reopening the issue marked duplicate to bump this issue back to relevance especially as it is still marked critical. I would like to have some feedback before doing so because I really don't feel comfortable messing around in these "spheres" of higher Drupalgods.
Do I have a correct understanding that this problem still is in existence? (Why didn't I stumble upon D6 issues?)
(And I still could need some advise about my problem and how/if to use the solution http://drupal.org/node/90214 ;-))
edit: I was able to create _1_ new forum topic by doing what langweer describes here: http://drupal.org/node/203399#comment-668300
I assigned the forum vocabulary to another content type and when I was at the forums page I created such an entry. This entry was correctly atached to its foum. Saddly the second part of langweer's trick did not work because "real" forum entries still don't work even after "dis"assigning the other content type. Now I cannot reproduce this behavior either with the content type I used before nor with a newly assigned content type. I am mightily confused.
.
I'm not going to go read all those posts, but make sure you check these things:
1) You have a forum vocabulary
2) That forum vocabulary is applied to all node types you want to be in your forum
3) In the variables table, forum_nav_vocabulary matches #1
4) The forum table contains all the nodes you expect to find in the forum
5) The tids that go with the nodes in #4 are tids that are part of the vocabulary in #1
6) There are no node access modules that may be hiding stuff from view
That's all I can think of that would affect if something is shown in the forum. If all that is correct, all I can suggest is tracing through the code to see if anything jumps out at you.
Michelle
Thx!
I narrowed it down to 3). The forum_nav_vocabulary is not present in the variables table.
I found these advises by cog.rusty http://drupal.org/node/169078#comment-263873 and http://drupal.org/node/317202#comment-1044468
They are both against D5 issues but might be still relevant. I am going to check them out tomorrow.
Thank you very much for your helpful response - I know you are quite busy. I hope I get it sorted out now.
AAAARGH!
I gave it a try and followed cog.rusty's advise by the word. Good news -> the forum_nav_vocabulary entry in the variables table was created. I then checked if the vid was consistend throughout the database (as cog.rusty advised in the second thread) and was very pleased to notice that it seemed correct.
Well, I crossed my fingers and tried to create a new forum topic in my just created forum.......bamm. Same problem persists.
I noticed that my vocab was named "Foren" instead of "Forums" which is pretty odd because the default language of my install is english and german is just an additional language. Changing it to Forums didn't help. I hope I renamed the vocab during my tries before this run and only the name persisted. So I am going to give it another shot and hope that it works this time.
This is so annoying. Good Lord am I devastated at the moment.
Having the same problem
Im having the same issue on D6. Ive checked and issues 1-4 that Michelle highlighted arent at fault, but im not sure about my forum table. With 7 forum topics under a single forum called agriculture, this is what it looks like....Does it seem fine? If it is, im thinking its an issue with DOmain Access and Domain Taxonomy that i have installed.
nid vid tid
41 41 33
42 42 33
43 43 33
44 44 33
45 45 33
46 46 33
47 47 33
Newly created forum topics are not added under "forum" table
Thanks for the advice Michelle. I noticed that I have a problem in
4)
My forum table doesn't contain the newly (buggy) forum topics, (the last nid corresponds to the last shown topic under the various forums categories). Any advice what I should do in order the appropriate sql queries to be executed since now?
OMFG!
I spent hours on this and in the end it really boils down to a very, very simple issue.
Be prepared:
From all the things I triple checked I somehow overlooked the settings at admin/settings/language/i18n under "Content Selection Mode". In my local instal I had it set to "Current language and language neutral." but on the other instal it was set to "Current Language". The entries and the Forums vocabulary were created language neutral and because of this nothing came up during the tests and the database looked fine.
So I had the general problem in the first place ( what can be seen by the missing forum_nav_vocab entry) but after correctly solving the basic issue I sabotaged myself very effectivly.
try inserting into your
try inserting into your database using phpmyadmin where "s:2:"15";" 15 is vid of your vocabulary, try looking at vocabulary table to know your vid of the vocabulary.
note: flush all cache to see changes