Question
Hi,
- A new user register
- gets the "How to activate your TWiki registration" email.
- Click on Link and input activation code into field receive an "Invalid Authentification" error message (background information what twiki is doing: Twiki creates user, so the code must be valid)
- User fill in the authentification code a second time: user receive an "Internal server error" but nor error is logged in server log file.
- User tries to login: it works
Environment
--
JanineSchendel - 18 Apr 2007
Answer
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
What browser are you using? Konqueror? There is a known bug with this browser that may be causing the first symptom you are seeing. As for the second (the internal server error) please insert the relevant error messages from the web server error log here.
--
CrawfordCurrie - 18 Apr 2007
Some browsers send the activation code twice. TWiki has a misleading error message if the account is already activated (known & reported bug.)
--
PeterThoeny - 18 Apr 2007
mmm, if you have the chance, give us the apache error_log and access_log from around the time this happens - that would show if its the browser 'double tapping' the activation code.
--
SvenDowideit - 24 Apr 2007
Hi,
today another User registered an i found this messages in error_log an access_log: (Names, Urls etc. are changed)
error_log:
Wed Apr 25 10:39:47 2007] [error] [client IP] malformed header from script. Bad header=email@domain.de>... Unbalanced: register, referer:
http://XXXXXXX/twiki/bin/oops/Main/TWikiRegistration?template=oopsattention;def=confirm;param1=registeremail%40domain.de
access_log:
IP - - [25/Apr/2007:10:39:01 +0200] "POST /twiki/bin/register/Main/WebHome HTTP/1.1" 302 - "http://XXXXXXX/twiki/bin/view/TWiki/TWikiRegistration" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30)"
IP - - [25/Apr/2007:10:39:03 +0200] "GET /twiki/bin/oops/Main/TWikiRegistration?template=oopsattention;def=confirm;param1=registeremail%40domain.de HTTP/1.1" 200 6871 "http://XXXXXXX/twiki/bin/view/TWiki/TWikiRegistration" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30)"
IP - - [25/Apr/2007:10:39:45 +0200] "GET /twiki/bin/register?action=verify&code=REGISTERUSERNAME.5830847358 HTTP/1.1" 500 746 "http://XXXXXXX/twiki/bin/oops/Main/TWikiRegistration?template=oopsattention;def=confirm;param1=registeremail%40domain.de" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30)"
--
JanineSchendel - 25 Apr 2007
Closing this after more than 30 days inactivity; re-open if needed...
--
PeterThoeny - 02 Jun 2007
Problem solved.
In
TWikiPreferences there where 2 emailadresses for WIKIWEBMASTER.
Set WIKIWEBMASTER = email1[at]domain.de, email2[at]domain.de
After deleting the second email adress the registration an authentification script is working fine.
--
JanineSchendel - 04 Jun 2007
Thanks for reporting back. I created
Bugs:Item4207
--
PeterThoeny - 04 Jun 2007