Seite 3 von 5

Verfasst: 10.09.2003 17:10
von BrahmA
wo sieht da was beschissen aus? seh nix....
btw: was baust du denn für einen komischen stat-mod ein? hatte sowas net, bei meinem (gerade eben gemacht) mussteste nur 2 oder 3 dateien ändern, sache von 5 minuten......

Verfasst: 10.09.2003 17:15
von sledgi
kannst du es mir dann machen ?
Wenn du zu hause bist dann mach mal ICQ an

Verfasst: 10.09.2003 17:23
von BrahmA
#
# Here starts the Installation, follow the steps very close.
# After installing this Mod, please go straight to your Administration Panel
# and install and activate Modules. You will see nothing before you have not done so.
#

#
# Copy/Upload all files to their respective Location
#
# statistics.php -> statistics.php
# admin/admin_statistics.php -> admin/admin_statistics.php
# includes/functions_stats.php -> includes/functions_stats.php
# includes/functions_module.php -> includes/functions_module.php
# templates/subSilver/statistics.tpl -> templates/subSilver/statistics.tpl
# templates/subSilver/admin/stat_config_body.tpl -> templates/subSilver/admin/stat_config_body.tpl
# templates/subSilver/admin/stat_edit_module.tpl -> templates/subSilver/admin/stat_edit_module.tpl
# templates/subSilver/admin/stat_manage_modules.tpl -> templates/subSilver/admin/stat_manage_modules.tpl
# templates/subSilver/images/icon_mini_statistics.png -> templates/subSilver/images/icon_mini_statistics.png
# stat_modules/* -> stat_modules (upload the complete directory and all sub directories)
#

#
# Upload the Language Files (English (German is optional)) provided with the Statistics Mod, located at the language folder
# to your language Directory.
#
# language/lang_english/lang_statistics.php -> language/lang_english/lang_statistics.php
#

#
# Installing the Statistics Mod (First Step -- Database):
#
# Upload this File to your phpBB2 Root Directory (where your config.php file is), it is only needed for installation:
#
# mod_table_inst.php -> mod_table_inst.php
#

#
# Now we want to create the tables, therefore we run mod_table_inst.php (http://www.yoursite.com/phpBB2/mod_table_inst.php)
# Contact me if you have questions or problems.
#

#
# For Uninstallation:
# Upload mod_uninst.php -> mod_uninst.php
# Run the script and delete it after execution
#

#
# Now you have to alter existing phpBB2 files, read the instructions carefully and make sure you find the right lines.
#

#
#-----[ 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');


#-------------------------------------------------------------
# Optional install of tiny link beside Usergroups in header
#-------------------------------------------------------------

#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/overall_header.tpl

#
#-----[ FIND ]------------------------------------------
#
<td align="center" valign="top" nowrap="nowrap"><span class="mainmenu">&nbsp;<a href="{U_FAQ}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_faq.gif" width="12" height="13" border="0" alt="{L_FAQ}" hspace="3" />{L_FAQ}</a></span><span class="mainmenu">&nbsp; &nbsp;<a href="{U_SEARCH}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_search.gif" width="12" height="13" border="0" alt="{L_SEARCH}" hspace="3" />{L_SEARCH}</a>&nbsp; &nbsp;<a href="{U_MEMBERLIST}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_members.gif" width="12" height="13" border="0" alt="{L_MEMBERLIST}" hspace="3" />{L_MEMBERLIST}</a>&nbsp; &nbsp;<a href="{U_GROUP_CP}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_groups.gif" width="12" height="13" border="0" alt="{L_USERGROUPS}" hspace="3" />{L_USERGROUPS}</a>&nbsp;

#
#-----[ AFTER, ADD ]------------------------------------------
#
&nbsp;<a href="statistics.php" class="mainmenu"><img src="templates/subSilver/images/icon_mini_statistics.png" width="12" height="13" border="0" alt="Statistics" hspace="3" />Statistics</a>&nbsp;

#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
das die installanleitung für den den ich gerade installt habe! hier u finden: http://www.phpbbhacks.com/viewhack.php?id=477
und hier kriegst noch mehr module dafür, die muste einfach uploaden und dann per ACP installieren.....
http://www.phpbbhacks.com/category.php?id=24&version=2

Probiers, der ist echt easy..... :wink:

Servus

Verfasst: 14.09.2003 12:05
von FSKiller / Phoenix
Hi Leute habe da ein Komisches Problem, ab neusten kommt immer dies Fehlermeldung

Code: Alles auswählen

SQL Error : 1146 Table 'DB64987.stats_config' doesn't exist

SELECT * FROM stats_config

Line : 36
File : /mnt/be1/01/354/00000001/htdocs/forum/statistics.php
vorher ging aber die Stats !!! was kann los sein habe die Tabelle schon runtergeworfen und wieder neudraufgemacht !!

Löschen macht er aber wenn ich neuinstall mache bei der DB kommt Failed !!! was kann da soll sein ?

Verfasst: 07.10.2003 19:00
von sledgi
Hallo habe wieder ein Prob !
Im ACP kommt nicht mehr der Fehler und es klappt alles im ACP auch aber nur in meiner leiste wo anmelden login usw. steht ist der button nicht da

Verfasst: 09.10.2003 01:46
von Shakermaker
Folgendes:

Habe mir auch dieses Statistik von Opentools geholt. Version: 2.1.5

Habe dann die kompletten Dateien einfach rüberkopiert auf den Web-Server. Keine Problem vorhanden gewesen.

Dann führte ich die mod_table_inst.php aus und da es noch ein Update gab, führte ich update_to_215.php aus.

In meinem Forum habe ich auch im ACP die Statistik Konfiguration und Statistik Module drin.
Nach dem Update auf V. 2.1.5 hatte ich folgende Nachricht:

Running :: UPDATE STATS_CONFIG_TABLE SET config_value = '2.1.5' WHERE config_name = 'version' -> FAILED ---> Table 'v087315.STATS_CONFIG_TABLE' doesn't exist

COMPLETE!

Statistics Mod Config updated successfully.

NOW DELETE THIS FILE


Als ich dann in meinem ACP reingegangen bin, und dort eines der beiden Sachen anklicken wollte "Module" oder "Konfiguration" kam auf einmal diese Nachricht von dem Ganzen:

Allgemeiner Fehler
Could not query statistics config table

DEBUG MODE

SQL Error : 1146 Table 'v087315.STATS_CONFIG_TABLE' doesn't exist

SELECT * FROM STATS_CONFIG_TABLE

Line : 52
File : /www/htdocs/v087315/admin/admin_statistics.php


Tja, ich hoffe das ist nicht wieder was, was das bearbeiten einer Datei bevorzugt. denn Dateien bearbeiten ist nicht so mein Ding.

Ich danke Euch für Eure Hilfe wieder.

Verfasst: 09.10.2003 01:55
von Leuchte
und da es noch ein Update gab, führte ich update_to_215.php aus
die update datei ist nur dazu da, falls du eine ältere version des mods benutzt und auf die aktuelle (2.1.5)) updaten willst. vielleicht liegt der fehler auch nur daran, das du beide ausgeführt hast, was ich mir eigentlich nicht vorstellen kann. der fehler besagt lediglich, das die phpbb_stats_config tabelle nicht existiert.
am besten führst du die mod_uninst.php aus, die die vorhandenen statistiktabellen löscht und dann noch einmal die mod_table_inst.php. und nur die, nicht die update.

Verfasst: 09.10.2003 02:08
von Shakermaker
Ich habe diese Datei ausgeführt mod_uninst.php und er zeigte nur COMPLETED an in grün. Muss also richtig gefunzt haben.

Dann habe ich wieder die mod_table_inst.php ausgeführt.

Dann kam diese Meldung von Ihm:

Running :: CREATE TABLE phpbb_stats_config ( config_name varchar(50) NOT NULL default '', config_value varchar(255) NOT NULL default '', PRIMARY KEY (config_name) ) -> COMPLETED

Running :: CREATE TABLE phpbb_stats_modules ( module_id tinyint(8) NOT NULL default '0', name varchar(150) NOT NULL default '', active tinyint(1) NOT NULL default '0', installed tinyint(1) NOT NULL default '0', display_order mediumint(8) unsigned NOT NULL default '0', update_time mediumint(8) unsigned NOT NULL default '0', auth_value tinyint(2) NOT NULL default '0', module_info_cache blob, module_db_cache blob, module_result_cache blob, module_info_time int(10) unsigned NOT NULL default '0', module_cache_time int(10) unsigned NOT NULL default '0', PRIMARY KEY (module_id) ) -> COMPLETED

Running :: INSERT INTO phpbb_stats_config (config_name, config_value) VALUES ('install_date', '1065657591') -> COMPLETED

Running :: INSERT INTO phpbb_stats_config (config_name, config_value) VALUES ('return_limit', '10') -> COMPLETED

Running :: INSERT INTO phpbb_stats_config (config_name, config_value) VALUES ('version', '2.1.5') -> COMPLETED

Running :: INSERT INTO phpbb_stats_config (config_name, config_value) VALUES ('modules_dir', 'stat_modules') -> COMPLETED

Running :: INSERT INTO phpbb_stats_config (config_name, config_value) VALUES ('page_views', '0') -> COMPLETED


COMPLETE! Go to the Administration Panel and Install Modules. You have to install and activate Modules before you are able to see anything within the statistics page.

Statistics Mod Tables generated successfully.

NOW DELETE THIS FILE


Ich habe dann diese Datei gelöscht, so wie er es sagte. mod_table_inst.php.

Ich wieder dann in den ACP Panel und angeklicht, aber leider ist immer noch die selbe Fehlermeldung wie oben beschriebenm vorhanden, :cry:

Verfasst: 09.10.2003 12:57
von Zaubi
Shakermaker hat geschrieben:Folgendes:

Nach dem Update auf V. 2.1.5 hatte ich folgende Nachricht:

Running :: UPDATE STATS_CONFIG_TABLE SET config_value = '2.1.5' WHERE config_name = 'version' -> FAILED ---> Table 'v087315.STATS_CONFIG_TABLE' doesn't exist

COMPLETE!

Statistics Mod Config updated successfully.

NOW DELETE THIS FILE


Als ich dann in meinem ACP reingegangen bin, und dort eines der beiden Sachen anklicken wollte "Module" oder "Konfiguration" kam auf einmal diese Nachricht von dem Ganzen:

Allgemeiner Fehler
Could not query statistics config table

DEBUG MODE

SQL Error : 1146 Table 'v087315.STATS_CONFIG_TABLE' doesn't exist

SELECT * FROM STATS_CONFIG_TABLE

Line : 52
File : /www/htdocs/v087315/admin/admin_statistics.php


Tja, ich hoffe das ist nicht wieder was, was das bearbeiten einer Datei bevorzugt. denn Dateien bearbeiten ist nicht so mein Ding.

Ich danke Euch für Eure Hilfe wieder.
den fehler bakam ich, weil ich die 2 zu editierenden datein
  • constants.php
    templates/subSilver/overall_header.tpl (if you are editing your header)
noch nicht hochgeladen hatte.... ;)
nachdem sie oben waren, war alles ok..

hab auch den 2.1.5 jetzt in nem 2.0.6 er board inst.
Hier

winkeee zaubi

Verfasst: 09.10.2003 13:36
von Shakermaker
Zaubi hat geschrieben:
Shakermaker hat geschrieben:Folgendes:

Nach dem Update auf V. 2.1.5 hatte ich folgende Nachricht:

Running :: UPDATE STATS_CONFIG_TABLE SET config_value = '2.1.5' WHERE config_name = 'version' -> FAILED ---> Table 'v087315.STATS_CONFIG_TABLE' doesn't exist

COMPLETE!

Statistics Mod Config updated successfully.

NOW DELETE THIS FILE


Als ich dann in meinem ACP reingegangen bin, und dort eines der beiden Sachen anklicken wollte "Module" oder "Konfiguration" kam auf einmal diese Nachricht von dem Ganzen:

Allgemeiner Fehler
Could not query statistics config table

DEBUG MODE

SQL Error : 1146 Table 'v087315.STATS_CONFIG_TABLE' doesn't exist

SELECT * FROM STATS_CONFIG_TABLE

Line : 52
File : /www/htdocs/v087315/admin/admin_statistics.php


Tja, ich hoffe das ist nicht wieder was, was das bearbeiten einer Datei bevorzugt. denn Dateien bearbeiten ist nicht so mein Ding.

Ich danke Euch für Eure Hilfe wieder.
den fehler bakam ich, weil ich die 2 zu editierenden datein
  • constants.php
    templates/subSilver/overall_header.tpl (if you are editing your header)
noch nicht hochgeladen hatte.... ;)
nachdem sie oben waren, war alles ok..

hab auch den 2.1.5 jetzt in nem 2.0.6 er board inst.
Hier

winkeee zaubi
Ich hatte in meinem Phad keine constat.php drin. Die habe ich eingesetzt.
Die overall_header.tpl war schon in meinem richtigen Ordner.

Ich bekomme aber weiterhin den selben Fehler. Leider. :cry: