You are here: TWiki> Support Web>SupportForum>SID-00393 (2009-07-01, PeterThoeny)
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: 8 month 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 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.
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
Topic revision: r3 - 2009-07-01 - 05:17:02 - PeterThoeny
 

Support

share: Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon
Twiki, Inc.
This site is powered by the TWiki collaboration platform
Ideas, requests, problems regarding TWiki? Send feedback
Copyright © 1999-2010 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.