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.
- what could the problem be ?
- when the user clicks the submit button, what is the order of the steps required to create a user/topic ?
Environment
--
CharlesKingsley - 24 Apr 2008
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.
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