We relaunched the TWiki.org project with an expanded TWiki charter, and we invite you to participate! The TWiki.org Code of Conduct agreement took effect on 27 Oct 2008. We ask existing twiki.org users to opt-in. You need to opt-in to participate in the Blog, Codev, Plugins and TWiki webs. -- PeterThoeny - 27 Oct 2008
Tags:
create new tag
, view all tags

Question

error in browser:

Software error:

Can't call method "takeOutBlocks" on an undefined value at /path/to/my/twiki/lib/TWiki.pm line 2463.

Almost exact identical install elsewhere on the same machine works perfectly. TWiki.pm are identical to the latest TWiki4 rel SVN update except for some patches to support %DEFAULTWEB% (my Main web) and %MAINWEB% (my User web, where the users "live".), and some s/=pod=/=pod/g and s/=cut=/=cut/g bits. Both 'TWiki.pm's are the same, everything under lib/twiki/ is identical except for Contrib and Plugins.

I get the same error for the putBackBlocks function.

The logs are just as unhelpful (from my POV), they contain the same errors as stated above.

Environment

TWiki version: TWikiAlphaRelease
TWiki plugins:  
Server OS: Debian/Sid, kernel 2.6.17.x
Web server: Apache 2
Perl version: 5.8.x
Client OS: Debian/Sid
Web Browser: Firefox 1.5
Categories: Fatal error

-- EricCote - 23 Aug 2006

Answer

ALERT! If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.

Without being able to see your TWiki.pm, it's impossible to guess. Try attaching it here. Note that the TWiki.pm at the head of SVN is constantly changing, so you have to give a version number and not just "latest".

-- CrawfordCurrie - 23 Aug 2006

Yeh, duh me :), makes sense. Though further looking suggests it's not TWiki core, but a plugin, I'm in the process of investigating right now.

-- EricCote - 23 Aug 2006

Aha! Seems to be SectionalEditPlugin. I have the one from current SVN (TWiki 4 release repo, $VERSION = '$Rev: 11270 $';). My TWiki.pm has $VERSION = '$Date: 2006-08-21 12:10:32 -0400 (lun, 21 aoû 2006) $ $Rev: 11354 $ '; and $RELEASE = 'TWiki-4.1-beta1';. Last updates must've broken SectionalEditPlugin (i.e., it's borked). All my other plugins that had enabled before the breakage are enabled except for SectionalEditPlugin.

-- EricCote - 23 Aug 2006

I've re-opened it because it's happening with more than one plugin. See LDAPPasswordChangerPluginDev for some notes I left there. They're relevant.

-- EricCote - 25 Aug 2006

One month passed, closing this question as unanswered.

-- PeterThoeny - 01 Oct 2006

 
Change status to:
Topic revision: r5 - 01 Oct 2006 - 08:10:21 - PeterThoeny
 
TWIKI.NET
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback