Seite 1 von 1
Mod eingefügt und Problem mit SQL
Verfasst: 20.07.2004 21:04
von Maverick1977
Hallo,
ich habe den Mod eingefügt: Allow multiple email Adress pro account
Nun ist in der Installationsdatei diese Anweisung:
#
#-----[ SQL ]------------------------------------------
#
INSERT INTO prefix_config (config_name, config_value) VALUES ('allow_multiple', '1');
Was muss ich nun tun????
Verfasst: 20.07.2004 21:06
von Mungo
Du musst die SQL-Anweisung z.B. mit
phpMyAdmin ausführen.
Re: Mod eingefügt und Problem mit SQL
Verfasst: 20.07.2004 21:07
von tomtom
Maverick1977 hat geschrieben:Hallo,
ich habe den Mod eingefügt: Allow multiple email Adress pro account
Nun ist in der Installationsdatei diese Anweisung:
#
#-----[ SQL ]------------------------------------------
#
INSERT INTO prefix_config (config_name, config_value) VALUES ('allow_multiple', '1');
Was muss ich nun tun????
hi,
phpmyadmin steht dir zur verfügung?
wenn ja, einloggen, und im abfragefenster den folgenden code einfügen
Code: Alles auswählen
INSERT INTO prefix_config (config_name, config_value) VALUES ('allow_multiple', '1');
und das wars
schaue dazu auch hier:
http://www.phpbb.de/topic33133.html (unten)
gruss, t.
Verfasst: 20.07.2004 21:07
von Maverick1977
... zur selben Zeit gepostet

Verfasst: 20.07.2004 21:22
von Maverick1977
Datenbank db71629_2 auf localhost
Fehler
SQL-Befehl :
INSERT INTO phpbb_config( config_name, config_value )
VALUES (
'allow_multiple', '1'
)
MySQL meldet:
#1062 - Duplicate entry 'allow_multiple' for key 1
[Dokumentation] · [Zurück]
Diese Fehlermeldung kommt! Den Präfix habe ich auch geändert?!
Verfasst: 20.07.2004 21:23
von tomtom
Maverick1977 hat geschrieben:Datenbank db71629_2 auf localhost
Fehler
SQL-Befehl :
INSERT INTO phpbb_config( config_name, config_value )
VALUES (
'allow_multiple', '1'
)
MySQL meldet:
#1062 - Duplicate entry 'allow_multiple' for key 1
[Dokumentation] · [Zurück]
Diese Fehlermeldung kommt! Den Präfix habe ich auch geändert?!
hi,
hast du den befehl möglicherweise schon durch ein datenbank-backup (durch ein script à la modname_db_update.php) durchgeführt?
gruss, t.
Verfasst: 20.07.2004 21:27
von Maverick1977
Also es war keine eigene Datei dabei, die man hochladen musste, dann starten und dann wieder löschen. Falls du das meinst...
Das ist der Mod:
Title: Multiple Accounts per Email Address Hack
## Author: Kai <kai@winternightex.com>
## www.winternightex.com
## Wildfire on phpbbhacks.com
##
## Description: This hack lets the administrator configure the board
## to allow multiple accounts per email address through
## the admin panel
##
## Version History:
## 1.0.2 - Current version. Semantics changes for 2.0.6
## 1.0.1 - Semantics changes for 2.0.4
## 1.0.0 - Initial version.
##
## Installation Level:
## Moderate
##
## Verified Compatability:
## 2.0.0 to 2.0.6
##
## Files To Edit:
## include/functions_validate.php
## admin/admin_board.php
## remplates/subSilver/admin/board_config_body.tpl
##
## Included Files:
## none
##
## Notes:
## This hack requires modification of the phpBB database. If you are incapable of or
## are not comfortable with doing so, please do not attempt installation of this hack.
## Upon completion of installation, the confuration option will be set to allow multiple
## accounts per email address.
##############################################################
## Please Check:
## http://www.phpbbhacks.com
## http://www.204art.com/item.php?galleryid=2
##
## for support and the latest version of this hack
##############################################################
Verfasst: 20.07.2004 21:33
von Maverick1977
?!?!? Der Mod funzt jetzt. Aber anscheinend ist der Eintrag schon in der Datenbank. Frag mich nur warum?!?!