Bug: Can't save edits after installing TWiki20010817beta
Test case
- Install the latest (8/17/01) beta.
- Edit
TWiki.cfg to match site information.
- Pick a page, edit, preview, and try to save.
- In browser, see the following:
Software error:
Can't locate Net/SMTP.pm in
@INC
(
@INC
contains: ../lib . /usr/share/lib/perl5/irix-n32/5.00404 /usr/share/lib/perl5 /usr/share/lib/perl5/site_perl/irix-n32 /usr/share/lib/perl5/site_perl /usr/share/lib/perl5/sgi_perl) at ../lib/TWiki/Net.pm line 38.
Please send mail to this site's webmaster for help. Status: 302 Found Uri:
http://premfg.umi.bhowell.com:58304/twiki-beta/bin/oops/Test/TestTopic2?template=oopssaveerr¶m1=/usr/bin/ci%20-x,v%20-q%20-l%20-m'none'%20-t-none%20-w'guest'%20/msdtools/apache_msdinet/twiki-beta/data/Test/TestTopic2.txt%202%3E%261%201%3E/dev/null%3Cbr%3Esh:%20/usr/bin/ci:%20not%20found%3Cbr%3E
Location:
http://premfg.umi.bhowell.com:58304/twiki-beta/bin/oops/Test/TestTopic2?template=oopssaveerr¶m1=/usr/bin/ci%20-x,v%20-q%20-l%20-m'none'%20-t-none%20-w'guest'%20/msdtools/apache_msdinet/twiki-beta/data/Test/TestTopic2.txt%202%3E%261%201%3E/dev/null%3Cbr%3Esh:%20/usr/bin/ci:%20not%20found%3Cbr%3E
Content-type: text/html
- In Apache log, there is the following error:
[Mon Aug 20 14:13:45 2001] save: Use of uninitialized value at /msdtools/apache_msdinet/twiki-beta/bin//save line 113.
Environment
| TWiki version: |
TWiki20010817beta |
| TWiki plugins: |
None |
| Server OS: |
Irix 6.5 |
| Web server: |
Apache 1.3.9 |
| Perl version: |
5.00404 |
| Client OS: |
Windows NT 4.0 |
| Web Browser: |
Mozilla 0.9.3 |
--
ZachFrey - 20 Aug 2001
I'm not sure if the ref to
SMTP.pm is really relavent, the software can cope with this not being present.
There error appears to be due to
$meta not being defined, it's not obvious how this could happen. The URL appears to be odd, no web or topic between
bin and
save.
I assume you can view and preview a page, can you check the urls all have Web and Topic in them.
--
JohnTalintyre - 23 Aug 2001
Yes, view and preview work just fine, it's only the final save step that generates an error.
I just verified that the URL in the browser window does include the web and topic. So, my real URL is
http://premfg.umi.bhowell.com:58304/twiki-beta/bin/save/Test/TestTopic2, but in the Apache log I see
[Fri Aug 24 08:18:45 2001] save: Name "main::noForm" used only once: possible typo at /msdtools/apache_msdinet/twiki-beta/bin//save line 122.
[Fri Aug 24 08:18:45 2001] save: Name "main::tmpl" used only once: possible typo at /msdtools/apache_msdinet/twiki-beta/bin//save line 112.
Curiouser and curiouser ... the edit is saved after all, even though an error is reported.
--
ZachFrey - 24 Aug 2001
I've just installed the latest beta and I see this error at every page view.
My environment:
| TWiki version: |
TWiki20010817beta |
| TWiki plugins: |
None |
| Server OS: |
Redhat Linux 7.1 |
| Web server: |
Apache 1.3.19 |
| Perl version: |
5.6.0 |
| Client OS: |
Redhat Linux 7.1 |
| Web Browser: |
Mozilla 0.9.1 |
A similar problem looks to have occured in the 20010720 beta - see
SMTPnotWorking.
--
MartinPotter - 26 Aug 2001
Fix record
The SMTP error and the
$meta problem should be fixed in the
TWikiRelease01Dec2001.
--
PeterThoeny - 04 Dec 2001