Question
I am trying to configure TWiki on Apache, but when I try to register as a user I get the following error:
Can't locate Net/LocalCfg.pm in @INC (@INC contains: ../lib . ... at .../Net/Config.pm line 11.
It manages to get through the registration process up to and including writing the log file entry (it also updates .htpaccess, adds the user to the user list and sends an email).
I have added the extra material to my .htaccess file and my httpd.conf file from
ApachePasswords and
TWikiOnWindowsUsingApache. I also added a USER variable, but that didn't help either.
- TWiki version: 01 Dec 2001
- Web server: Apache
- Server OS: SunOS
- Web browser: IE5
- Client OS: NT4
--
MartinEllison - 09 Apr 2002
Answer
OK, I disabled the % SMTPMAILHOST % variable (set it to nothing). That made the problem go away.
--
MartinEllison - 09 Apr 2002
Sounds like it was trying to use Net::SMTP, but this package had not been configured through the CPAN tool.
--
RichardDonkin - 09 Apr 2002