Question
I'm trying to setup TWiki for our local intranet.
TWiki basic setup was completed and I saw the TWiki main page.
But, I was faced with a problem. User Registration doesn't work properly.
After I filled out the registration form, I clicked the 'Submit' button.
but I saw the message from IE6, "The page cannot be displayed."
Also, /twiki/data/.htpasswd was not created.
Have you ever experienced something like this?
Please advise. Thanks.
Environment
--
JackMa - 27 Mar 2007
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.
What is the authentication you use? Apache?
Check for messages in /var/log/httpd/error_log. Might give us an idea.
--
PraveenKoorse - 27 Mar 2007
I'm using Apache 1.3.4
error.log as follows:
[Thu Mar 29 13:49:30 2007] [notice] cannot use a full URL in a 401
ErrorDocument directive --- ignoring!
[Thu Mar 29 13:49:42 2007] [notice] cannot use a full URL in a 401
ErrorDocument directive --- ignoring!
[Thu Mar 29 13:50:16 2007] [notice] cannot use a full URL in a 401
ErrorDocument directive --- ignoring!
[Thu Mar 29 13:50:18 2007] [error] [client 10.210.1.203] [Thu Mar 29 05:50:17 2007] c:\\twiki\\bin\\register: Can't exec "/usr/sbin/sendmail": No such file or directory at /twiki/lib/TWiki/Net.pm line 281.\n
--
JackMa - 29 Mar 2007
There is apparently something not working with the mail on your server. If the e-mail cannot be sent successfully during registration process (or during a reset password process) you will get this "The page cannot be displayed" error and the .htpasswd file will be in an undefined status (not being created at all is the easiest case). So check with your system administrator why the mail could not be sent successfully. Maybe the apache user is not allowed to send mails or the mail programm failed somehow. Hope this helps (though my experiences with that effect stem from a Solaris 10 server).
--
PaulTavolato - 03 Apr 2007
Are you using cygwin? Usually there is no /usr/bin on windows systems. Either install Net::SMTP (and configure it) or get/find a windows command line mail program. (Such as Blat)
--
JustinLove - 08 Apr 2007
Hi, I met the same problem today. I tried a lot and made these changes. 1. Check my configure to make sure all XXX::XXX are installed (In CGI section). 2. Disable mail function. Then although with some errors, but the registration is OK now. I am dealing with the rest errors.
--
GanGuo - 12 Apr 2007
TWiki has 2 ways it tries to send emails, one is to call the {MailProgram}, or to use Net::SMTP to the {SMTP}{MAILHOST}
these can be changed from the configure script - as Justin says above - configure the first to use blat, or point the second to a mailserver you have available.
--
SvenDowideit - 02 May 2007