I've got a strange senario/question for you.
I'm running drupal 6 with advanced forum (although my problem doesn't go away if I just use the forum module that comes with drupal)! Everything has been fine and so I've left it untouched (not open to the public) for about a month while I've been sorting out legal work...
I came back to it a few days ago only to find 'http://mysite.com/forum' (I'm using clean URL's) does not exist!
I've tried everything I can think of! Even silly things like 'http://mysite.com/forum s'. But it doesn't even appear to be there in Content Management > Content!
I can get to the individual posts and even the individual catergory/containers - I'm just missing the index page!
I've tried disabling and re enabling the advanced forum module, reseting it's settings and even clearing the site cache! Non of which made any difference! I was going to try typing the node in, but I wasn't sure what it was!...
Please help me as soon as possible!
Thanks in advance,
Andy
Latest
Okay, just to clarify exactly what's happening and what I've done so far after 'ax's' wonderful assitants: Whats Happening is, I get Drupal's 404 Page Not Found message/page when trying to get to www.mysite.com/forum! The strange thing is though, by typing the URL of the individual sections/catergorys I can see them, and all the posts inside etc!
I have, been into sites/all/modules/advanced_forum/advanced_forum.module and look at the variables in the advanced_forum_page($tid=0)
function.
First, I just created a post/topic in the forum var_dump
ing all the variables in the function! They all returned NULL.
But then in the function, I one by one var_dump
ed all the variables, after the line they were first used (in the function), I deleted the var_dump
line for each variable after I refreshed the forum page, so there was only one var_dump
in the function at once. The strange thing was nothing appeared on the page, even when I tried `drupal_set_message(print_r($variable));!
So, I don't know and I just need it fixing asap please! ... Thanks in Advance
SELECT * FROM menu_router WHERE path = 'forum'
– ax.menu_router
table. if there is a result, thepage_callback
column should have the valueadvanced_forum_page
, meaning that mysite.com/forum should callfunction advanced_forum_page($tid = 0)
in advanced_forum.module. you could do some debugging (ie.var_dump($forums); exit;
) there to pinpoint the problem. – ax.