Tags:
create new tag
view all tags

Question

Since I upgraded to the latest version of TWiki via APT, I get this error upon requesting any page in the wiki (which is at http://hoteldetective.org/twiki/):

TWiki::Store:: compile failed Can't locate TWiki/Store/.pm in @INC (@INC contains: /etc/twiki . /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl) at (eval 12) line 2. BEGIN failed--compilation aborted at (eval 12) line 2.

Environment

TWiki version: TWikiRelease04x00x05
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Debian
Web server: Apache 1.3.34-4
Perl version: 5.8.8-7
Client OS: Ubuntu, Edgy Eft
Web Browser: Firefox 2.0.0.1
Categories: Fatal error

-- KatieBechtold - 15 Jan 2007

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.

Just a guess: The {StoreImpl} setting in configure (aka LocalSite.cfg) is empty. It should be set to RcsWrap or RcsLite.

-- PeterThoeny - 16 Jan 2007

My LocalSite.cfg doesn't seem to have anything about a {StoreImpl}. Here's the contents of my LocalSite.cfg:

$TWiki::cfg{DataDir} = '/var/lib/twiki/data';
$TWiki::cfg{LogDir} = '/var/lib/twiki/log';
$TWiki::cfg{Site}{Lang} = 'en';
$TWiki::cfg{LocalesDir} = '/var/lib/twiki/locale';
$TWiki::cfg{ScriptUrlPath} = '/cgi-bin/twiki';
$TWiki::cfg{DefaultUrlHost} = 'http://hoteldetective.org/';
$TWiki::cfg{Site}{FullLang} = 'en-us';
$TWiki::cfg{PubUrlPath} = '/twiki/pub';
$TWiki::cfg{PubDir} = '/var/www/twiki/pub';
$TWiki::cfg{TemplateDir} = '/var/lib/twiki/templates';
$TWiki::cfg{Site}{CharSet} = 'iso-8859-15';
$TWiki::cfg{LoginManager} = 'TWiki::Client::ApacheLogin';
$TWiki::cfg{Plugins}{WysiwygPlugin}{Enabled} = 1;

-- KatieBechtold - 16 Jan 2007

TWiki/Store/.pm looks wrong, it should be TWiki/Store/RcsWrap.pm or the like. Run configure and double-check the value of {StoreImpl}. In case you upgrade from a previous TWiki versions you might have some files of old/new version mixed. A complete new re-install usually helps.

-- PeterThoeny - 16 Jan 2007

I'm having trouble running configure -- when I enter my local twiki username and password to be authenticated, it just pops up another authentication window, ad infinitum. If instead of "OK" I click "Cancel" (to register as a new user) I get the error that appears as my original question.

-- KatieBechtold - 16 Jan 2007

In your Apache configuration, remove the authentication of the configure script temporarily. Once your TWiki installation is configured properly and you have registered you can put the auth back in.

-- PeterThoeny - 17 Jan 2007

Okay, I've temporarily disabled authentication and can get to my configure page. I don't see anything about {StoreImpl} there, but I'd appreciate if you'd take a look and see if you can identify any obvious problems.

-- KatieBechtold - 17 Jan 2007

Closing after more than 30 days. Please reopen with more details if needed...

-- PeterThoeny - 02 Mar 2007

Change status to:
Edit | Attach | Watch | Print version | History: r8 < r7 < r6 < r5 < r4 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r8 - 2007-03-02 - PeterThoeny
 
  • 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.