diff --git a/Rocksolid_Light/rocksolid/article-flat.php b/Rocksolid_Light/rocksolid/article-flat.php index d540a8a..d83b3ed 100644 --- a/Rocksolid_Light/rocksolid/article-flat.php +++ b/Rocksolid_Light/rocksolid/article-flat.php @@ -115,6 +115,7 @@ if ($message) { $subthread = thread_getsubthreadids($message->header->id, $thread); if (! $subthread) { echo '
Group is rebuilding... Please try again later
'; + file_put_contents($debug_log, "\n" . format_log_date() . " " . $config_name . " GROUP ERROR: ".$group." may need repair", FILE_APPEND); exit(); } if ($thread_articles == false) { diff --git a/Rocksolid_Light/rocksolid/config.inc.php b/Rocksolid_Light/rocksolid/config.inc.php index 8966b68..3a44e12 100644 --- a/Rocksolid_Light/rocksolid/config.inc.php +++ b/Rocksolid_Light/rocksolid/config.inc.php @@ -29,6 +29,7 @@ $CONFIG = include ($config_file); $OVERRIDES = include ($config_dir . '/overrides.inc.php'); $logdir = $spooldir . '/log'; +$debug_log = $logdir . '/debug.log'; $lockdir = $spooldir . '/lock'; $ssldir = $spooldir . '/ssl/'; $user_ban_file = $config_dir . '/banned_names.conf';