Tags:
create new tag
, view all tags

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

TWiki version: TWikiRelease04x00x05
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin, DirectedGraphPlugin
Server OS: Ubuntu 7.04
Web server: apache 2.2.3-3.2
Perl version: 5.8.8-7
Client OS: Windows XP
Web Browser: Firefox 2
Categories: Plugins

-- SergeiPushnof - 10 Oct 2007

Answer

ALERT! 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

 
Change status to:
Topic revision: r1 - 2007-10-10 - SergeiPushnof
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.