Question
I am having intermittent problems with perl not being able to find my plugins. On some webs they work ok, but on others they do not.
- TWiki version:
- Web server:
- Server OS:
- Web browser:
- Client OS:
--
JamesHarrison - 25 Jul 2002
Answer
Very possibly caused by this: TWiki uses relative path to searching for required TWiki Perl libs. If TWiki or any plugin changes the default path it cannot find the Plugin. TWiki does that with a search for example.
To fix, apply one of these changes:
- Edit all TWiki scripts and specify an absolute path.
- Do a special loading of the Plugin libs in case it fails with the default lib search. Study the ChartPlugin source, it does that.
--
PeterThoeny - 01 Aug 2002