On the 'create forum topic' page (node/add/forum) I am getting no forums listed in the forum selection pull-down (despite being several on the site which should be there), it just says 'Select a value'.
Its a new forum, I added a test post and test reply to that post when I first set it up a few weeks ago, which I then deleted, and haven't touched it since
I am trying to use advanced forum, but I'm getting the same using only the core forum module.
A newly added forum also wont show in the list.
I've had a search, there a selection of similar threads, but none recent (that i could find), they seem to be mainly related to D5, and the fixes they show really aren't applicable for D7.2.
I think, maybe, what I need to do is force the forum module to re-init and create the required tables, but really dont know how to go about doing that.
Anyone know how to fix this?
--edit--
Looking at the database directly, my forum and forum_index tables are empty (no posts?)
but the taxonomy_term_data and hierarchy appear fine, the term data has them on the right Vocabulary ID number.
----
my sandbox site has drupal_forum and drupal_forum_link tables that the real server doesnt?
Comments
Really?, Nobody?.
This thing is killing me here.
I've got a few hundred nodes setup so I really dont want to start again... Nor do I really have time to start again.
someone's gotta have some idea!... please!
Try
clearing the cache completely. Does that reestablish the forums in the dropdown?
Yup, Numerous times.
Yup, Numerous times.
One of the modules I installed has a 'clear all caches' button (which does the admin menu, cache tables, menu, class registry, page perquisites and theme registry (not that I know what all of those are))... and its the first thing I think to press the instant anything gets weird :/
---
I just blanked my sandbox's database, ran the install.php for a fresh D7, enabled the forum module then dumped the whole database to my hdd.
then, added a new forum and dumped the database again.
A direct comparison between the two dumps (with ExamDiff (nice free app i just found)) shows no changes at all outside of the cache and session data except for the taxonomy_term_data and taxonomy_term_hierarchy tables.
both of which are simple enough, and self contained enough that I can add forums to the blank site just by adding a new line to each of those.... and the forum I add that way will show up in the add content page. (and the forums on the production site were added the normal way, not via phpmyadmin)
so?, its not the data, its the code?
but... the sandbox site is actually using exactly the same code as the production site, it is in fact a backup of it.
i just dont know where to start with this one :(
thank f...... yeah
Panic over... i found it.
comparing against ancient database backups, it seems i had somehow managed to insert a typo into the machine name for the forums in taxonomy vocabulary.... it was called foru5ms.
love that ExamDiff, i might even buy the pro version :)