1
votes

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_dumping all the variables in the function! They all returned NULL. But then in the function, I one by one var_dumped 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

2
which version of the advanced_forum module are you using? are the dependency modules (Author Pane, Forum, Taxonomy, Comment) installed and enabled? see "Missing Forum Index when Advanced Forum enabled", drupal.org/node/601030 , for a similar issue.ax.
I am using Advanced Forum 6.x-1.1 and 'Yes', all the required are installed and enabledAndy
can you do the following query in mysql / phpmyadmin and post the result?: SELECT * FROM menu_router WHERE path = 'forum'ax.
if there is no result, then there is a problem with your menu_router table. if there is a result, the page_callback column should have the value advanced_forum_page, meaning that mysite.com/forum should call function 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.
Hi, I will just do that and reply back as soon as I can. Sorry about my slowness - I had to go out!Andy

2 Answers

0
votes

you can try two solution:

  1. Reinstall the module instead of deactivating and reactivating it (you will lose your current categorization, however it seems like your forum is empty right now).
  2. Build a new installation to make some tests, enable the advanced forum module and take a look at the index page of the forum to see if it's replicable.

Take a look at the issue queue of the module too, maybe someone else had the same problem.

0
votes

Just figured out what was going on, and therefore was able to sort my problem out myself!

It was the most stupid thing as well. For some reason, I had an empty folder called... you guessed, 'forum' in the root of my website and as soon as I deleted it, I saw my forum index for the first time in ages.

Obviously, Drupal was looking in the folder instead of using the module etc... (You Know...)

Anyway, thanks for your attempts to help me - much appreciated!

-- Andy