This question about Installation of extension: Answered

Update broke Foswiki Installation

The update of the Plugin over the /bin/configure gave me the follwoing error:

Error: Installer returned errors:

Could not load /var/syscp/webs/eps/foswiki/tools/ There was a compile error: Undefined subroutine &Foswiki::Func::addToZone called at /var/syscp/webs/eps/foswiki/lib/Foswiki/Plugins/ line 38. BEGIN failed--compilation aborted at /var/syscp/webs/eps/foswiki/tools/ line 147.

Error when trying to eval the file content: This installer must be run from the root directory of a Foswiki installation at (eval 187) line 112. BEGIN failed--compilation aborted at (eval 187) line 147.

You may be able to resolve these errors and complete the installation from the command line, so I will leave the installed files where they are.

I get the same if I call "perl ./EditChapterPlugin_installer" in the command line. If I open the website I get the follwing message:

Undefined subroutine &Foswiki::Func::addToZone called at /var/syscp/webs/eps/foswiki/lib/Foswiki/Plugins/ line 38. at /var/syscp/webs/eps/foswiki/lib/Foswiki/Plugins/ line 38 Foswiki::Plugins::EditChapterPlugin::initPlugin('WebHome', 'Main', 'admin', 'System') called at /var/syscp/webs/eps/foswiki/lib/Foswiki/ line 231 Foswiki::Plugin::registerHandlers('Foswiki::Plugin=HASH(0x2d3ad68)', 'Foswiki::Plugins=HASH(0x25c8d00)') called at /var/syscp/webs/eps/foswiki/lib/Foswiki/ line 244 Foswiki::Plugins::enable('Foswiki::Plugins=HASH(0x25c8d00)') called at /var/syscp/webs/eps/foswiki/lib/ line 1628 Foswiki::new('Foswiki', undef, 'Foswiki::Request=HASH(0x25c8fb8)', 'HASH(0x25a4fb8)') called at /var/syscp/webs/eps/foswiki/lib/Foswiki/ line 293 Foswiki::UI::_execute('Foswiki::Request=HASH(0x25c8fb8)', 'CODE(0x25c8970)', 'view', 1) called at /var/syscp/webs/eps/foswiki/lib/Foswiki/ line 275 Foswiki::UI::handleRequest('Foswiki::Request=HASH(0x25c8fb8)') called at /var/syscp/webs/eps/foswiki/lib/Foswiki/Engine/ line 29 Foswiki::Engine::CGI::run('Foswiki::Engine::CGI=HASH(0x23dc1c8)') called at view line 45

Any Ideas what I could do to fix this?


-- JohannesHammersen - 13 Feb 2010

Michael added a new dependency for this and many of his other plugins. Please install ZonePlugin and try again. (In addition there might be a bug with bin/configure which needs to be addressed by the developers.)

-- OliverKrueger - 13 Feb 2010

The ZonePlugin must be enabled in bin/configure Plugins as well. If it is not enabled, the modules are not loaded and bin/configure installer, as well as the shell installer will be broken due to the missing function.

-- GeorgeClark - 13 Feb 2010

QuestionForm edit

Subject Installation of extension
Extension EditChapterPlugin
Version Foswiki 1.0.9
Status Answered
Topic revision: r4 - 13 Feb 2010, GeorgeClark - This page was cached on 13 Jan 2018 - 09:06.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License