Seite 1 von 1

Bank Mod

Verfasst: 28.04.2008 15:20
von coril
Also es geht jetzt nichts mehr. Wenn ich im Admin-Bereich den Mod auf on stelle kommt das:

phpBB : Kritischer Fehler

Error Getting Bank Users!


DEBUG MODE

SQL Error : 1054 Unknown column 'user_id' in 'where clause'

Verfasst: 28.04.2008 15:28
von Düssi
Die Suche ergab:

Link 1

Zitat:
Error Getting Bank Users!

Da feht die Tabelle in der DB -> SQL Error : 1146 Table 'xxx' doesn't exist

Verfasst: 28.04.2008 15:49
von coril
Das verstehe ich nicht was da steht, und ich glaube ich kann da garnicht rein gucken, weil es nicht meinem Fehler beinhaltet.

Verfasst: 28.04.2008 18:24
von Andi1111
es fehlt auch keine tabelle, es fehlt das feld 'user_id' in der tabelle, das heisst das du die datenbankänderungen wohl nicht gemacht hast, also entwerder install datei ausführen wenn eine dabei ist oder die sql befehle mit phpmyadmin selber ausführen.

Verfasst: 29.04.2008 13:56
von coril
Habe ich doch schon, dann kommt das:

Code: Alles auswählen

# CREATE TABLE `phpbb_bank`
(`id` INT UNSIGNED NOT NULL AUTO_INCREMENT,
`user_id` INT (10) NOT NULL,
`holding` INT (14) UNSIGNED DEFAULT '0',
`totalwithdrew` INT (14) UNSIGNED DEFAULT '0',
`totaldeposit` INT (14) UNSIGNED DEFAULT '0',
`opentime` INT (10) UNSIGNED NOT NULL,
`fees` CHAR (5) NOT NULL DEFAULT 'on',
PRIMARY KEY(`user_id`),
INDEX(`id`))
!!! Error: Table 'phpbb_bank' already exists

# insert into phpbb_config (config_name, config_value) values ('bankinterest', '2')
!!! Error: Duplicate entry 'bankinterest' for key 1

# insert into phpbb_config (config_name, config_value) values ('bankfees', '2')
!!! Error: Duplicate entry 'bankfees' for key 1

# insert into phpbb_config (config_name, config_value) values ('bankpayouttime', '84600')
!!! Error: Duplicate entry 'bankpayouttime' for key 1

# insert into phpbb_config (config_name, config_value) values ('bankname', 'Forums Bank')
!!! Error: Duplicate entry 'bankname' for key 1

# insert into phpbb_config (config_name, config_value) values ('bankopened', 'off')
!!! Error: Duplicate entry 'bankopened' for key 1

# insert into phpbb_config (config_name, config_value) values ('bankholdings', '0')
!!! Error: Duplicate entry 'bankholdings' for key 1

# insert into phpbb_config (config_name, config_value) values ('banktotaldeposits', '0')
!!! Error: Duplicate entry 'banktotaldeposits' for key 1

# insert into phpbb_config (config_name, config_value) values ('banktotalwithdrew', '0')
!!! Error: Duplicate entry 'banktotalwithdrew' for key 1

# insert into phpbb_config (config_name, config_value) values ('banklastrestocked', '0')
!!! Error: Duplicate entry 'banklastrestocked' for key 1

# insert into phpbb_config (config_name, config_value) values ('bank_minwithdraw', '0')
!!! Error: Duplicate entry 'bank_minwithdraw' for key 1

# insert into phpbb_config (config_name, config_value) values ('bank_mindeposit', '0')
!!! Error: Duplicate entry 'bank_mindeposit' for key 1

# insert into phpbb_config (config_name, config_value) values ('bank_interestcut', '0')
!!! Error: Duplicate entry 'bank_interestcut' for key 1


Soll ich alles noch mal installieren?