Seite 1 von 1

statistics_mod problem !

Verfasst: 13.02.2003 10:03
von mixmax
hi leutz :D
ich hab nach langer zeit mal wider ein phpbb inst. 8)
und bin dabei den "statistics_mod"einzubauen :roll:

ich habe alle php hochgeladen,
und die mod_table_inst.php ausgeführt !

jetzt bekomme ich den fehler angezeigt !
Allgemeiner Fehler
Could not query statistics config table

DEBUG MODE

SQL Error : 1146 Table 'xyz.de.STATS_CONFIG_TABLE' doesn't exist

SELECT * FROM STATS_CONFIG_TABLE

Line : 52
File : /home/virtual/site20/fst/var/www/html/phpBB2/admin/admin_statistics.php
admin/admin_statistics.php ist oben ?
was muß ich jetzt machen :roll: :oops: ?

Verfasst: 13.02.2003 12:45
von Acyd Burn
du hast vergessen die includes/constants.php datei anzupassen.

Verfasst: 14.02.2003 10:29
von mixmax
was genau den ?
#-----[ OPEN ]------------------------------------------
#
includes/constants.php

#
#-----[ FIND ]------------------------------------------
#
if ( !defined('IN_PHPBB') )
{
die("Hacking attempt");
}

#
#-----[ AFTER, ADD ]------------------------------------------
#
define('MODULES_TABLE', $table_prefix . 'stats_modules');
define('STATS_CONFIG_TABLE', $table_prefix . 'stats_config');
hab ich gemacht !

Verfasst: 14.02.2003 15:44
von saerdnaer
hast du sie auch auf deinen server in der includes ordner hochgeladen?

ah

Verfasst: 15.02.2003 09:40
von mixmax
:D ja klar

hier mal eine copy die ich heruntergeladen hab :
soo..viel Code ..gelöscht! :(
Acid

Verfasst: 15.02.2003 09:45
von Schumi
<?php
/***************************************************************************
* constants.php
* -------------------
* begin : Saturday', Feb 13', 2001
* copyright : ('C) 2001 The phpBB Group
* email : support@phpbb.com
*
* $Id: constants.php,v 1.47.2.2 2002/12/21 19:09:57 psotfx Exp $
*
*
***************************************************************************/

/***************************************************************************
*
* 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.
*
***************************************************************************/

if ( !defined('IN_PHPBB') )
{
die("Hacking attempt");
}
define('MODULES_TABLE', $table_prefix . 'stats_modules');
define('STATS_CONFIG_TABLE', $table_prefix . 'stats_config');
Man beachte die Klammer.

Verfasst: 15.02.2003 10:12
von mixmax
jaaa das wars :oops:

man man man

DANKE ! ! !