Tags:
create new tag
, view all tags

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

Topic attachments
I Attachment Action Size Date Who Comment
Unknown file formatcfg TWiki.cfg manage 17.4 K 2002-08-12 - 13:33 DrewCard Live TWiki.cfg
Topic revision: r3 - 2002-08-13 - DrewCard
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.