Seite 1 von 1

Fehler bei Birthday Mod

Verfasst: 12.08.2006 19:13
von MX998
Hallo, eigentlich funktioniert der Birthday Mod bei mir bis auf eine Kleinigkeit, wäre nett wenn mir jemand dabei helfen könnte :)

Wenn ich im ACP unter Konfiguration gehe, irgendetwas ändere und dann auf "absenden" klicke kommt folgendes:
Failed to update general configuration for 'birthday_required'

DEBUG MODE

SQL Error : 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'birthday_required''' at line 3

UPDATE phpbb_config SET config_value = '''0''' WHERE config_name = ''birthday_required''

Line : 69
File : admin_board.php
Wo könnte der Fehler stecken? Ich nehme an, es ist irgendwo in der admin_board.php ein Syntaxfehler oder?

Danke im Voraus

Verfasst: 12.08.2006 22:44
von MX998
Was ist an dieser Syntax verkehrt?

INSERT INTO `phpbb_config` (`config_name`,`config_value`) VALUES ('birthday_required','0');

Genauso steht es in der Tabelle!!! Die anderen Einträge sind von der Syntax her identisch! Was soll das?

Verfasst: 13.08.2006 00:32
von MX998
Wie ist das möglich? Ich habe ein backup eingespielt und die entsprechenden Zeilen aus der Datenbank gelöscht und trotzdem kommt:
Failed to update general configuration for 'birthday_required'

DEBUG MODE

SQL Error : 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'birthday_required''' at line 3

UPDATE phpbb_config SET config_value = '''0''' WHERE config_name = ''birthday_required''

Line : 69
File : admin_board.php
Das ist doch vollkommen unmöglich! :x

Die Tabellen sind immer noch da! :o

Wie entferne ich diese Einträge aus der Datenbank?
INSERT INTO phpbb_config (config_name, config_value) VALUES ('birthday_required', '0');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('birthday_greeting', '1');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('max_user_age', '100');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('min_user_age', '5');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('birthday_check_day', '7');
Ich habs mal mit
DROP FROM phpbb_config (config_name, config_value) VALUES ('birthday_required', '0');
aber da gabs nen Syntax Error :-?