[RC] phpBB Statistics v1.0.2

In diesem Forum können Mod-Autoren ihre Mods vorstellen, die sich noch im Entwicklungsstatus befinden. Der Einbau in Foren im produktiven Betrieb wird nicht empfohlen.
Forumsregeln
phpBB 3.0 hat das Ende seiner Lebenszeit überschritten
phpBB 3.0 wird nicht mehr aktiv unterstützt. Insbesondere werden - auch bei Sicherheitslücken - keine Patches mehr bereitgestellt. Der Einsatz von phpBB 3.0 erfolgt daher auf eigene Gefahr. Wir empfehlen einen Umstieg auf die neuste phpBB-Version, welches aktiv weiterentwickelt wird und für welches regelmäßig Updates zur Verfügung gestellt werden.
Manuel_Gräf
Mitglied
Beiträge: 16
Registriert: 02.05.2009 21:39

Re: [BETA] phpBB Statistics v0.2.0

Beitrag von Manuel_Gräf »

Guten Tag,

wenn ich Installiere hängt er sich jedes mal an folgender Stelle auf "./forum/install/index.php?mode=install&sub=create_table"

Code: Alles auswählen

Allgemeiner Fehler
SQL ERROR [ mysql4 ]

Duplicate column name 'field_stats_show' [1060]

SQL

ALTER TABLE phpbb_profile_fields ADD field_stats_show TINYINT( 1 ) UNSIGNED NOT NULL DEFAULT 0;

BACKTRACE
woran kann das liegen? soll ich evt. selbstständig ins SQL- Verzeichnis eintragen
Benutzeravatar
marc1706
phpBB.com
Beiträge: 323
Registriert: 20.08.2008 11:11
Wohnort: München
Kontaktdaten:

Re: [BETA] phpBB Statistics v0.2.0

Beitrag von marc1706 »

Wenn du MySQLAdmin o.Ä. hast, dann führe mal folgende SQL-Befehle aus:

Code: Alles auswählen

ALTER TABLE phpbb_profile_fields DROP field_stats_show;
DROP TABLE IF EXISTS phpbb_stats_config;
Danach sollte die Installation problemlos durchlaufen.
Hattest du evtl. davor den Forum Statistics MOD installiert?
phpBB Lead Developer
Manuel_Gräf
Mitglied
Beiträge: 16
Registriert: 02.05.2009 21:39

Re: [BETA] phpBB Statistics v0.2.0

Beitrag von Manuel_Gräf »

danke
Benutzeravatar
marc1706
phpBB.com
Beiträge: 323
Registriert: 20.08.2008 11:11
Wohnort: München
Kontaktdaten:

Re: [RC] phpBB Statistics v1.0.0

Beitrag von marc1706 »

Update auf Version 1.0.0

Die Änderungen stehen im ersten Beitrag.
phpBB Lead Developer
Benutzeravatar
franki
Ehemaliges Teammitglied
Beiträge: 2823
Registriert: 21.10.2007 14:02
Wohnort: Sonsbeck
Kontaktdaten:

Re: [RC] phpBB Statistics v1.0.0

Beitrag von franki »

In der Update-Anleitung von 0.2.0 auf 1.0.0 fehlt eine Änderung.

In der root/includes/functions.php
suche

Code: Alles auswählen

$user->add_lang('mods/stats');
ersetze durch

Code: Alles auswählen

$user->add_lang('mods/stats');
	$user->add_lang('mods/stats_addons');
Edit:
Hab das Update jetzt durchgeführt und bekomme beim Aufruf von
Optionen/Verschiedene Statistiken folgende Fehlermeldungen oben über dem Header:

Code: Alles auswählen

[phpBB Debug] PHP Notice: in file /includes/stats/stats_basic.php on line 446: Invalid argument supplied for foreach()
[phpBB Debug] PHP Notice: in file /includes/stats/stats_basic.php on line 450: array_multisort() [function.array-multisort]: Argument #4 is expected to be an array or sorting flag that has not already been specified
[phpBB Debug] PHP Notice: in file /includes/stats/stats_basic.php on line 454: Invalid argument supplied for foreach()
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3908: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3184)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3910: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3184)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3911: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3184)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3912: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3184)
LG Franki
Passat
Mitglied
Beiträge: 636
Registriert: 26.03.2008 17:50

Re: [RC] phpBB Statistics v1.0.0

Beitrag von Passat »

franki hat geschrieben: Hab das Update jetzt durchgeführt und bekomme beim Aufruf von
Optionen/Verschiedene Statistiken folgende Fehlermeldungen oben über dem Header:

Code: Alles auswählen

[phpBB Debug] PHP Notice: in file /includes/stats/stats_basic.php on line 446: Invalid argument supplied for foreach()
[phpBB Debug] PHP Notice: in file /includes/stats/stats_basic.php on line 450: array_multisort() [function.array-multisort]: Argument #4 is expected to be an array or sorting flag that has not already been specified
[phpBB Debug] PHP Notice: in file /includes/stats/stats_basic.php on line 454: Invalid argument supplied for foreach()
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3908: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3184)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3910: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3184)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3911: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3184)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3912: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3184)
Ich habe ebenfalls auf 1.0.0 upgedatet und bekomme den gleichen Fehler.
Außerdem sind die Tabs fast nicht mehr zu sehen (nur bei Verschiedene Statistiken) und bei "Top 10 Smilies" und "Top 10 BBCodes" steht jetzt "Keine" anstatt der 10 Top-Smilies/BBCodes bei der 0.2.0.
Benutzeravatar
marc1706
phpBB.com
Beiträge: 323
Registriert: 20.08.2008 11:11
Wohnort: München
Kontaktdaten:

Re: [RC] phpBB Statistics v1.0.0

Beitrag von marc1706 »

Ihr habt aber schon alle Dateien auch kopiert wie es in der Update Anleitung steht? Array Multisort gibt es z.B. in der neuen stats_basic.php gar nicht mehr.
phpBB Lead Developer
Passat
Mitglied
Beiträge: 636
Registriert: 26.03.2008 17:50

Re: [RC] phpBB Statistics v1.0.0

Beitrag von Passat »

marc1706 hat geschrieben:Ihr habt aber schon alle Dateien auch kopiert wie es in der Update Anleitung steht? Array Multisort gibt es z.B. in der neuen stats_basic.php gar nicht mehr.
Ja, alle Dateien kopiert und Cache gelöscht.
Und im 1.0.0 Installpaket gibts das sehr wohl noch. In Zeile 396 der stats_basic.php (Dateidatum 22.04.09) steht z.B.

Code: Alles auswählen

array_multisort($count, SORT_NUMERIC, SORT_DESC, $smiley_ary);
John Doe
Mitglied
Beiträge: 684
Registriert: 30.03.2005 01:06

Re: [RC] phpBB Statistics v1.0.0

Beitrag von John Doe »

Hier keine Probleme von 0.2.0 auf 1.0.0
Habe aber einfach den kompletten Inhalt des root Ordners wieder rüberkopiert.
Benutzeravatar
marc1706
phpBB.com
Beiträge: 323
Registriert: 20.08.2008 11:11
Wohnort: München
Kontaktdaten:

Re: [RC] phpBB Statistics v1.0.0

Beitrag von marc1706 »

Mir ist irgendwie eine alte Datei in das Paket gerutscht. Einfach das ganze noch einmal runterladen und die Probleme sollten der Vergangenheit angehören.
phpBB Lead Developer
Antworten

Zurück zu „[3.0.x] Mods in Entwicklung“