Hello, I am using Drupal v4.6.3 with a MySQl database. I got the site up and running 3 weeks ago and everything was working great. However, last night I noticed that ALL of my blocks dissapeared and I had to do some creative navigation to get through my site to post forum topics. Finally, (an hour later) the entire site crashed. Leaving me with the following error on my index page:
"Fatal error: Call to undefined function: node_title_list() in /home/corey/public_html/modules/forum.module on line 354"
You can view it for yourself here: http://www.coreyhernandez.com
Besides some heavy posting on my part, the only recent change is I installed the mass mailer and phplist module 4 days ago (probably unrelated?). Before the entire site crashed, I could still navigate the site using the history tool in my browser. However, if I were to go to the block editing page I would get a blank screen (the only page that gave me a blank screen). Now I just get the error menioned above.
"Line 354" mentioned above refers to the following portion of code in the forum module:
case 'view':
if (user_access('access content')) {
switch ($delta) {
case 0:
$title = t('Active forum topics');
$sql = db_rewrite_sql("SELECT n.nid, n.title, l.last_comment_timestamp, l.comment_count FROM {node} n INNER JOIN {node_comment_statistics} l ON n.nid = l.nid WHERE n.status = 1 AND n.type='forum' ORDER BY l.last_comment_timestamp DESC");
$result = db_query_range($sql, 0, variable_get('forum_block_num_0', '5'));
if (db_num_rows($result)) {
$content = node_title_list($result);
}
break;
"Line 354" is the $content = node_title_list($result); line.
With that in mind I figure that the problem is with the database. That's where I get stuck. Any suggestions? I obviously do not want to do a fresh install (which would probably solve the problem) and lose the last three weeks worth of posts.
Any assisatance you can offer would be greatly appreciated. Thank you.
Comments
Just guessing, but try
Just guessing, but try removing the forum module, and work from there.
Thanks
That got me started, removing the forum module now just brings up the default "Page Not Found" error with the theme, blocks and all administration pages working properly. Now I need to find out what is actually causing the problem with the forums.
By chance, did you make a
By chance, did you make a change recently to the .htaccess file (if using Apache)?
-Bryan
I have not made any changes
I have not made any changes to the .htaccess file (at least intentionally). Thanks.
Fixed. I downloaded a fresh
Fixed. I downloaded a fresh forum module and .htaccess file and replaced the old ones. Problem solved (at least fixed, I still do not know why it happened).
Thank you everyone for your help and concern.
I see other discussions
I see other discussions going on about the Forum module and problems in the latest release. Any relationship?
Here for example:
http://drupal.org/node/39245