Tags:
create new tag
view all tags

Question

I had try to search information as much as possible to solve the following TWiki configuration errots, perhaps I can have some good feedback here:-

On TWiki module in @INC path:-

1. Error: 'TWiki.pm' could not be loaded. The error was: Can't locate TWiki.pm in @INC (@INC contains: ../lib C:/Perl/site/lib C:/Perl/lib .) at (eval 44) line 3.

2. Error: Check path to twiki/lib and check that LocalSite.cfg is present and readable

On Required Perl modules:-

1. Algorithm::Diff - Error: not installed. Required for basic TWiki

Environment

TWiki version: TWikiRelease04x2.0
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: SUSE 10.2
Web server: IIS 6.0
Perl version: ActivePerl 5.8.8 Build 819
Client OS: Windows Server 2003 (Standard)
Web Browser: Internet Explorer, Mozilla Firefox
Categories: Installation

-- KarenPhang - 08 Dec 2006

Answer

ALERT! 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.

Your INC should not contain a relative ../lib path. Copy twiki/bin/LocalLib.cfg.txt to twiki/bin/LocalLib.cfg and change the settings in it to reflect your environment. Make sure the files are readable by your cgi user.

-- PeterThoeny - 08 Dec 2006

Also make sure you correct the other errors. Algorithm::Diff - Error: not installed. Required for basic TWiki

But first fix the LocalLib.cfg and this can sometimes solve other errors.

-- KennethLavrsen - 09 Dec 2006

Where to modify my INC in order not to point to the relative "../lib" path? Do I need to modify Twiki.cfg since there will be a new LocalLib.cfg? Does absolute path means "C:\twiki\lib?" or the path that I created in IIS's virtual directory like this "/lib"? I already installed Algorithm::Diff in cygwin and the status is up to date.

The guifr in Windows+IIS+CygwinPerl Installtion Cookbook doesn't explain detail in what's the appropriate path that I should used in Twiki.cfg. Please give me an example.

-- KarenPhang - 12 Dec 2006

You should never modify TWiki.cfg.

You set this path in LocalLib.cfg. For example,

$twikiLibPath = 'C:\twiki\lib';
You can extend your @INC path in LocalLib.cfg as well, as described in LocalLib.cfg.txt.

-- CrawfordCurrie - 14 Dec 2006

Change status to:
Edit | Attach | Watch | Print version | History: r7 < r6 < r5 < r4 < r3 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r7 - 2008-07-16 - PanHaima
 
  • 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.