Question
Under perl
5.8 {
testenv}. Under
More, clicking either of the
rename functions nets me the following error messages in the log. Looks fine in the browser.
[Mon Aug 12 09:12:14 2002] rename: Use of uninitialized value in substitution (s///) at /usr/local/www/twiki/bin/rename line 52.
[Mon Aug 12 09:12:14 2002] rename: Use of uninitialized value in substitution (s///) at /usr/local/www/twiki/bin/rename line 53.
- TWiki version: 03 Aug 2002
- Web server: Apache/1.3.26 (Unix) mod_perl/1.27 mod_ssl/2.8.10 OpenSSL/0.9.6a
- Server OS: FreeBSD 4.6-STABLE
- Web browser: IE 6.0
- Client OS: XP/Home
--
DrewCard - 12 Aug 2002
Answer
Seems like a initialization problem. Could you check with the latest
TWikiAlphaRelease, or apply this patch:
40,41c40,41
< my $newWeb = $query->param( 'newweb' );
< my $newTopic = $query->param( 'newtopic' );
---
> my $newWeb = $query->param( 'newweb' ) || "";
> my $newTopic = $query->param( 'newtopic' ) || "";
--
PeterThoeny - 13 Aug 2002
That did the trick, Thank you!
--
DrewCard - 13 Aug 2002