Forums not working - New topics not "attached" to the respective forum

dddave - July 3, 2009 - 18:28

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?

I forgot to mention that I

dddave - July 4, 2009 - 10:57

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....

.

Michelle - July 5, 2009 - 00:34

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

---
I'm looking for folks to help me out by posting in my Coulee Region forums. You don't need to live in the area; there's plenty of general forums. But please, no Drupal support questions. :)

.

dddave - July 4, 2009 - 22:28

Bump (this drives me nuts!)

Also

Michelle - July 5, 2009 - 00:38

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

---
I'm looking for folks to help me out by posting in my Coulee Region forums. You don't need to live in the area; there's plenty of general forums. But please, no Drupal support questions. :)

Thx for the reaction

dddave - July 5, 2009 - 20:30

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

dddave - July 7, 2009 - 19:08

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.

.

Michelle - July 7, 2009 - 19:22

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

---
I'm looking for folks to help me out by posting in my Coulee Region forums. You don't need to live in the area; there's plenty of general forums. But please, no Drupal support questions. :)

Thx!

dddave - July 9, 2009 - 21:34

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!

dddave - July 10, 2009 - 10:35

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.

OMFG!

dddave - July 19, 2009 - 11:17

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

joseph_mis - September 22, 2009 - 09:06

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.

INSERT INTO  `database_name`.`variable` (
`name` ,
`value`
)
VALUES (
'forum_nav_vocabulary',  's:2:"15";'
);

note: flush all cache to see changes

 
 

Drupal is a registered trademark of Dries Buytaert.