SID-00393: Many warnings on initPlugin not returning true
| Status: |
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
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.