Tags:
create new tag
view all tags

Question

Hi,

  1. A new user register
  2. gets the "How to activate your TWiki registration" email.
  3. 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)
  4. User fill in the authentification code a second time: user receive an "Internal server error" but nor error is logged in server log file.
  5. User tries to login: it works

Environment

TWiki version: TWikiRelease04x00x05
TWiki plugins: CommentPlugin:active, EditTablePlugin: active, EmbedFlashPlugin: active, EmptyPlugin: inactiv, InterwikiPlugin: activ, PreferencesPlugin: activ, RenderListPlugin: inactiv, SlideShowPlugin: activ, SmiliesPlugin: activ, SpreadSheetPlugin: activ, TablePlugin: activ, WysiwygPlugin: activ
Server OS: Unix (linux)
Web server: Unix (linux)
Perl version: 5.8.8
Client OS: MS Windows XP prof. SP2
Web Browser: Mozilla / Internet Explorer / Firefox
Categories: Authentication

-- JanineSchendel - 18 Apr 2007

Answer

ALERT! 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

Change status to:
Topic attachments
I Attachment History Action Size Date Who Comment
HTMLhtm configure_20070418.htm r1 manage 145.1 K 2007-04-18 - 13:13 UnknownUser Configuration File
Edit | Attach | Watch | Print version | History: r10 < r9 < r8 < r7 < r6 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r10 - 2007-06-04 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.