Tags:
create new tag
view all tags

SID-00393: Many warnings on initPlugin not returning true

Status: Answered Answered TWiki version: 4.3.1 Perl version: 5.8.8
Category: CategoryPlugins Server OS: Solaris 9 Last update: 16 years ago

My warning logs contain thousands of messages of the form

TWiki::Plugins::TWikiNetSkinPlugin::initPlugin did not return true

Searching on this has proved... interesting. The code refers to NetSkin; the documentation (and the category list for this support question) refers to NatSkin (a instead of e).

I checked the code; I am not getting a version mismatch warning, so I assume this means that getSkin() is not returning a string containing 'twikinet', or isAllowed() is returning false. I don't understand what the latter function is doing. And I don't follow what's going on with $epidermis in the other function. But I can tell from Google that this warning is happening to some other people. How do I fix it?

This line from LocalSite.cfg may be relevant:

$TWiki::cfg{Plugins}{TWikiNetSkinPlugin}{Enabled} = 1;

-- PeterScott - 2009-06-30

Discussion and Answer

This is actually spec of the TWikiNetSkinPlugin: It turns itself off for performance reasons unless the TWikiNetSkin is enabled. Unfortunately this results in many log entries.

File a feature request if you have a good idea on how to handle this case in the core code.

-- PeterThoeny - 2009-07-01

      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 Many warnings on initPlugin not returning true
SupportCategory CategoryPlugins
TWiki version 4.3.1
Server OS Solaris 9
Web server Apache/1.3.41 (Unix)
Perl version 5.8.8
Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2009-07-01 - PeterThoeny
 
  • 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.