Seite 2 von 4

Verfasst: 29.10.2004 13:28
von M4!K
oh, danke.

Reicht es aus das alte Verzeichnis einfach zu löschen um Statistik Mod 2.1.5 loszuwerden?

Verfasst: 29.10.2004 16:05
von Markus67
Hi ...

Schau einfach in der Installationsanleitung vom Statsitik MOD 2.xx und wo was hinzugefügt wurde kannst du es wieder entfernen.

Es lohnt sich aber vorher mal in den Statistik MOD 3.xx zu schauen ob es da eventuell ein Update gibt bzw. ob die Felder/Tabellen in der Datenbank erhalten bleiben können.

Markus

Verfasst: 01.11.2004 09:39
von M4!K
Vielen Dank!

Verfasst: 09.11.2004 12:43
von Galrian
habe den mod installiert und bekomme diese meldung:

Code: Alles auswählen

Could not query statistics config table

DEBUG MODE

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

SELECT * FROM STATS_CONFIG_TABLE

Line : 52
File : /mnt/am1/08/954/00000013/htdocs/Elsfleth/phpBB2/admin/admin_statistics.php
das datenbankupdate wurde erfolgreich ausgeführt! das einzige was ich nicht gemacht habe ist den root ordner rüberzuladen, dachte das da irgendwas doppelt wäre.

Verfasst: 09.11.2004 12:52
von Leuchte
KB:sql_error

Verfasst: 09.11.2004 13:15
von Galrian
jetzt habe ich noch eine install gefunden welche wohl die richtigen tabellen anlegt oder es liegt an der 2ten statistics.php.

irgendwie ist jetzt alles durcheinander.

kann mal jeman schauen?

http://www.server-control.de/Elsfleth/p ... istics.php

Verfasst: 09.11.2004 13:29
von Markus67
Hi ...

die constants.php hast du auch entsprechend angepasst ?

Markus

Verfasst: 09.11.2004 13:35
von Galrian
hallo,

habe jetzt nochmal alles deinstalliert. dann alles nochmal aufgespielt und wenn ich nun das datenbankupdate durchführen will bekomme ich diese meldung:

Code: Alles auswählen

'Statistics Mod already installed.'
die datenbank habe ich aber mit den deinstaller gelöscht.

ein anpassen der constants.php steht nicht im installationsverfahren :(

wie kann ich die datenbank nochmals installieren?

Verfasst: 09.11.2004 13:37
von Markus67
Hi ...

Du bist aber schon jedesmal auf der gleichen Datenbank ?
Wenn die Einträge da sind ist ja eigentlich ok .... hast du denn die ganzen Dateien entsprechend editiert ... vor allem die constants.php ?

Markus

Verfasst: 09.11.2004 13:56
von Galrian
bei dem mod braucht man keine dateien zu editieren. höchstens die overall header wenn man einen link will.

habe alle tabellen nochmal aus der datenbank von hand entfernt. nun starte ich das skript mit folgender ausgabe:

Code: Alles auswählen

Installing Statistics Mod Version 3.0.0 
 



Add Tables and Basic Data...


Running :: CREATE TABLE phpbb_module_cache ( module_id mediumint(8) NOT NULL default '0', module_cache_time int(12) NOT NULL default '0', db_cache text NOT NULL, priority mediumint(8) unsigned NOT NULL default '0', PRIMARY KEY (module_id) ) -> COMPLETED

Running :: CREATE TABLE phpbb_modules ( module_id mediumint(8) unsigned NOT NULL auto_increment, short_name varchar(100) default NULL, update_time mediumint(8) NOT NULL default '0', module_order mediumint(8) NOT NULL default '0', active tinyint(2) NOT NULL default '0', perm_all tinyint(2) unsigned NOT NULL default '1', perm_reg tinyint(2) unsigned NOT NULL default '1', perm_mod tinyint(2) unsigned NOT NULL default '1', perm_admin tinyint(2) unsigned NOT NULL default '1', PRIMARY KEY (module_id) ) -> COMPLETED

Running :: CREATE TABLE phpbb_module_info ( module_id mediumint(8) NOT NULL default '0', long_name varchar(100) NOT NULL default '', author varchar(50) default NULL, email varchar(50) default NULL, url varchar(100) default NULL, version varchar(10) NOT NULL default '', update_site varchar(100) default NULL, extra_info varchar(255) NOT NULL default '', PRIMARY KEY (module_id) ) -> COMPLETED

Running :: CREATE TABLE phpbb_module_group_auth ( module_id mediumint(8) unsigned NOT NULL default '0', group_id mediumint(8) unsigned NOT NULL default '0' ) -> COMPLETED

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

Running :: INSERT INTO phpbb_stats_config (config_name, config_value) VALUES ('install_date', '1100004585') -> 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', '3.0.0') -> COMPLETED

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

Running :: CREATE TABLE phpbb_module_admin_panel ( module_id mediumint(8) unsigned NOT NULL default '0', config_name varchar(255) NOT NULL default '', config_value varchar(255) NOT NULL default '', config_type varchar(20) NOT NULL default '', config_title varchar(100) NOT NULL default '', config_explain varchar(100) default NULL, config_trigger varchar(20) NOT NULL default '' ) -> COMPLETED

Running :: CREATE TABLE stats_smilies_index ( code varchar(50) default NULL, smile_url varchar(100) default NULL, smile_count mediumint(8) default '0' ) -> COMPLETED

Running :: CREATE TABLE stats_smilies_info ( last_post_id mediumint(8) NOT NULL default '0', last_update_time int(12) NOT NULL default '0', update_time mediumint(8) NOT NULL default '10080' ) -> COMPLETED

Running :: INSERT INTO stats_smilies_info (last_post_id, last_update_time, update_time) VALUES (0, 0, 10080) -> COMPLETED



Installing Default Modules...


Running :: SELECT max(module_order) as max_order FROM phpbb_modules -> COMPLETED

Running :: INSERT INTO phpbb_modules (short_name, update_time, module_order, active) VALUES ('admin_statistics', 360, 10, 1) -> COMPLETED

Running :: INSERT INTO phpbb_module_info (module_id, long_name, author, email, url, version, update_site, extra_info) VALUES (1, 'Administrative Statistics', 'Acyd Burn', 'acyd.burn@gmx.de', 'http://www.opentools.de', '3.0.0', 'http://www.opentools.de/board/show_modules.php', 'This Module displays some Admin Statistics about your Board. It is nearly the same you are able to see within the first Administration Panel visit.') -> COMPLETED

Running :: INSERT INTO phpbb_module_cache (module_id, module_cache_time, db_cache, priority) VALUES (1, 0, '', 0) -> COMPLETED



Running :: SELECT max(module_order) as max_order FROM phpbb_modules -> COMPLETED

Running :: INSERT INTO phpbb_modules (short_name, update_time, module_order, active) VALUES ('most_active_topics', 360, 20, 1) -> COMPLETED

Running :: INSERT INTO phpbb_module_info (module_id, long_name, author, email, url, version, update_site, extra_info) VALUES (2, 'Most active Topics', 'Acyd Burn', 'acyd.burn@gmx.de', 'http://www.opentools.de', '3.0.0', 'http://www.opentools.de/board/show_modules.php', 'This Module displays the most active topics at your board.') -> COMPLETED

Running :: INSERT INTO phpbb_module_cache (module_id, module_cache_time, db_cache, priority) VALUES (2, 0, '', 0) -> COMPLETED



Running :: SELECT max(module_order) as max_order FROM phpbb_modules -> COMPLETED

Running :: INSERT INTO phpbb_modules (short_name, update_time, module_order, active) VALUES ('most_viewed_topics', 360, 30, 1) -> COMPLETED

Running :: INSERT INTO phpbb_module_info (module_id, long_name, author, email, url, version, update_site, extra_info) VALUES (3, 'Most viewed topics', 'Acyd Burn', 'acyd.burn@gmx.de', 'http://www.opentools.de', '3.0.0', 'http://www.opentools.de/board/show_modules.php', 'This Module displays the most viewed topics at your board.') -> COMPLETED

Running :: INSERT INTO phpbb_module_cache (module_id, module_cache_time, db_cache, priority) VALUES (3, 0, '', 0) -> COMPLETED



Running :: SELECT max(module_order) as max_order FROM phpbb_modules -> COMPLETED

Running :: INSERT INTO phpbb_modules (short_name, update_time, module_order, active) VALUES ('top_posters', 360, 40, 1) -> COMPLETED

Running :: INSERT INTO phpbb_module_info (module_id, long_name, author, email, url, version, update_site, extra_info) VALUES (4, 'Top Posters', 'Acyd Burn', 'acyd.burn@gmx.de', 'http://www.opentools.de', '3.0.0', 'http://www.opentools.de/board/show_modules.php', 'This Module displays the Top Posters from your board. Anonymous Poster are not counted.') -> COMPLETED

Running :: INSERT INTO phpbb_module_cache (module_id, module_cache_time, db_cache, priority) VALUES (4, 0, '', 0) -> COMPLETED



Running :: SELECT max(module_order) as max_order FROM phpbb_modules -> COMPLETED

Running :: INSERT INTO phpbb_modules (short_name, update_time, module_order, active) VALUES ('top_smilies', 0, 50, 1) -> COMPLETED

Running :: INSERT INTO phpbb_module_info (module_id, long_name, author, email, url, version, update_site, extra_info) VALUES (5, 'Top Smilies', 'Acyd Burn', 'acyd.burn@gmx.de', 'http://www.opentools.de', '3.0.0', 'http://www.opentools.de/board/show_modules.php', 'This Module displays the Top Smilies used at your board. This Module uses an Smilie Index Table for caching the smilie data and to not require re-indexing of all posts.') -> COMPLETED

Running :: INSERT INTO phpbb_module_cache (module_id, module_cache_time, db_cache, priority) VALUES (5, 0, '', 0) -> COMPLETED



Finished... now DELETE the install folder.
das sieht doch alles ok aus.

bekomme aber immer unter dem link dubiose fehlermeldungen:
http://www.server-control.de/Elsfleth/p ... istics.php

verzeichnis wurde auch auf 777 gesetzt.

im adminpanel ist eingestellt das jeder die statistiken sehen darf :-?