Seite 1 von 2

Fehlermeldung bei Registrierung

Verfasst: 04.02.2007 08:20
von dg6
Meine Besucher bekommen immer folgende Fehlermeldung:

Code: Alles auswählen

SQL Error : 1136 Column count doesn't match value count at row 1

INSERT INTO phpbb_users (user_id, username, user_regdate, user_password, user_email, user_icq, user_website, user_occ, user_from, user_interests, user_sig, user_sig_bbcode_uid, user_avatar, user_avatar_type, user_viewemail, user_aim, user_yim, user_msnm, user_attachsig, user_allowsmile, user_allowhtml, user_allowbbcode, user_allow_viewonline, user_notify, user_notify_pm, user_popup_pm, user_timezone, user_dateformat, user_lang, user_style, user_level, user_allow_pm, user_birthday, user_next_birthday_greeting, user_active, user_actkey) VALUES (13, 'anonnymus06', 1170573507, 'c5fe25896e49ddfe996db7508cf00534', 'geruechtekueche1@gmx.at', '', '', '', '', '', '', '', '', 0, 0, '', '', '', 1, 1, 1, 1, 0, 0, 1, 1, 0, 'd.m.Y, H:i', 'german', 1 , '1', '8129', '2007', 1, '')

Line : 719
File : usercp_register.php
was soll ich tun??
*help*
greets dani g.

Verfasst: 04.02.2007 20:26
von uwe310
Meine erste Frage welchen Hack hast du eingebaut ?

Line : 719
File : usercp_register.php
Was steht in der Zeile ?
MFG

Verfasst: 04.02.2007 20:31
von Jan500
am besten gleich die ganze usercp_register.php geben
KB:datei

Jan

Verfasst: 05.02.2007 13:57
von dg6
also das wäre der link....
http://dg6.dg.ohost.de/usercp_register.txt
thx!

Verfasst: 05.02.2007 14:24
von Jan500
hi

such in zeile 703
VALUES ($user_id, '" . str_replace("\'", "''", $username) . "', " . time() . ", '" . str_replace("\'", "''", $new_password) . "', '" . str_replace("\'", "''", $email) . "', '" . str_replace("\'", "''", $icq) . "', '" . str_replace("\'", "''", $website) . "', '" . str_replace("\'", "''", $occupation) . "', '" . str_replace("\'", "''", $location) . "', '" . str_replace("\'", "''", $interests) . "', '" . str_replace("\'", "''", $signature) . "', '$signature_bbcode_uid', $avatar_sql, $viewemail, '" . str_replace("\'", "''", str_replace(' ', '+', $aim)) . "', '" . str_replace("\'", "''", $yim) . "', '" . str_replace("\'", "''", $msn) . "', $attachsig, $allowsmilies, $allowhtml, $allowbbcode, $allowviewonline, $notifyreply, $notifypm, $popup_pm, $user_timezone, '" . str_replace("\'", "''", $user_dateformat) . "', '" . str_replace("\'", "''", $user_lang) . "', $user_style , '$birthday', '$next_birthday_greeting', ";
ersetze das mit:
VALUES ($user_id, '" . str_replace("\'", "''", $username) . "', " . time() . ", '" . str_replace("\'", "''", $new_password) . "', '" . str_replace("\'", "''", $email) . "', '" . str_replace("\'", "''", $icq) . "', '" . str_replace("\'", "''", $website) . "', '" . str_replace("\'", "''", $occupation) . "', '" . str_replace("\'", "''", $location) . "', '" . str_replace("\'", "''", $interests) . "', '" . str_replace("\'", "''", $signature) . "', '$signature_bbcode_uid', $avatar_sql, $viewemail, '" . str_replace("\'", "''", str_replace(' ', '+', $aim)) . "', '" . str_replace("\'", "''", $yim) . "', '" . str_replace("\'", "''", $msn) . "', $attachsig, $allowsmilies, $allowhtml, $allowbbcode, $allowviewonline, $notifyreply, $notifypm, $popup_pm, $user_timezone, '" . str_replace("\'", "''", $user_dateformat) . "', '" . str_replace("\'", "''", $user_lang) . "', $user_style , 0 , 1, '$birthday', '$next_birthday_greeting', ";
gruß Jan

Verfasst: 05.02.2007 16:11
von dg6
danke...aber es geht noch immer nicht :cry: :cry:
greetz

Verfasst: 05.02.2007 16:54
von uwe310
Die sql Befehle ausgeführt ?

Verfasst: 05.02.2007 18:23
von Jan500
hi

kommt genau die selbe meldung wie oben? poste die noch einmal udn auch ncoh einmal die aktuelle php datei

sicher das du die datei richtig hochgeladen hast bzw im richtigen ordner? da an genau der stelle wo ich was eingefügt habe etwas laut der meldung fehlt...

gruß Jan

Verfasst: 05.02.2007 19:49
von dg6
uwe310 hat geschrieben:Die sql Befehle ausgeführt ?
welche sql befehle??

Verfasst: 05.02.2007 20:03
von dg6
ja....genau dieselbe meldung!!
http://dg6.dg.ohost.de/usercp_register.txt

Code: Alles auswählen

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

UPDATE phpbb_users SET user_email = 'daniel@tirolerliga.at', user_icq = '', user_website = 'http://www.daniel-gruber.de.tl', user_occ = '5c =>BORG_LA + Webdeveloper', user_from = 'Seinehons', user_interests = 'gjjhgj', user_birthday = '8129', user_next_birthday_greeting = '2007', user_sig = 'Webmaster - Daniel Gruber *www.stjohanner-szene.de.ki*', user_sig_bbcode_uid = '7836a2844b', user_viewemail = 1, user_aim = '', user_yim = '', user_msnm = '', user_attachsig = 1, user_allowsmile = 1, user_allowhtml = 0, user_allowbbcode = 1, user_allow_viewonline = 1, user_notify = 1, user_notify_pm = 1, user_popup_pm = 0, user_timezone = 1, user_dateformat = 'd.m.Y, H:i', user_lang = 'german', user_style = 1, user_active = 1, user_actkey = '', WHERE user_id = 2

Line : 602
File : usercp_register.php
ps.: das ist jetzt der Fehler beim Profil updaten...aber beim registrieren passiert das gleiche ;-)
thx!