Tags:
create new tag
view all tags

Question

Hi,

User registration has always been a little flaky on my server but now I'm only getting "Internet Explorer cannot display the webpage" after pressing on the "Submit" button. The users are not getting the confirmation email either.

The accounts are not being created in .htpasswd either.

  1. what could the problem be ?
  2. when the user clicks the submit button, what is the order of the steps required to create a user/topic ?

Environment

TWiki version: TWikiRelease04x02x00
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: RedHat
Web server: Apache
Perl version:  
Client OS:  
Web Browser:  
Categories: Registration

-- CharlesKingsley - 24 Apr 2008

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.

I just noticed that there is an entry in /data/RegistrationApprovals for the user that tried to register. Would it be a problem with the outgoing mail then ?

At which point does the entry in .htpasswd get created ?

-- CharlesKingsley - 24 Apr 2008

So i manually typed the URL using

https://mywiki//twiki/bin/register.cgi?action=verify;code=UserName.454438

where UserName.454438 is the name of the file in /data/RegistrationApprovals

The entry /data/RegistrationApprovals disappears but Internet Explorer returns an empty page.

Tried the same with another user but this time I'm using Firefox. Entry in /data/RegistrationApprovals disappears but at least Firefox returns an error:

Warning: Could not send confirmation email

ERROR: Exit code 17152 from TWiki::cfg{MailProgram} at /usr/lib/perl5/5.8.8/CGI/Carp.pm line 314. at /usr/lib/perl5/5.8.8/CGI/Carp.pm line 314

Great!

-- CharlesKingsley - 24 Apr 2008

Found this article: CantSendMailUsingNet

I reconfigured twiki to use net::smtp instead of sendmail and it's working again. I updated Perl a while back and net::smtp must have installed.

-- CharlesKingsley - 24 Apr 2008

Make sure you have perl Net::SMTP installed

> sudo perl -MCPAN -eshell
force install Net::SMTP

and setup all mail related configurations in the http://localhost/twiki/bin/configure

-- FengZhaolin - 06 Feb 2009

Change status to:
Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r5 - 2009-02-06 - 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.