statistic-Mod (SQL-Fehler)
Verfasst: 30.03.2003 15:39
Hab heute das Stat-Mod installiert, bekomme folgende Fehlermeldung !!!
Bin da noch Anfänger
Muß man die "STATS_CONFIG_TABLE" manuell anlegen ????
ich denke doch nicht oder ?
Achso hab nur folgendes installiert:
Nach Anleitung die Datei hochgeladen
includes/constants.php modifiziert
templates/subSilver/overall_header.tpl modifiziert
---------------------------------------
das hier verstehe ich auch nicht, in der Anleitung steht dies
die Zeile mit dem Code ist bei mir garnicht existent ?!?!
am besten ihr guckt euch das selber ma an
http://www.toyotas-bb.de/forum/index.php
die Zeile 31 - 39 in der statistix.php sieht so ausCould not query statistics config table
DEBUG MODE
SQL Error : 1146 Table 'toyotas_xmb1.STATS_CONFIG_TABLE' doesn't exist
SELECT * FROM STATS_CONFIG_TABLE
Line : 36
File : /home/toyotas/public_html/forum/statistics.php
ich weiß, ja selber das da irgendwas mit dem SQL nicht stimmt, aber was ?$sql = 'SELECT *
FROM ' . STATS_CONFIG_TABLE;
if ( !($result = $db->sql_query($sql)) )
{
message_die(GENERAL_ERROR, 'Could not query statistics config table', '', __LINE__, __FILE__, $sql);
}
while ($row = $db->sql_fetchrow($result))
Bin da noch Anfänger
Muß man die "STATS_CONFIG_TABLE" manuell anlegen ????
ich denke doch nicht oder ?
Achso hab nur folgendes installiert:
Nach Anleitung die Datei hochgeladen
includes/constants.php modifiziert
templates/subSilver/overall_header.tpl modifiziert
---------------------------------------
das hier verstehe ich auch nicht, in der Anleitung steht dies
NOTE: THIS STEP IS ONLY NEEDED IF YOU USE THE FILE-BASED CACHED TEMPLATE.PHP FILE
#
# If you are using the template cache system (only file-based is mentioned here),
# please adjust your template.php as followed (This will NOT disable the Template Caching)
# It is a little tweak to let the template use the non-cached output if no cached template
# file could be found.
#-------------------------------------------------------------
#
#-----[ OPEN ]---------------------------------------------
#
includes/template.php
#
#-----[ FIND ]---------------------------------------------
# around line 144
$fp = fopen($cache_file, 'w+');
fwrite ($fp, '<?php' . "\n" . $this->compiled_code[$handle] . "\n?" . '>');
die Zeile mit dem Code ist bei mir garnicht existent ?!?!
am besten ihr guckt euch das selber ma an
http://www.toyotas-bb.de/forum/index.php