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...
- gone through the install docs and whatever i could find that was windows specific
- changed the DefaultUrlHost in LocalSite.cfg to "http://wiki" (running on a LAN)
- Twiki is installed at http://wiki/twiki
- all paths changed (in LocalSite.cfg and LocalLib.cfg) to '/twiki/[bin | lib | etc]'
- ".pl" extensions added to everything in "/twiki/bin" (except config files)
- $cfg{ScriptSuffix} = '.pl'; in Twiki.cfg
- whole twiki folder (incl files and subfolders) hace read-only turned off
- whole twiki folder (in IIS) is checked for "write access"
- 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
--
ChrisCarey - 14 Nov 2006
Answer
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.
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