Tags:
create new tag
, view all tags

Question

I'm getting an 500 Internal Server Error when users register. They are registered and they receive an email as well. However, the receive the error after submitting their registration. Any ideas on how to fix this? thanks

Environment

TWiki version: TWikiRelease04x00x05
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS:  
Web server:  
Perl version:  
Client OS:  
Web Browser: ie and firefox
Categories: Registration, Authentication, Fatal error

-- DonStenson - 24 Nov 2006

Answer

ALERT! If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.

A "500 Internal Server Error" can only be tracked down when looking into the web server's error log, which usually details where the error occurred. Without details from the error log all I can say "It works for me, and I don't know what happens to you".

-- HaraldJoerg - 24 Nov 2006

Setting this to "answered". Please re-open with more details in case needed.

-- PeterThoeny - 27 Nov 2006

I get this from the error logs- [Tue Nov 28 16:40:14 2006] [error] [client 172.21.65.42] malformed header from script. Bad header=Don.Stenson@atl.frb.org>... Un: register, referer: https://f122lx03.atl.frb.org/twiki/bin/view/TWiki/TWikiRegistration

-- DonStenson - 29 Nov 2006

See related MailnotifyMalformedHeaderError. Possibly cased by missing Perl include path. Make sure to run the script from the twiki/bin directory, or add a -I /apth/to/twiki/lib to the script. Read docs in MailerContrib.

-- PeterThoeny - 29 Nov 2006

The mailnotify sends emails out to the user when they register. But the web page that contains the registration confirmation shows the 500 Internal Server Error. Where would the "missing Perl include path" be that you mentioned? What script should be ran from "twiki/bin director"?

thanks

-- DonStenson - 30 Nov 2006

You can't have two email addresses in the WIKIWEBMASTER setting of TWikiPreferences.

-- DonStenson - 13 Dec 2006

Glad it worked out.

Cause: TWiki tries to send an e-mail to Firstname Lastname <admin1@example.com>; admin2@example.com if you have WIKIWEBMASTER set to admin1@example.com; admin2@example.com.

Solution: List only one address in WIKIWEBMASTER.

-- PeterThoeny - 14 Dec 2006

I filed Bugs:Item3303.

-- PeterThoeny - 14 Dec 2006

Same issue if no email setup in preferences

-- PatrickJolliffe - 01 Jun 2007

 
Change status to:
Topic revision: r9 - 2007-06-01 - PatrickJolliffe
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.