We relaunched the TWiki.org project with an expanded TWiki charter, and we invite you to participate! The TWiki.org Code of Conduct agreement took effect on 27 Oct 2008. We ask existing twiki.org users to opt-in. You need to opt-in to participate in the Blog, Codev, Plugins and TWiki webs. -- PeterThoeny - 27 Oct 2008
You are here: TWiki> Support Web>TroubleWithPlugins (01 Aug 2002, PeterThoeny)
Tags:
create new tag
, view all tags

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

Topic revision: r2 - 01 Aug 2002 - 07:38:15 - PeterThoeny
 
TWIKI.NET
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback