Tags:
create new tag
, view all tags

Bug: "Uninitialized value" and "undefined subroutine" errors in apache log

After upgrading to the latest alpha I've been getting these errors in my apache log (begins with a restart):

[Wed Apr 30 00:19:25 2003] [notice] Apache/1.3.26 (Unix) Debian GNU/Linux mod_auth_pam/1.1.1 mod_perl/1.26 configured -- resuming normal operations
[Wed Apr 30 00:19:25 2003] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache/suexec)
[Wed Apr 30 00:19:25 2003] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Wed Apr 30 01:12:37 2003] null: Use of uninitialized value in pattern match (m//) at ../lib/TWiki/Prefs.pm line 104.
[Wed Apr 30 01:30:44 2003] testenv: Variable "$setlibAvail" will not stay shared at /var/local/twiki/bin/testenv line 302.
[Wed Apr 30 01:39:13 2003] null: Use of uninitialized value in pattern match (m//) at ../lib/TWiki/Prefs.pm line 104.
[Wed Apr 30 01:39:31 2003] null: Use of uninitialized value in pattern match (m//) at ../lib/TWiki/Prefs.pm line 104.
[Wed Apr 30 02:03:35 2003] [error] [Wed Apr 30 02:03:35 2003] null: Undefined subroutine &TWiki::Plugins::renderFormFieldForEditHandler called at ../lib/TWiki/Form.pm line 263.

The uninit value error happens for every topic action (view, edit, etc.) while the undef sub error occurs when attempting to edit particular topics. One of the "bad" topics is attached (UsefulTools.txt)

The setlibavail error has been happening for a couple of months but it didn't seem serious so I haven't taken the time to document/troubleshoot it.

Environment

TWiki version: alpha 26 April 2003
TWiki plugins: default, interwiki, twikidraw, singleton wikiword, comment
Server OS: debian gnu/linux v3
Web server: Apache/1.3.26 (Unix) Debian GNU/Linux mod_auth_pam/1.1.1 mod_perl/1.26
Perl version: v5.6.1
Client OS: n/a
Web Browser: n/a

-- MattWilkie - 30 Apr 2003

Follow up

Fix record

I've committed a fix to testenv for the $setlibAvail message, thanks for reporting that (mod_perl specific I think). Not sure about the other ones, the Prefs one may be related to the form rendering issue.

-- RichardDonkin - 30 Apr 2003

CVS:lib/TWiki/Prefs.pm is updated in TWikiAlphaRelease.

JohnTalintyre, could you check on the error Undefined subroutine &TWiki::Plugins::renderFormFieldForEditHandler called at ../lib/TWiki/Form.pm line 263. It looks like you forgot to check in the latest TWiki/Plugins.pm module.

-- PeterThoeny - 01 May 2003

Oops, sorry, hadn't meant to upload that part of Form.pm. Have now put up good cut of change to Plugins.pm

-- JohnTalintyre - 01 May 2003

I am marking this old bug as fixed. Please open a new bug in case there are pending issues.

-- PeterThoeny - 23 Jul 2004

Topic attachments
I Attachment History Action Size Date Who Comment
Texttxt UsefulTools.txt r1 manage 3.1 K 2003-04-30 - 16:15 MattWilkie  
Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r6 - 2004-07-23 - WillNorris
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.