Pagina 1 van 1

subfora fout

Geplaatst: 19 jul 2004, 17:39
door marrucc
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'];

Geplaatst: 19 jul 2004, 18:33
door mosymuis
De functie is dus nergens opgegeven. Zoek in de mod bestanden eens naar

Code: Selecteer alles

function board_stats
en kijk waarom dat bestand niet geladen werd in index.php.

Geplaatst: 19 jul 2004, 20:24
door marrucc
volgens mij staat dat er niet in :s

Geplaatst: 19 jul 2004, 20:28
door mosymuis
Wat is het URL naar de mod?

Geplaatst: 19 jul 2004, 20:28
door marrucc

Geplaatst: 19 jul 2004, 20:41
door mosymuis
De functie staat helemaal bovenin functions_categories_hierarchy.php. Dit heb je dus niet goed gedaan:
install schreef:#
#-----[ COPY ]------------------------------------------------
#
copy includes/def_auth.php to includes/def_auth.php
copy includes/def_themes.php to includes/def_themes.php
copy includes/def_tree.php to includes/def_tree.php
copy includes/def_words.php to includes/def_words.php
copy includes/functions_categories_hierarchy.php to includes/functions_categories_hierarchy.php
of dit;
#
#-----[ OPEN ]------------------------------------------------
#
includes/functions.php
#
#-----[ FIND ]------------------------------------------------
#
/***************************************************************************
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
*
***************************************************************************/
#
#-----[ AFTER, ADD ]------------------------------------------
#
//-- mod : categories hierarchy --------------------------------------------------------------------
//-- add
include_once( $phpbb_root_path . './includes/functions_categories_hierarchy.' . $phpEx );
//-- fin mod : categories hierarchy ----------------------------------------------------------------

Geplaatst: 20 jul 2004, 09:32
door marrucc
het eerste staat er wel in,

maar het 2de ben ik helemaal nog niet mee bezig, ik ben gewoon bij het bestand: MOD-cat_hierarchy-part1 begonnen, omdat dat voorop stond, of moet ik eerst ergens anders mee beginnen?

Geplaatst: 20 jul 2004, 14:40
door mosymuis
Niet om vervelend te zijn, maar dat wás ook een fragment uit MOD-cat_hierarchy-part1.txt.

Geplaatst: 20 jul 2004, 19:07
door marrucc
dus moos, ik moet gewoon verder gaan met alles?

Geplaatst: 20 jul 2004, 19:09
door mosymuis
Of je een installatie eerst moet afmaken vóórdat je komt klagen over fouten? Dat lijkt me wel, ja. ;)

Geplaatst: 20 jul 2004, 19:09
door marrucc
ow, maar ik dacht dat ik iets fout had gedaan :roll:

Geplaatst: 20 jul 2004, 19:12
door mosymuis
dat heb je ook; je hebt die stap overgeslagen (en wie weet wat nog meer)