Question
I am trying to install a new plugin
DirectedGraphPlugin to twiki v 1:4.0.5-9.1. I am getting "user is not authenticated page even if i enter correct twiki user name and password...
What could be the problem?
::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://MyTwikiSite.com';
$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{Sessions}{Dir} = '/tmp/twiki';
$TWiki::cfg{PassthroughDir} = '/tmp/twiki';
$TWiki::cfg{Site}{CharSet} = 'iso-8859-15';
$TWiki::cfg{LoginManager} = 'TWiki::Client::ApacheLogin';
$TWiki::cfg{Plugins}{WysiwygPlugin}{Enabled} = 1;
1;
Plugins: could not fully register DirectedGraphPlugin, no plugin topic
TWiki::Plugins::DirectedGraphPlugin could not be loaded. Errors were:
Can't locate TWiki/Plugins/DirectedGraphPlugin.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 39) line 1.
BEGIN failed--compilation aborted at (eval 39) line 1.
/var/www/twiki/lib/TWiki/Plugins/DirectedGraphPlugin.pm
- The rest of the plugins are here: /usr/share/perl5/TWiki/Plugins/
Environment
--
SergeiPushnof - 10 Oct 2007
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.
The resolution seems to be simple: INC environment variable needs to be changed to have this path: /var/www/twiki/lib/TWiki/Plugins/ added if it is not there already. I guess plugin installer should handle this.
--
SergeiPushnof - 10 Oct 2007