Question
I have just run the
BlogPlugin installer on a working TWiki and it is now a non-working TWiki.
Running bin/configure I get the following warnings:
"1. Warning: Save is disabled; Cannot locate LocalSite.cfg. Is your setting for $twikiLibPath correct in bin/LocalLib.cfg?" (which it is.)
2. "require failed: No such file or directoryCan't locate TWiki.cfg in @INC (@INC contains: /var/www/localhost/htdocs/twiki/lib /blah/blah/blah" (the first entry being the correct path).
And the following errors:
1. "TWiki module in @INC path Error: 'TWiki.pm' could not be loaded. The error was:
Can't locate TWiki.pm in @INC (@INC contains: /var/www/localhost/htdocs/twiki/lib /blah/blah/blah" (the first item being the correct path of course.)
2. "Error: Check path to twiki/lib and check that LocalSite.cfg is present and readable" (which it is, although LocalSite.cfg appears to have been updated by the plugin installer -- the diff between the old and new versions is pasted below)
3. "Required Perl modules Error Error: not installed. Required for basic TWiki"
Here are the changes to the LocalSite.cfg:
zebedee lib # diff LocalSite.cfg LocalSite.cfg~
54a55
> $TWiki::cfg{DefaultUrlHost} = 'http://zebedee';
59,62d59
< $TWiki::cfg{Plugins}{WysiwygPlugin}{Enabled} = 1;
< $TWiki::cfg{DefaultUrlHost} = 'http://zebedee';
< $TWiki::cfg{Site}{Locale} = 'C';
< $TWiki::cfg{LoginManager} = 'TWiki::Client::TemplateLogin';
Whaddoido?
Environment
--
RobertPersson - 03 Jul 2006
Answer
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.
Solved. The installer removed read and write permissions from lib and lib/Twiki. Reinstating these got me going again. Bug report filed at
http://develop.twiki.org/~develop/cgi-bin/view/Bugs/Item2576.
--
RobertPersson - 03 Jul 2006