Tags:
create new tag
view all tags

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

TWiki version: TWikiRelease04x00x02
TWiki plugins: all the dependencies of BlogPlugin, plus a few others
Server OS: Gentoo Linux
Web server: apache 2.0.58
Perl version: 5.8.8-r2
Client OS: MacOS 10.3.something
Web Browser: Opera 9
Categories: Installation, Fatal error, Plugins

-- RobertPersson - 03 Jul 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.

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

Topic revision: r1 - 2006-07-03 - RobertPersson
 
  • 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.