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

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2002-08-01 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.