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
--
KatieBechtold - 15 Jan 2007
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.
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