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 - 2002-08-01 - PeterThoeny
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by PerlIdeas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.