subfora fout
Geplaatst: 19 jul 2004, 17:39
hallo, ik heb een fout met het installeren met de subfora mod in index.php:
Fatal error: Call to undefined function: board_stats() in /home/marrucc1/domains/marrucc.com/public_html/area 51/forum/index.php on line 149
ik heb het wel enkele keren opnieuw geprobeerd, maar steeds krijg ik dezelfde mod :S
dit is regel 149
wat ik dik gedrukt heb gemaakt, dat is regel 149
/-- mod : categories hierarchy --------------------------------------------------------------------
//-- delete
// $total_posts = get_db_stat('postcount');
// $total_users = get_db_stat('usercount');
//-- add
include_once($phpbb_root_path . 'includes/mods_settings/mod_categories_hierarchy.' . $phpEx);
if ( ($board_config['display_viewonline'] == 2) || ( ($viewcat < 0) && ($board_config['display_viewonline'] == 1) ) )
{
if ( empty($board_config['max_posts']) || empty($board_config['max_users']) )
{
board_stats();
}
$total_posts = $board_config['max_posts'];
$total_users = $board_config['max_users'];
//-- fin mod : categories hierarchy ----------------------------------------------------------------
$newest_userdata = get_db_stat('newestuser');
$newest_user = $newest_userdata['username'];
$newest_uid = $newest_userdata['user_id'];
Fatal error: Call to undefined function: board_stats() in /home/marrucc1/domains/marrucc.com/public_html/area 51/forum/index.php on line 149
ik heb het wel enkele keren opnieuw geprobeerd, maar steeds krijg ik dezelfde mod :S
dit is regel 149
wat ik dik gedrukt heb gemaakt, dat is regel 149
/-- mod : categories hierarchy --------------------------------------------------------------------
//-- delete
// $total_posts = get_db_stat('postcount');
// $total_users = get_db_stat('usercount');
//-- add
include_once($phpbb_root_path . 'includes/mods_settings/mod_categories_hierarchy.' . $phpEx);
if ( ($board_config['display_viewonline'] == 2) || ( ($viewcat < 0) && ($board_config['display_viewonline'] == 1) ) )
{
if ( empty($board_config['max_posts']) || empty($board_config['max_users']) )
{
board_stats();
}
$total_posts = $board_config['max_posts'];
$total_users = $board_config['max_users'];
//-- fin mod : categories hierarchy ----------------------------------------------------------------
$newest_userdata = get_db_stat('newestuser');
$newest_user = $newest_userdata['username'];
$newest_uid = $newest_userdata['user_id'];