Tags:
create new tag
, view all tags

Question

I'm stuck on the config page (configure.pl). It's throwing up this error and I've gone over it and over it and can't find an issue:

TWiki.cfg is unreadable or has a configuration problem that is causing a Perl error - the following message(s) should help locate the problem. require failed: No such file or directoryCan't locate TWiki.cfg in @INC (@INC contains: ../lib C:/Perl/lib C:/Perl/site/lib .) at (eval 17) line 1.

Here's what i've done so far...

  1. gone through the install docs and whatever i could find that was windows specific
  2. changed the DefaultUrlHost in LocalSite.cfg to "http://wiki" (running on a LAN)
  3. Twiki is installed at http://wiki/twiki
  4. all paths changed (in LocalSite.cfg and LocalLib.cfg) to '/twiki/[bin | lib | etc]'
  5. ".pl" extensions added to everything in "/twiki/bin" (except config files)
  6. $cfg{ScriptSuffix} = '.pl'; in Twiki.cfg
  7. whole twiki folder (incl files and subfolders) hace read-only turned off
  8. whole twiki folder (in IIS) is checked for "write access"
  9. replaced perl path (top of .pl files in /twiki/bin) with #!C:/Perl/Bin/Perl.exe -wT

it's not giving me any love yet though... Is there something obvious i'm missing?

Environment

TWiki version: TWikiRelease04x00x05
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Win2k Server
Web server: IIS6
Perl version: ActiveState 5.8.8.817
Client OS: XP Pro SP2
Web Browser: IE6 / Firefox
Categories: Installation

-- ChrisCarey - 14 Nov 2006

Answer

ALERT! If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.

I am not familiar with Windows setup. A relative ../lib path in @INC suggests that the bin/LocalLib.cfg is not set properly. Make sure to set it to an absolute path.

-- PeterThoeny - 14 Nov 2006

I guess you solved your problem using Peter's advice, so I'm closing this.

-- CrawfordCurrie - 16 Dec 2006

 
Change status to:
Topic revision: r3 - 2006-12-16 - CrawfordCurrie
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, 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.