Seite 1 von 1

fehler nach Yellow card

Verfasst: 20.07.2004 17:13
von Daniel.kn
Hallo

wenn jemand ins profil geht und was ändert kommt danach folgende meldung

Could not update users table

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 '1' WHERE user_id = 2' at line 2

UPDATE phpbb_users SET user_email = '', user_icq = '', user_website = 'Http://, user_occ = '', user_from = 'Lu', user_interests = kino, user_birthday = '1429', user_next_birthday_greeting = '2004', user_sig , user_sig_bbcode_uid = 'e3837489f5', user_viewemail = 0, user_aim = '', user_yim = '', user_msnm = '', user_attachsig = 1, user_allowsmile = 1, user_allowhtml = 1, user_allowbbcode = 1, user_allow_viewonline = 1, user_notify = 0, user_notify_pm = 1, user_popup_pm = 1, user_timezone = 2, user_dateformat = 'D M d, Y H:i', user_lang = 'german', user_style = 1, user_active = user_active, user_actkey = 'user_actkey'', user_gender = '1' WHERE user_id = 2

Line : 525
File : /forum/includes/usercp_register.php


Und register line 525 ist

Code: Alles auswählen

message_die(GENERAL_ERROR, 'Could not update users table', '', __LINE__, __FILE__, $sql);
Danke für eure hilfe

Gruss Dan

Verfasst: 20.07.2004 19:06
von Andy120
DB erweitert?

Verfasst: 20.07.2004 19:07
von Dennis63
user_website = 'Http://',

Bei Dir fehlt die einfache Hochklammer vor dem Komma (Hier Fett markiert). Du hast sie wahrscheinlich beim ModEinbau entfernt.

Grüße
Dennis

Verfasst: 20.07.2004 19:12
von Daniel.kn
danke , so steht das bei mir
user_website = 'Http://www.aaaaaa.de',
wenn ich das yellow_card_db_update.php ausführe kommt folgendes

Code: Alles auswählen

This list is a result of the SQL queries needed for this Mod


Yellow Card Mod
[Already added] line: 1 , ALTER TABLE phpbb_forums ADD auth_ban TINYINT (2) not null DEFAULT "3"
[Already added] line: 2 , ALTER TABLE phpbb_forums ADD auth_greencard TINYINT (2) not null DEFAULT "5"
[Already added] line: 3 , ALTER TABLE phpbb_forums ADD auth_bluecard TINYINT (2) not null DEFAULT "1"
[Already added] line: 4 , ALTER TABLE phpbb_auth_access ADD auth_ban TINYINT (1) not null DEFAULT "0"
[Already added] line: 5 , ALTER TABLE phpbb_auth_access ADD auth_greencard TINYINT (1) not null DEFAULT "0"
[Already added] line: 6 , ALTER TABLE phpbb_auth_access ADD auth_bluecard TINYINT (1) not null DEFAULT "0"
[Already added] line: 7 , INSERT INTO phpbb_config (config_name, config_value) VALUES ("bluecard_limit", "3")
[Already added] line: 8 , INSERT INTO phpbb_config (config_name, config_value) VALUES ("bluecard_limit_2", "1")
[Already added] line: 9 , INSERT INTO phpbb_config (config_name, config_value) VALUES ("max_user_bancard", "10")
[Already added] line: 10 , INSERT INTO phpbb_config (config_name, config_value) VALUES ("report_forum", "0")
[Already added] line: 11 , ALTER TABLE phpbb_users ADD user_warnings SMALLINT (5) DEFAULT "0"
[Already added] line: 12 , ALTER TABLE phpbb_posts ADD post_bluecard TINYINT (1)

Verfasst: 22.07.2004 01:46
von Daniel.kn
hat niemand eine idee woran das liegen kann

gruss dan

Verfasst: 22.07.2004 01:57
von Blutgerinsel
Daniel.kn hat geschrieben:hat niemand eine idee woran das liegen kann

gruss dan
Was bedeutet Already Added? Genau Schon hinzugefügt!

Guck mal in deine DB was gemacht wurde......

P.S.: Hab diesen Mod bei mir heute auch installiert und geht prima :wink:

Verfasst: 24.07.2004 11:50
von Daniel.kn
habe nochmal die original register hochgeladen und ohne änderung geht es.

gruss dan