Question
.Upgrading from Dec 2000 to Sept 2001 (TWiki20011201.zip), in Step 7 of
TWikiUpgradeGuide,
4. Test....
- New URL: http://localhost/cgi-bin/2/view
it gives me error message on top the page:
Software error:
Can't locate Net/SMTP.pm in
@INC
(
@INC
contains: ../lib . /usr/lib/perl5/5.6.0/i386-linux /usr/lib/perl5/5.6.0 /usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl) at ../lib/TWiki/Net.pm line 38.
For help, please send mail to the webmaster, giving this error message and the time and date of the error. Content-Type: text/html
I did not install SMTP or any email server on the linux and do not plan to install. (Corporte IT has the control of NT email servers)
How to go around this "problem".
- TWiki version: Sept (Dec?)2001 (TWiki20011201.zip),
- Web server: Apache
- Server OS: Linux
- Web browser: IE5
- Client OS: NT
--
DonnyKwan - 04 Dec 2001
Answer
Download the latest TWiki 01 Dec 2001. With that you can disable the use of Net::SMTP by specifying an empty string for SMTPMAILHOST in TWikiPreferences. In this case TWiki will use the external mail program defined in TWiki.cfg, which is sendmail by default.
--
PeterThoeny - 05 Dec 2001
I was actually using the the TWiki20011201.zip.
I vi data/TWiki2/TWikiPreference.txt
and change the
*Set SMTPMAILHOST=
But the same error message is still there, http://1.1.1.1/2/view,
in this screen, the error message is on top, and only the top and bottom menu+attachment table appear. The other content/topics, which appear in http://1.1.1.1, are missing.
Perl v5.6.0 and i am still in Step 7, item 4...
--
DonnyKwan - 06 Dec 2001
Should I go ahead the remaining steps disregard the error message?
--
DonnyKwan - 03 Jan 2002
Has anyone succesfully upgraded from Dec 2000 to Dec 2001 without any mailhost set in the webserver? Would like to learn the tricks how to complete the upgrade. Thanks
--
DonnyKwan - 04 Jan 2002
You need to install Net:SMTP or use the external sendmail program to send mail from the TWiki server. See details in
TWikiSiteTools. In case you want to disable mail you could set an empty
SMTPMAILHOST preference and specify the null device in
$mailProgram of
TWiki.cfg.
--
PeterThoeny - 05 Jan 2002