[TYPO3-german] feuser_registration und groupUponRegistration

Corrado Viotto corrado at corrado.li
Mon Apr 21 21:05:41 CEST 2008


Versuche nu seit längerer Zeit meine feuser_reg extension zum Laufen zu
bringen.
Im Prinzip funktioniert alles solange wie allowUserGroupSelection = 0
ist. Nun möchte ich dem Benutzer aber die Möglichkeit geben seine Gruppe
selbst zu wählen. Folglich ändere ich die genannte Konst in
allowUserGroupSelection = 1

Jetzt kommt bei der Registrierung folgender Fehler:
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL
result resource in
/home/corrado/www/aseo/typo3_src-4.1.1/t3lib/class.t3lib_db.php on line 796
Und bei der Vorschau ist das Feld UserGroup auch leer!


Natürlich kann ich mit der Registrierung fortfahren, wobei dann der
Fehler immer mal wieder kommt. In der Tabelle fe_users steht bei der
Gruppe dann nur "Array,21". 21 ist ja logisch und entspricht der
Konstante aber "Array sollte die PID der gewählten Gruppe sein.

Kann mir da Jemand helfen. Ich glaube ich sehe vor lauter Wald die Bäume
nicht mehr.

Hier noch meine Konstanten:

plugin.tx_srfeuserregister_pi1.loginPID = 81
plugin.tx_srfeuserregister_pi1.editPID = 127
plugin.tx_srfeuserregister_pi1.registerPID = 126
plugin.tx_srfeuserregister_pi1.confirmPID = 128
plugin.tx_srfeuserregister_pi1.email = blabla at blyabla.ch
plugin.tx_srfeuserregister_pi1.formFields = username, password, gender,
first_name, last_name, date_of_birth, email,adress, city, zip,
telephone, www, module_sys_dmail_html, image, comments, disable
plugin.tx_srfeuserregister_pi1.pid = 93
plugin.tx_srfeuserregister_pi1.allowUserGroupSelection = 1
plugin.tx_srfeuserregister_pi1.enableAdminNotifyOnApprove = 1
plugin.tx_srfeuserregister_pi1.maxImages = 1
plugin.tx_srfeuserregister_pi1.siteName = ggggg
plugin.tx_srfeuserregister_pi1.pidTitleOverride = ggggg
plugin.tx_srfeuserregister_pi1.useMd5Password = 1
plugin.tx_srfeuserregister_pi1.userGroupUponRegistration = 22
plugin.tx_srfeuserregister_pi1.userGroupAfterConfirmation = 21



Vielen Dank schon mal
Gruss
Corrado


More information about the TYPO3-german mailing list