Tags:
create new tag
view all tags

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

TWiki version: TWikiRelease04x01x02
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Windows 2003 Server
Web server: Apache 1.3.4
Perl version: 5.8.4
Client OS: Windows 2000 or 2003
Web Browser: Internet Explorer 6.0
Categories: Installation, Registration

-- JackMa - 27 Mar 2007

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.

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

Change status to:
Edit | Attach | Watch | Print version | History: r7 < r6 < r5 < r4 < r3 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r7 - 2007-05-02 - SvenDowideit
 
  • 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.