Tags:
create new tag
view all tags

SID-02418: DBCacheContrib installation

Status: Answered Answered TWiki version: 6.1.0 Perl version: 5.022004 (linux)
Category: DBCacheContrib Server OS: Linux 3.13.0-042stab134.8 (x86_64-linux) Last update: 6 years ago

I tried to install DBCacheContrib. First by configure, then from the command-line and manually editing LocalSite.cfg ($TWiki::cfg{Plugins}{DBCacheContrib}{Enabled} = 1;). However, DBCacheContrib is not shown in de Plugin list of configure.

The Twiki log says: "

Can't use 'defined(@array)' (Maybe you should just omit the defined()?) at /var/www/mytwiki.com/twiki/lib/TWiki/Contrib/DBCacheContrib/Array.pm line 266.
Compilation failed in require at /var/www/mytwiki.com/twiki/lib/TWiki/Contrib/DBCacheContrib/Map.pm line 23.
How to solve this?

-- Emiel Van Riel - 2019-10-24

Discussion and Answer

Now my Warn Log says: TWiki::Plugins::DBCacheContrib could not be loaded.  Errors were: Can't locate TWiki/Plugins/DBCacheContrib.pm in @INC (you may need to install the TWiki::Plugins::DBCacheContrib module) (@INC contains:...........

BEGIN failed--compilation aborted at (eval 25) line 1.

-- Emiel Van Riel - 2019-10-24

The first problem can be eliminated by just omitting the defined() as suggested by the error message. This construct is fatal since Perl 5.22, and after a glance at the code I'm pretty sure that this is what the author intended.

As for the second problem, you should just check whether the plugin's files are available at the expected place under the lib directory of your TWiki installation, and if they are, whether they are readable by the web server's user id.

-- Harald Jörg - 2019-10-25

Thank you, Harald. I solved these problems with your advise. All this to to try to install TopicClassificationAddOn extention, which still gives me problems, see SID-02417.

-- Emiel Van Riel - 2019-10-26

-- Emiel Van Riel - 2019-10-26

      Change status to:
ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
SupportForm
Status Answered
Title DBCacheContrib installation
SupportCategory DBCacheContrib
TWiki version 6.1.0
Server OS Linux 3.13.0-042stab134.8 (x86_64-linux)
Web server Apache/2.4.7 (Ubuntu)
Perl version 5.022004 (linux)
Browser & version Firefox Quantum 69.0.3 (64-bits)
Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2019-10-26 - EmielVanRiel
 
  • 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-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.