Seite 1 von 2

User können sich nicht mehr registrieren

Verfasst: 14.05.2006 09:42
von Chaote
Hi,

ich hab auch schon die Boardsuche benutzt. Auch viel mit dem gleichen Problem gefunden, aber nichts hilft mir weiter.

Nun hier mein Problem,

wenn sich ein neuer Benutzer registrieren möchte erscheint folgende Fehlermeldung:
Allgemeiner Fehler hat geschrieben:Could not insert data into users table

DEBUG MODE

INSERT INTO phpbb_users (user_id, username, user_regdate, user_password, user_email, user_icq, user_website, user_occ, user_from, user_interests, user_profile_view_popup, 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_active, user_actkey) VALUES (5, 'test2', 1147591873, '098f6bcd4621d373cade4e832627b4f6', 'test@chaote.de', '', '', '', '', '', '', '', '', 0, 0, '', '', '', 1, 1, 0, 1, 1, 0, 1, 1, 0, 'd.m.Y, H:i', 'german', 2, 0, 1, 1, '')

Line : 640
File : usercp_register.php
Hier der Link zur usercp_register als TXT datei:
http://www.chaote.de/usercp_register.txt

Ebenfalls wenn ich den Benutzer Test erstellen möchte heißt es immer das der Benutzer bereits registriert ist obwohl ich ihn weder in der phpbb_users find ich den Benutzer "Test" auch nicht.

Wäre nett wenn jemand eine Idee hätte...

Verfasst: 14.05.2006 09:48
von Markus67
Hi ...

hast du mal einen Link zu dem MOD (profile_view_popup)

Markus

Verfasst: 14.05.2006 10:01
von Chaote
Einer von beiden mods müsste es sein. Ich bin mir nicht sicher welcher.
Habe aber alle Mods wo ich eingebaut habe von hier herunter geladen!

http://www.phpbb.de/moddb/mod.php?id=97 Who viewed my profile?
http://www.phpbb.de/moddb/mod.php?id=158 View Profile MOD

Aber der letzte Mod den ich eingebaut habe ist der Who viewed my profile mod.

Verfasst: 14.05.2006 10:30
von Markus67
Hi

suche in der usercp_register.php

Code: Alles auswählen

				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, $profile_view_popup) . "', '" . 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, ";
ersetze mit:

Code: Alles auswählen

				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) . "', $profile_view_popup, '" . 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, ";
Markus

Verfasst: 14.05.2006 10:34
von Chaote
Mein held! :grin: Es geht wieder! Vielen Dank!

Nun hab ich aber noch das Prob das User angeblich schon registriert sind, aber halt einfach nirgends auffindbar sind...

Verfasst: 14.05.2006 10:36
von Markus67
Hi ...

hast du denn in der Datenbank in der Tabelle phpbb_users einen User anonymous mit der ID -1? (falls ja nicht löschen)

Markus

Verfasst: 14.05.2006 10:38
von Chaote
jap hab ich

Verfasst: 14.05.2006 10:39
von Markus67
Hi ...

hast du denn mal bitte einen Link zu deinem Forum?

Markus

Verfasst: 14.05.2006 10:40
von Chaote

Verfasst: 31.08.2006 18:12
von indianyara
hi

ich habe das gleiche Problem.


Could not insert data into users table

DEBUG MODE

INSERT INTO phpbb_dornen_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, status_offline_text, status_online_text, user_active, user_actkey) VALUES (49, 'test1', 1157040391, '81dc9bdb52d04dc20036dbd8313ed055', 'test@test.de', '', '', '', '', '',, '', '', '', 0, 0, '', '', '', 1, 1, 1, 1, 1, 0, 1, 1, 1, 'd.m.Y, H:i', 'german', 2, 0, 1, ', '', 0, '1d3ff02ecc')

Line : 640
File : usercp_register.php




ich habe auch meine usercp_register.php geändert wie es oben vorgeschlagen wurde...es funktioniert immer nocht nicht...Zeile 624 lautet bei mir (im Original):


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, '" . str_replace("\'", "''", $sig_offline) . "', '" . str_replace("\'", "''", $sig_online) . "', ";

bitte dringend um Hilfe da sich in meinem Forum momentan keiner anmelden kann und ich den Fehler einfach nicht finde...

liebe Grüße
yara