Seite 1 von 1

Log Actions MOD

Verfasst: 30.09.2005 21:23
von smarty
Ich habe den Log Actions MOD 1.1.6 ins phpBB 2.0.17 eingebaut.

Leider scheint er nicht kompatibel zu sein, denn ich erhalte folgende unter dem Menuepunkt "Logs Actions " folgenden Fehler:

Code: Alles auswählen

SQL Error : 1146 Table 'eol.phpbb_logs' doesn't exist

SELECT * FROM phpbb_logs ORDER BY time DESC LIMIT 0, 50 

Line : 164
File : admin_logs.php 
Unter dem Menuepunkt "Logs Config " kann ich zwar einen User anlegen, jedoch bei "Prune" erscheint dieser Fehler:

Code: Alles auswählen

SQL Error : 1146 Table 'aoc.phpbb_logs' doesn't exist

SELECT id_log FROM phpbb_logs WHERE time < 1128107545 

Line : 69
File : functions_log.php
Die Tabelle wird nicht angelegt :(

Weiß jemand Abhilfe oder ist es sinnlos unter phpBB 2.0.17 den Mod zu installieren?

Hinweis

Verfasst: 30.09.2005 21:34
von gloriosa
Hallo,
auch in diesen Fall hilft die Knowledge Base >>> KB:sql_error <<< weiter ! :o

Verfasst: 30.09.2005 21:52
von smarty
Die Tabelle wird nicht erstellt:
Running query :: CREATE TABLE phpbb_logs ( id_log MEDIUMINT(10) NOT NULL DEFAULT '0' AUTO_INCREMENT, mode VARCHAR(50) NULL DEFAULT '', topic_id MEDIUMINT(10) NULL DEFAULT '0', user_id MEDIUMINT(8) NULL DEFAULT '0', username VARCHAR(255) NULL DEFAULT '', user_ip CHAR(8) DEFAULT '0' NOT NULL, time INT(11) NULL DEFAULT '0', PRIMARY KEY (id_log)) -> ERROR - QUERY FAILED ----> Invalid default value for 'id_log'
Kann mir bitte jemand weiterhelfen.

edit:

Code: Alles auswählen

CREATE TABLE phpbb_logs ( id_log MEDIUMINT(10) NOT NULL DEFAULT '0' AUTO_INCREMENT
ersetzen durch

Code: Alles auswählen

CREATE TABLE phpbb_logs ( id_log MEDIUMINT(10)  AUTO_INCREMENT 
und schon funtz es ;)