Tags:
create new tag
, view all tags

Question

I tried installing DBCachePlugin with intention of having some sort of Blog format. I installed BlogPlugin, and created a new web based on the _BlogPlugin.
It is not working, and i have installed prerequisites it needed in error logs.
On browser, i am receiving this error message::
%DBCALL{"RenderFrontPage" SKIP=" 0" CAT=".*" AUTHOR=".*"}%

DBCachePlugin causes the following error in apache log, and whole of twiki does not load with "500 internal server error", where on httpd log, the error is::

Undefined subroutine &TWiki::Func::getContext called at /opt/twiki/lib/TWiki/Plugins/DBCachePlugin.pm line 44., referer:

http://myhost/twiki/bin/view. Premature end of script headers: referer: http://myhost.mydomain/twiki/bin/view

If i remove the localization "my" from line #44 of DBCachePlugin, the internal server error goes away...but still nothing is working.
[ 44 my $isScripted = &TWiki::Func::getContext()->{'command_line'}; ]

On /opt/twiki/data/warning.txt...

27 Feb 2006 - 13:11 Plugin "TWiki::Plugins::BlogPlugin" could not be loaded by Perl. Errors were:



Can't locate TWiki/Plugins/BlogPlugin/WebDB.pm in @INC (@INC contains: /opt/twiki/lib . /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0) at /opt/twiki/lib/TWiki/Plugins/BlogPlugin.pm line 24. BEGIN failed--compilation aborted at /opt/twiki/lib/TWiki/Plugins/BlogPlugin.pm line 24.
Compilation failed in require at (eval 17) line 1.
BEGIN failed--compilation aborted at (eval 17) line 1.

27 Feb 2006 - 13:11 Plugin TWiki::Plugins::BlogPlugin iniPlugin did not return true



The plugin it is looking for is there and installed::

ls -lRt BlogPlugin?
BlogPlugin? :
total 40

-rwxr--r-- 1 twiki twiki 5771 Feb 14 14:42 MANIFEST
-rwxr--r-- 1 twiki twiki 610 Feb 14 11:50 DEPENDENCIES
-rwxr--r-- 1 twiki twiki 18536 Feb 14 08:54 Core.pm
-rwxr--r-- 1 twiki twiki 2878 Jan 30 11:19 WebDB? .pm
-rwxr--r-- 1 twiki twiki 337 Oct 13 11:19 build.pl

Any Assitance will be highly appreciated...it seems a few things are not compatible with others here.

Environment

TWiki version: TWikiRelease04Sep2004
TWiki plugins: BlogPlugin, DBCachePlugin, ThreadedDiscussionPlugin
Server OS: redhat ES 3.0
Web server: Apache 2.0.46
Perl version: 5.80
Client OS: Linux, Windows
Web Browser: IE, Mozilla
Categories: Missing functionality, Plugins

-- RichardMollel - 27 Feb 2006

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.

Have you run bin/configure to enable the plguins?

You should also check the TWiki.InstalledPlugins for any other problems and the TWiki.BlogPlugin to make sure you have all the dependencies installed

-- AntonAylward - 28 Feb 2006

The BlogPlugin and the DBCachePlugin you installed are not supported by TWikiRelease04Sep2004. You have to install TWikiRelease04x00x01 to use these plugins.

-- MichaelDaum - 28 Feb 2006

Any idea on what plugins i can use to achieve some sort of blog features....using my current version of TWiki? We just need some sort of a discussion forum...but not using tables. Else i will try the upgrade...since we already have so much content....i hope the upgrade will be flawless between these two versions.

-- RichardMollel - 28 Feb 2006

One low handing fruit version is to simply add a %COMMENT% to the topic, as done here. Another solution is the DiscussionForumAddOn (see DiscussionForumOverview to try iy out)

-- PeterThoeny - 28 Feb 2006

 

Question

I have tried to install this plugin as well. I am having some issue although I'm not sure what it is looking for. I have all dependencies installed according to the documentation. The TWiki.Plugins page shows:

TWiki::Plugins::BlogPlugin could not be loaded. Errors were: Can't locate Time/ParseDate.pm in @INC (@INC contains: /srv/www/teamtools/twiki/lib/CPAN/lib//arch/ /srv/www/teamtools/twiki/lib/CPAN/lib//5.8.3/i586-linux-thread-multi/ /srv/www/teamtools/twiki/lib/CPAN/lib//5.8.3/ /srv/www/teamtools/twiki/lib/CPAN/lib// /srv/www/teamtools/twiki/lib . /usr/lib/perl5/5.8.3/i586-linux-thread-multi /usr/lib/perl5/5.8.3 /usr/lib/perl5/site_perl/5.8.3/i586-linux-thread-multi /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.3/i586-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl) at /srv/www/teamtools/twiki/lib/TWiki/Contrib/DBCacheContrib/Search.pm line 7.

Thanks for any help offered.

-- JamesGolden - 28 Mar 2006

Please have a look at the CPAN dependencies of the DBCacheContrib. You need the perl modules Time::ParseDate and Storable.

-- MichaelDaum - 28 Mar 2006

If you get the "Can't locate Time/ParseDate.pm in @INC" error, you need to install this Perl library. To install ParseDate.pm in Debian, issue the following command as root:

# apt-get install libtime-modules-perl
-- HughVarange - 05 Nov 2007
Topic revision: r8 - 05 Nov 2007 - 22:35:52 - HughVarange
 
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback