Tags:
create new tag
, view all tags

Question

I followed the instructions and downloaded / unzipped the files. I then found a comment about needing EditContrib. Fair enough -- I installed it as well.

I have also downloaded and installed the "Control.zip" -- even though it's not mentioned as needed anywhere ...

After installation, I get the output below on the InstalledPlugins page.

Clearly something unhappy in Perl-land.

Ideas?

Thanks!

Environment

TWiki version: TWikiRelease04x00x04
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: RedHat Linux ES 3
Web server: Apache
Perl version: 5.8
Client OS: WinXP
Web Browser: IE
Categories: Installation

Here is the specific error text I see in the InstalledPlugins page:

TWiki::Plugins::SectionalEditPlugin could not be loaded.  Errors were: 
Global symbol "$sectiondepth" requires explicit package name at /var/www/twiki/lib/TWiki/Plugins/SectionalEditPlugin.pm line 54.
Global symbol "$editstyle" requires explicit package name at /var/www/twiki/lib/TWiki/Plugins/SectionalEditPlugin.pm line 55.
Global symbol "$editstyle" requires explicit package name at /var/www/twiki/lib/TWiki/Plugins/SectionalEditPlugin.pm line 57.
Global symbol "$placement" requires explicit package name at /var/www/twiki/lib/TWiki/Plugins/SectionalEditPlugin.pm line 58.
Global symbol "$placement" requires explicit package name at /var/www/twiki/lib/TWiki/Plugins/SectionalEditPlugin.pm line 59.
Global symbol "$placement" requires explicit package name at /var/www/twiki/lib/TWiki/Plugins/SectionalEditPlugin.pm line 59.
Global symbol "$placement" requires explicit package name at /var/www/twiki/lib/TWiki/Plugins/SectionalEditPlugin.pm line 61.
Global symbol "$editstyle" requires explicit package name at /var/www/twiki/lib/TWiki/Plugins/SectionalEditPlugin.pm line 75.
Global symbol "$editstyle" requires explicit package name at /var/www/twiki/lib/TWiki/Plugins/SectionalEditPlugin.pm line 89.
Global symbol "$editstyle" requires explicit package name at /var/www/twiki/lib/TWiki/Plugins/SectionalEditPlugin.pm line 99.
Global symbol "$editstyle" requires explicit package name at /var/www/twiki/lib/TWiki/Plugins/SectionalEditPlugin.pm line 100.
Global symbol "$editstyle" requires explicit package name at /var/www/twiki/lib/TWiki/Plugins/SectionalEditPlugin.pm line 109.
Global symbol "$editstyle" requires explicit package name at /var/www/twiki/lib/TWiki/Plugins/SectionalEditPlugin.pm line 121.
Global symbol "$placement" requires explicit package name at /var/www/twiki/lib/TWiki/Plugins/SectionalEditPlugin.pm line 123.
Global symbol "$editstyle" requires explicit package name at /var/www/twiki/lib/TWiki/Plugins/SectionalEditPlugin.pm line 125.
Global symbol "$editstyle" requires explicit package name at /var/www/twiki/lib/TWiki/Plugins/SectionalEditPlugin.pm line 131.
Global symbol "$placement" requires explicit package name at /var/www/twiki/lib/TWiki/Plugins/SectionalEditPlugin.pm line 133.
Global symbol "$editstyle" requires explicit package name at /var/www/twiki/lib/TWiki/Plugins/SectionalEditPlugin.pm line 135.
Global symbol "$editstyle" requires explicit package name at /var/www/twiki/lib/TWiki/Plugins/SectionalEditPlugin.pm line 169.
Global symbol "$sectiondepth" requires explicit package name at /var/www/twiki/lib/TWiki/Plugins/SectionalEditPlugin.pm line 179.
Global symbol "$sec" requires explicit package name at /var/www/twiki/lib/TWiki/Plugins/SectionalEditPlugin.pm line 201.
Global symbol "$sec" requires explicit package name at /var/www/twiki/lib/TWiki/Plugins/SectionalEditPlugin.pm line 202.
Global symbol "$editstyle" requires explicit package name at /var/www/twiki/lib/TWiki/Plugins/SectionalEditPlugin.pm line 210.
Global symbol "$sec" requires explicit package name at /var/www/twiki/lib/TWiki/Plugins/SectionalEditPlugin.pm line 211.
Global symbol "$sec" requires explicit package name at /var/www/twiki/lib/TWiki/Plugins/SectionalEditPlugin.pm line 212.
Global symbol "$editstyle" requires explicit package name at /var/www/twiki/lib/TWiki/Plugins/SectionalEditPlugin.pm line 213.
Global symbol "$sec" requires explicit package name at /var/www/twiki/lib/TWiki/Plugins/SectionalEditPlugin.pm line 216.
Global symbol "$editstyle" requires explicit package name at /var/www/twiki/lib/TWiki/Plugins/SectionalEditPlugin.pm line 217.
Global symbol "$sec" requires explicit package name at /var/www/twiki/lib/TWiki/Plugins/SectionalEditPlugin.pm line 220.
Global symbol "$sec" requires explicit package name at /var/www/twiki/lib/TWiki/Plugins/SectionalEditPlugin.pm line 221.
Global symbol "$editstyle" requires explicit package name at /var/www/twiki/lib/TWiki/Plugins/SectionalEditPlugin.pm line 225.
Compilation failed in require at (eval 36) line 1.
BEGIN failed--compilation aborted at (eval 36) line 1.

I have the latest set of scripts from the plugin page -- Rev 9117 dated 6 Mar 2006 -- and I'm stumped as to why this would happen. I'm running the Perl 5.8.0 that came with Red Hat Linux Enterprise Server 3.0 -- and all the other scripts are good. I can't figure out why this one is suddenly unable to resolve the package correctly.

However, I note that there have been mods to this up to 17 July 2006 but they aren't on the uploaded .ZIP file.

-- BrentRolland - 20 Jul 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.

Problem solved.

The script was obviously bogus. I added all of the symbols to the "vars" declaration and now everything works.

-- BrentRolland - 20 Jul 2006

 
Topic revision: r2 - 2006-07-20 - BrentRolland
 
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.