Mod eingefügt und Problem mit SQL

Du hast Probleme beim Einbau oder bei der Benutzung eines Mods? In diesem Forum bist du richtig.
Forumsregeln
phpBB 2.0 hat das Ende seiner Lebenszeit überschritten
phpBB 2.0 wird nicht mehr aktiv unterstützt. Insbesondere werden - auch bei Sicherheitslücken - keine Patches mehr bereitgestellt. Der Einsatz von phpBB 2.0 erfolgt daher auf eigene Gefahr. Wir empfehlen einen Umstieg auf phpBB 3.0, welches aktiv weiterentwickelt wird und für welches regelmäßig Updates zur Verfügung gestellt werden.
Antworten
Maverick1977
Mitglied
Beiträge: 131
Registriert: 16.07.2004 05:56
Wohnort: Innsbruck - Tirol
Kontaktdaten:

Mod eingefügt und Problem mit SQL

Beitrag 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????
Zuletzt geändert von Maverick1977 am 20.07.2004 21:07, insgesamt 1-mal geändert.
... greetz and thanx: Christoph - tyrol
Benutzeravatar
Mungo
Administrator
Administrator
Beiträge: 6613
Registriert: 03.05.2003 19:34

Beitrag von Mungo »

Du musst die SQL-Anweisung z.B. mit phpMyAdmin ausführen.
tomtom
Mitglied
Beiträge: 2533
Registriert: 21.05.2004 10:00

Re: Mod eingefügt und Problem mit SQL

Beitrag 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.
Maverick1977
Mitglied
Beiträge: 131
Registriert: 16.07.2004 05:56
Wohnort: Innsbruck - Tirol
Kontaktdaten:

Beitrag von Maverick1977 »

... zur selben Zeit gepostet :)
... greetz and thanx: Christoph - tyrol
Maverick1977
Mitglied
Beiträge: 131
Registriert: 16.07.2004 05:56
Wohnort: Innsbruck - Tirol
Kontaktdaten:

Beitrag 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?!
... greetz and thanx: Christoph - tyrol
tomtom
Mitglied
Beiträge: 2533
Registriert: 21.05.2004 10:00

Beitrag 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.
Maverick1977
Mitglied
Beiträge: 131
Registriert: 16.07.2004 05:56
Wohnort: Innsbruck - Tirol
Kontaktdaten:

Beitrag 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
##############################################################
... greetz and thanx: Christoph - tyrol
Maverick1977
Mitglied
Beiträge: 131
Registriert: 16.07.2004 05:56
Wohnort: Innsbruck - Tirol
Kontaktdaten:

Beitrag von Maverick1977 »

?!?!? Der Mod funzt jetzt. Aber anscheinend ist der Eintrag schon in der Datenbank. Frag mich nur warum?!?!
... greetz and thanx: Christoph - tyrol
Antworten

Zurück zu „phpBB 2.0: Mod Support“