• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Testing the potential beta of TWiki 4.1. Finally came through configure and tried to register user.

When you submit the registration page you end up on a "The page cannot be displayed" page. Ie. the register script crashes.

In the data/RegistrationApprovals the file is created from the registration.

Nothing in the apache error log.

TWiki log says

| 08 Nov 2006 - 00:38 | KennethLavrsen | regstart | Main.KennethLavrsen | me@wasvalidaddress.dk | 192.168.1.9 |
(email address distorted)

Sendmail is running on the machine.

I tried to turn off email verification. That did not change anything.

FINALLY FOUND THE ROOT CAUSE.

The WebMasterEmail field is empty per default and this makes the register script stop with no warning or other messages.

This is a candidate in the top five most reported beginner issues.

  • If this field is empty TWiki should simply not send any mails to the WebMaster instead of dying. In the old days things went not as bad because there was the webmaster@exampleNOSPAM.com default in TWikiPreferences. It is right to have moved it to configure but it is one of 200 or more config options so noone see it there either. We could as a work around put webmaster@exampleNOSPAM.com as default.
  • If the field is empty I should get a warning in configure. Just like I get when {SMTP}{MAILHOST} is empty.

KJL

Turned out to be pretty easy to add the check for empty WebMasterEmail field so I added that and checked it in. I think this will eliminate 99% of the issues that we would otherwise have with new installers.

If I took 15 minutes to figure it out (I have installed TWiki at least 200 times) then it would be much worse for a first time installer.

Marked as closed as this was not a 4.0.5 bug

KJL

ItemTemplate
Summary Registration fails on TWiki 4.1 if WebMasterEmail field is blank and this is the default
ReportedBy TWiki:Main.KennethLavrsen
Codebase ~twiki4
SVN Range TWiki-4.1, Sun, 05 Nov 2006, build 11901
AppliesTo Engine
Component

Priority Normal
CurrentState Closed
WaitingFor

Checkins 11925
TargetRelease minor
Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r5 - 2006-11-07 - KennethLavrsen
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback