blogging2Add my vote for this tag create new tag
, view all tags

BlogPluginDev Discussion: Page for developer collaboration, enhancement requests, patches and improved versions on BlogPlugin contributed by the TWikiCommunity.
• Please let us know what you think of this extension.
• For support, check the existing questions, or ask a new support question in the Support web!
• Please report bugs below
• See BlogPluginDevArchive for older discussions.

Discussion forum for the BlogPlugin

Have a look at the BlogPluginDevArchive for former discussions on the BlogPlugin

Feature Requests


MartinCleaver: as the world is going blog crazy and blog standards such as pingback becoming standard, this would be a core differentiator that would firmly hook twiki into the blog craze

MichaelDaum: and the pingback should send a ping to technorati on every new posting
MichaelDaum: pingback would be great for wikis too!
MartinRowe left the room (quit: "time to go...").
MartinCleaver: oh I didn't know that
MichaelDaum: it's about notification ... so that'd be great to have pingable topics in a wiki
MichaelDaum: even internally as a backlink mechanism
MartinCleaver: can you explain how it works
MichaelDaum: you send an xmlrpc call that has a source and a target address
MichaelDaum: to add a ping server add something like Header add X-Pingback "http:/...foo/cgi-bin/pingback/server.pl to your htaccess
MichaelDaum: or add it to the html header directly ... or both
MichaelDaum: the latter is more flexible to make individual topics pingable

MichaelDaum: then a PINGBACK tag is needed to access and insert the citation
MartinCleaver: is there a generic trackback/pingback CPAN library?

MartinCleaver: jotspot does pingback it seems
MartinCleaver: thanks Michael
MartinCleaver: http://search.cpan.org/~nikolay/Net-Akismet/lib/Net/Akismet.pm
MartinCleaver: http://www.timaoutloud.org/archives/000198.html
MartinCleaver: http://www.timaoutloud.org/archives/000191.html
MartinCleaver: (XML::TrackBack - A Perl Module.)
MichaelDaum: greaat
MartinCleaver: http://search.cpan.org/search?query=trackback&mode=all
MichaelDaum: can you put that somewhere on codev
MichaelDaum: I will outline my 2c about pingback asap

MichaelDaum: the server then stores the ping request and lools back in an hour+random to see if source is really linking to target (spam check)
MichaelDaum: (I hope so)
MichaelDaum: so a ping request goes thru states til it is accepted
MichaelDaum: looking back for the href in the source should be able to grab the surrounding paragraph to generate the citation text containing the href

MartinCleaver: sounds like workflow
mofino: CDot, that's correct.
MichaelDaum: basically that's it

MartinCleaver: http://search.cpan.org/~nikolay/Net-Akismet/lib/Net/Akismet.pm
MartinCleaver: http://www.timaoutloud.org/archives/000198.html
MartinCleaver: http://www.timaoutloud.org/archives/000191.html
MartinCleaver: (XML::TrackBack - A Perl Module.)
MichaelDaum: greaat
MartinCleaver: http://search.cpan.org/search?query=trackback&mode=all
MichaelDaum: can you put that somewhere on codev

MichaelDaum: I will outline my 2c about pingback asap


-- MartinCleaver - 03 Mar 2006

See also TrackBack

-- MartinCleaver - 14 Mar 2006

I learnt at http://www.meshconference.com/ that TrackBack can cause a lot of trouble with link spam, and with that, trackback is a lot lower on my request list.

-- MartinCleaver - 16 May 2006

Can this Plugin be enhanced by a calendar like in Livejournal?

-- FranzJosefSilli - 25 Apr 2006

PerformancingForFirefox plugin

With Dakar's inherent REST functionality, how much would need to be written to get PerformancingForFirefox to post to TWiki's BlogPlugin?

-- MartinCleaver - 17 May 2006

Well, I don't know how hard that'd be. I haven't looked at the MetaWebLogApi so far. And I am not sure if REST is appropriate for that. There are at least three client/server perl implementations that'd need to be surveyed too.

Moreover, there is always the question if this bloggistanian technique can be of use for wikis in general.

Same holds for PingBack and TrackBack.

-- MichaelDaum - 17 May 2006

TWiki04 already has a REST implementation (see the rest script) that, sadly, haven't got to document fully yet. IIRC, SvenDowideit is toying with it, using some AJAX framework to do the call.

-- RafaelAlvarez - 17 May 2006

REST is nice but only the minor part of it involving the pingback server. Infact only if Bugs:Item2362 gets fixed this is of any use at all.

-- MichaelDaum - 27 May 2006

Local BlogAdminGroup/BlogAuthorGroup?

Hi, I'm creating a personal blog for each user and so I'll like local BlogAdminGroup and BlogAuthorGroup in each blog (subweb) instead of global ones in the Main web. What's the best way to do this? I'm thinking of editing the access control settings of the files in _BlogPlugin template.

-- JamesTan - 22 May 2006

A simple answer would be to just put every user with a blog into the same BlogAuthorGroup. Creating one group per blog is a bit of work and the possible added value questionable. You don't have to be afraid that bloggers on the same TWiki -- already being authenticated to it -- go wild and start a wiki war.

-- MichaelDaum - 25 May 2006

We want personal blogs to be, well, personal so we can't have them in the same BlogAuthorGroup. We've gone ahead to create two groups (i.e. MyBlogAdminGroup and MyBlogAuthorGroup) for each blog and changed all the links in that blog accordingly. It's a bit of work but nothing a simple shell script can't handle.

-- JamesTan - 27 May 2006

This is a missing feature, infact. The BlogFactory code should be enhanced to optionally create a custom BlogAuthorGroup in addition to the blog web.

-- MichaelDaum - 12 Dec 2006

I have a similar setup. 3 blogs (2 are personal, 1 is group blog). I am using LDAP groups to define access. The problem I have now, is that normal users (not in the BlogAuthor or BlogAdmin groups) can't create comments on the blog entries. How can I open comments to a certain group? Thanks!

-- RyanBoyles - 22 Aug 2007

RSS feeds by category

I have a user who wants to publish an RSS feed for each blog category. With the "normal" TWiki WebRss topic, I can append ?search=Category or something similar. The Blog WebRss topic doesn't allow this. Another solution is to build a search (perhaps in an alternative WebRss topic and skin it for RSS), which works in "normal" TWiki webs. This sort of works but $summary is empty of course, and using $formfield(Text) for the blog content renders unformatted text without images etc.

I'm not familiar with DBCache - can it be made to do this sort of thing (basically RSS from searches, or at lease from categories), or is what I'm looking for a "feature request"?

-- MarcusLeonard - 04 Nov 2006

Bug reports

Please, do use the bug tracker at Bugs:BlogPlugin to create a new bug item.

"ERROR: DBCALL access to 'WebLog.RenderAuthorTools' denied".

I cannot see the blog author tools. When I access the RenderAuthorTools page, I saw an error "ERROR: DBCALL access to 'WebLog.RenderAuthorTools' denied". What's wrong? But I can see the RenderNewBlogEntryButton if I access this page directly.

* access RenderAuthorTools:

-- ZhengLingxiang - 10 Apr 2006

It probably caused by the login name. Even if users added to the BlogAuthorGroup, Only the users who login with the WikiName can saw the blog author tools. If the users login with their login ID, they cannot saw them. Is it a bug of BlogPlugin or twiki?

-- ZhengLingxiang - 10 Apr 2006

Insecure dependency error

I am not able to create "New Post". I received this error message "Insecure dependency in eval while running with -T switch", when i save the topic. I am using TWiki 4.0.4.

-- KyawTun - 19 Aug 2006

Most probably this is not related to the BlogPlugin. Can you create an arbitrary new topic without getting an error? Disable all non-standard plugins and try again.

I've seen that on several perl installations that seem to have buggy locale support. Try to disable LocaleRegexes in configure.

If this still fails could you paste in here the detailed traceback produced in your server's error log file.

-- MichaelDaum - 21 Aug 2006

I too got the same error when I was trying to configure the BlogPlugin. I have installed all the dependent Plugins and Perl modules. I have Twiki 4.05 and Perl 5.8.5. I am running this on Linux (Red Hat Enterprise Linux ES release 4 (Nahant)) with Apache server. I got the following error in the error logs of Apache as well as twiki log files "Insecure dependency in eval while running with -T switch at /var/www/twiki/lib/TWiki/Plugins/SpreadSheetPlugin/Calc.pm line 918.". When I disabled the SpreadSheetPlugin I was able to create new Posting in the Blog but I was not able to reply to the message posted as the hidden field variable 'Nr' was not getting evaluated by the CALC procedure. I also disabled LocaleRegexes in configure but no luck.

-- PramodKumar - 11 Dec 2006

I have set the "useLocale" flag to ON, even there is warning suggest to trun it off. Then the problem didn't appear again

-- WongWei - 08 Jan 2007

Wong, your suggestion worked for me as well. Thanks...

-- JohnEdson - 07 Feb 2007

Where do I go to change useLocale flag to ON, in admintool for blog or in configure?

-- StephenGarriques - 01 Sep 2007

In configure

-- MichaelDaum - 02 Sep 2007

Alright The blog started working but when I try to add a new blog or add a new post I get a 500 internal server error

-- StephenGarriques - 03 Sep 2007

Stephen, check your apache log, make sure that LogLevel is on debug. Chances are, you need to run the SettingFileAccessRightsLinuxUnix script to get the file permissions/ownership correct.

-- KwangErnLiew - 04 Sep 2007

Error in RenderNextCommentNr

Yeah, worked for me as well. However in the course of getting to the bottom of this I discovered a strange line in the RenderNextCommentNr

It currently reads

~~~    header="$percntCALC{\"$EVAL($count+1)\"}$percnt$n*~~"

but think it should read something like this

~~~    header="$percntCALC{\"$EVAL($count+1)\"}$percnt$n"

I don't fully understand the command but in this way the output is just a number which it is suppposed to be and the Comment templates do not have a strange line on top of the input boxes that should rather not be there (if understand the logic of the code correctly).

Could somebody please confirm? Am also wondering about the $n which does not seem to be doing much.

-- RalfMartin - 10 Feb 2007

The fix is perfect. I just did not package a new BlogPlugin version because there are lots of new things coming up that are not yet settled.

-- MichaelDaum - 10 Feb 2007

Same issue here: I traced the DBCALL output to this, and got:


Which was upsetting the rendering of the hidden control for this.

Changing the line above to


Seems to work perfectly (don't think the $n - new line - is required either, and that was causing the spurious
in the output I believe.

-- SteveBayliss - 01 Oct 2007

I still got the same error till I removed the backslashes.

-- RalphEllison - 28 Nov 2007

I have tried every combination described in this thread and comments still do not display properly. Specifically if there are more than one comments, the header of the first is not properly formatted; it reads something like:

%CALC{ %CALC{ "NeilSaunders   replied -14 hours, -14 minutes 
whereas the second comment header reads:
2 NeilSaunders   replied -12 hours, -18 minutes 
In addition, I had to change the plugin order in configure so that IfDefined precedes Spreadsheet, to get the post title to display properly.

I would like to see the complete text of a working RenderNextCommentNr.txt file if anyone has it.

-- NeilFSaunders - 19 Dec 2007

Support Question


How do I install BlogPlugin? The installer doesn't work for me.

-- ArthurClemens - 18 Nov 2006

I know. For now you simply have to ignore the installer script and download and unpack each plugin this one depends on by hand. I am not ready to build a new BlogPlugin using the fixed BuildContrib as the new version still needs testing, i.e. it will depend on the new TWikiWorkbench framework which in itself needs more docu and packaging.

-- MichaelDaum - 19 Nov 2006

I have installed BlogPlugin with all other required packages. Now when i runinstaller perl script, It finds all required packages successfully but halts at

Checking dependency on TWiki::Plugins::ImagePlugin.... Fetching the archive for TWiki::Plugins::BlogPlugin.

Can someone help me in finding problem with this?

-- AmitKkumar - 27 Feb 2007

Hey is there any update on when/if this plugin will updated for TWiki 4.1 with a new installation package??

-- JohnCavanaugh - 25 Mar 2007

Sorry, not yet. The blogplugin I am working on is a major rewrite in certain respects that is expected to be released mid/end of April.

-- MichaelDaum - 26 Mar 2007

any news on the new release?

-- RyanBoyles - 04 Sep 2007

Hello, i'm getting the following error on adding a new (first) BlogPost after installation:

Can't use string ("29%20Jan%202008%20-%2010:07:%20N") as an ARRAY ref while "strict refs" in use

I suppose this occured due to buggy installation or configuration by me, but i have no idea what went wrong. Any suggestions, why this error occurs? (btw: i installed and activatede all plugins metioned under dependencies)

Thx, Sebastian

-- SebastianRoekens - 29 Jan 2008

Hi, I am getting the same error as Sebastian...

Can't use string ("30%20Jan%202008%20-%2017:17:%20N") as an ARRAY ref while "strict refs" in use at /var/www/twiki/lib/TWiki/Plugins/ExtendedSelectPlugin.pm line 48.

I had BlogPlugin working with TWiki V4.1.2 but upgraded to V4.2 and now have this error when i try create a new post.

All the required dependencies are listed as installed in TWiki/Plugins.

Any ideas...?

Thanks, Damien

-- DamienHogan - 30 Jan 2008

I am using 4.2.0

every plugin but NatSkin is working ok

BlogFactory returns error 500 in apache: "Premature end of script headers: rest"

Apache2 error log: ----------------------------------------- Thu Mar 20 13:47:53 2008] [error] [client] client denied by server configuration: /BlogPlugin, referer: /wiki/bin/view/TWiki/BlogFactory [Thu Mar 20 13:47:53 2008] [error] [client] Can't locate object method "isAdmin" via package "BaseUserMapping_333" (perhaps you forgot to load "BaseUserMapping_333"?) at /wiki/lib/TWiki/Plugins/BlogPlugin/Factory.pm line 78., referer: /wiki/bin/view/TWiki/BlogFactory [Thu Mar 20 13:47:53 2008] [error] [client] at wiki/lib/TWiki/Plugins/BlogPlugin/Factory.pm line 78, referer: wiki/bin/view/TWiki/BlogFactory [Thu Mar 20 13:47:53 2008] [error] [client] \tTWiki::Plugins::BlogPlugin::Factory::handleCreateBlog('TWiki::Plugins::BlogPlugin::Factory=HASH(0x8bf12f0)', 'TWiki=HASH(0x84b7ef0)', 'BlogPlugin', 'createblog') called at /wiki/lib/TWiki/Plugins/BlogPlugin.pm line 70, referer: /wiki/bin/view/TWiki/BlogFactory [Thu Mar 20 13:47:53 2008] [error] [client] \tTWiki::Plugins::BlogPlugin::handleCreateBlog('TWiki=HASH(0x84b7ef0)', 'BlogPlugin', 'createblog') called at /wiki/lib/TWiki/Func.pm line 2297, referer: /wiki/bin/view/TWiki/BlogFactory [Thu Mar 20 13:47:53 2008] [error] [client] \tTWiki::Func::__ANON__('TWiki=HASH(0x84b7ef0)', 'BlogPlugin', 'createblog') called at wiki/bin/rest line 174, referer: /wiki/bin/view/TWiki/BlogFactory [Thu Mar 20 13:47:53 2008] [error] [client] Premature end of script headers: rest, referer: /wiki/bin/view/TWiki/BlogFactory

executing rest in console gives:

/wiki/bin # ./rest BlogPlugin/createblog Can't locate object method "isAdmin" via package "BaseUserMapping_666" (perhaps you forgot to load "BaseUserMapping_666"?) at /wiki/lib/TWiki/Plugins/BlogPlugin/Factory.pm line 78. at wiki/lib/TWiki/Plugins/BlogPlugin/Factory.pm line 78

TWiki::Plugins::BlogPlugin::Factory::handleCreateBlog('TWiki::Plugins::BlogPlugin::Factory=HASH(0x8b20708)', 'TWiki=HASH(0x84bec24)', 'BlogPlugin', 'createblog') called at /wiki/lib/TWiki/Plugins/BlogPlugin.pm line 70 TWiki::Plugins::BlogPlugin::handleCreateBlog('TWiki=HASH(0x84bec24)', 'BlogPlugin', 'createblog') called at /home/egob/wiki/lib/TWiki/Func.pm line 2297 TWiki::Func::__ANON__('TWiki=HASH(0x84bec24)', 'BlogPlugin', 'createblog') called at ./rest line 174 /wiki/bin #

do you have any advice?

-- DiegoSaravia - 20 Mar 2008

Is there any news on the compatibility of the blogplugin with Twiki 4.2 or later?

Is there any fixes needed for getting the blogplugin to work with twiki 4.2?

I installed the blogplugin and dependencies (manually) but when I go to the blogfactory and try to create a new blog I just get a blank screen at ../rest/BlogPlugin/createblog.

-- JohsDolb - 23 Sep 2008

I got past the blank screen by applying the blogplugin _v420_patch.txt as mentioned in a comment further below. I updated the /twiki/lib/twiki/plugins/blogplugin/factory.pm file, so the "check permission" part now looks like:

# check permission, user authorized to create webs?

my $is_admin;

if ($TWiki::Plugins::VERSION >= 1.2) {

$is_admin = TWiki::Func::isAnAdmin( $user );

} else {

$is_admin = $session->{user}->isAdmin();

} unless($is_admin) {

throw TWiki::OopsException(


def => 'topic_access', web => $webName, topic => $topicName, params =>

[ 'MANAGE', $session->{i18n}->maketext('access not allowed on web') ] );


If there is a smarter way of applying patches than doing a manual edit, please let me know smile

-- JohsDolb - 23 Sep 2008

After having installed a blog I ran into the following when trying to create a new post:

TWiki detected an internal error - please check your TWiki logs and webserver logs for more information.

Can't locate Imagepath in @INC (@INC contains: path ... etc

I solved this using this page: http://twiki.org/cgi-bin/view/Support/HowToInstallImageMagickOnRedHat

and now everything works (seemingly) !

-- JohsDolb - 23 Sep 2008

Blog setups

Nice package, but I have a question (documentation is weak in this area).

If a Blog is defined as a set of submissions by an author, is it intended that a separate Web or SubWeb should be created for each Blog? Or, is it intended for a number of authors to have separate threads within a single Blog Web? The BlogAuthors list appears to give authors free reign across the site -- correct?

-- RaymondLutz - 28 Nov 2006

The BlogPlugin allows to setup single-authored as well as multi-authored blogs. If you have one author that wants to write into a blog of his/her own, then just create a blog in a web of its own. He/She will have exclusive write access to it (besides registered users being able to comment). A multi-authored blog is one where multiple authors write into a single blog. Create a single blog, associate it with a TWikiGroup, e.g. BlogAuthorGroup, and add a couple of authors to that group. Nevertheless, you may list all postings of the distinct authors in such a blog by creating BlogAuthor pages. All authors in a multi-authored blog will share the same set of categories, tags, look&feel, blogroll, technorati claim code etc. I.e. they share write access to their postings and are able to read unpublished postings of each other. This is useful for reviewing postings before putting them online.

-- MichaelDaum - 03 Dec 2006

It may help others to know that you must have a topic in the web for each author, not just an entry in Main.BlogAuthorGroup. Getting to the functions of the Blog took me several days of experimenting. To create the author's topic, the BlogAuthor topic will provide an [Add Author] button only if logged-in when viewing the topic, and probably if the user is also defined in the Main.BlogAuthorGroup. Once that author's topic is defined, then it is possible to add a Blog Entry, for example, which will be provided in a list of functions on the Author's topic. (I hope I'm starting to understand this...)

The list of topics created by one author does not work correctly on the Author's topic. It has a table headed by "List of all Topics of type '(Author's name)'". To render that part of the page, there is a call

DBCALL{"RenderTopicList" NAME="%TOPIC%"}

And that function does:

DBQUERY{"TopicType=~'\b%NAME%\b'" ...

But the topic type is BlogEntry and the BlogAuthor is the one passed in the DBCALL NAME, so it never matches. What we need to do in the list of topics for a given author is something like:

DBQUERY{"BlogAuthor=~'\b%NAME%\b'" ...

Right? I don't have sufficient familiarity with potential multiple uses of the functions, such as RenderTopicList to attempt to make a correction...

-- RaymondLutz - 14 Dec 2006

One more insightful point of note, it is necessary to enable client session tracking in configure to achieve author control buttons.

-- RaymondLutz - 15 Dec 2006

We use hierarchical webs and would like to have all of our blogs under a top-level web named "Blogs." Are there any suggestions for telling BlogFactory to create Blog webs under a "base" web? At the moment, we've hacked this together by changing line 129 of Factory.pm to

my $err = $session->{store}->createWeb($user, "Blogs/$newWeb", $baseWeb, $opts);

Many thanks.

-- DevinBougie - 14 Feb 2007

You should be able to create a blog at an arbitrary place by naming the web like Blogs.FooProject.BarUser.BazBlog in the entry field of the BlogFactory.

-- MichaelDaum - 20 Feb 2007

Current archive is packed with a bad installer, apparently - installing gives:

Can't locate TWiki/Plugins/ExtendedSelectPlugin.pm

Would you like me to try to download and install the latest version of ExtendedSelectPlugin from twiki.org? [y/n] y
Undefined subroutine &TWiki::getInstaller called at BlogPlugin_installer.pl line 636, <STDIN> line 1.

Error is the same for all dependencies.

-- SteffenPoulsen - 13 Apr 2007

One dependency seemingly can't be resolved:

Checking dependency on TWiki::Plugins::NatSkin....
*** BlogPlugin depends on perl package TWiki::Plugins::NatSkin >=2.9998
which is described as "Recommended; download from TWiki:Plugins/NatSkin "
But when I tried to find it I got this error:

Can't locate TWiki/Plugins/NatSkin.pm

Would you like me to try to download and install the latest version of NatSkin from twiki.org? [y/n]

(NatSkin has this file in ..Contrib).

-- SteffenPoulsen - 13 Apr 2007

Please, don't use the installer script for now! Just download and unzip all required packages into your twiki directory and enable them in configure.

-- MichaelDaum - 14 Apr 2007

When I use BlogFactory to create a blog named Blogs.DevinBougie, some things point to the Blogs web instead of Blogs.DevinBougie. For example, when I try to create a new BlogAuthor, It tries to create it under the Blogs web (instead of in Blogs.DevinBougie) and complains "Form Definition Blogs.BlogAuthorForm missing". I believe it should be looking for Blogs.DevinBougie.BlogAuthorForm, which does exist.

Any suggestions would be greatly appreciated.

-- DevinBougie - 27 Apr 2007

I'm getting the following when trying to save my first Blog.

TWiki detected an internal error - please check your TWiki logs and webserver logs for more information.

Insecure dependency in eval while running with -T switch

From Apache logs I see:

Insecure dependency in eval while running with -T switch at <TWiki Root>/twiki/lib/TWiki/Plugins/SpreadSheetPlugin/Calc.pm line 957., referer: http://www.mydomain.com/twiki/bin/edit/MyBlog/BlogEntryXXXXXXXXXX

-- AaronScamehorn - 01 May 2007

Hi All-

Had a pretty tough time getting this, and all the Deps installed. I finally did manage to get everything installed, enabled, etc. But I am still having problems... After I create the Blog using BlogFactory, I see the following in my Apache logs:

[Tue May 01 15:14:19 2007] [error] [client] [Tue May 1 15:14:19 2007] view: Use of uninitialized value in pattern match (m//) at /var/www/html/twiki/lib/TWiki/Plugins/NatSkinPlugin.pm line 697., referer: http://www.mydomain.com/twiki/bin/view/TWiki/BlogFactory [Tue May 01 15:14:25 2007] [error] [client] File does not exist: /var/www/html/twiki/pub/MyBlog [Tue May 01 15:14:26 2007] [error] [client] File does not exist: /var/www/html/twiki/pub/MyBlog [Tue May 01 15:14:26 2007] [error] [client] File does not exist: /var/www/html/twiki/pub/MyBlog [Tue May 01 15:25:31 2007] [error] [client] File does not exist: /var/www/html/twiki/pub/MyBlog [Tue May 01 15:25:31 2007] [error] [client] File does not exist: /var/www/html/twiki/pub/MyBlog [Tue May 01 15:25:31 2007] [error] [client] File does not exist: /var/www/html/twiki/pub/MyBlog [Tue May 01 15:25:36 2007] [error] [client] File does not exist: /var/www/html/twiki/pub/MyBlog [Tue May 01 15:25:36 2007] [error] [client] File does not exist: /var/www/html/twiki/pub/MyBlog [Tue May 01 15:25:37 2007] [error] [client] File does not exist: /var/www/html/twiki/pub/MyBlog [Tue May 01 15:25:39 2007] [error] [client] File does not exist: /var/www/html/twiki/pub/MyBlog [Tue May 01 15:25:40 2007] [error] [client] File does not exist: /var/www/html/twiki/pub/MyBlog [Tue May 01 15:25:40 2007] [error] [client] File does not exist: /var/www/html/twiki/pub/MyBlog [Tue May 01 15:26:32 2007] [error] [client] [Tue May 1 15:26:32 2007] view: Insecure dependency in eval while running with -T switch at /var/www/html/twiki/lib/TWiki/Plugins/SpreadSheetPlugin/Calc.pm line 957., referer: http://www.mydomain.com/twiki/bin/edit/MyBlog/BlogEntryXXXXXXXXXX [Tue May 01 15:26:32 2007] [error] [client] Insecure dependency in eval while running with -T switch at /var/www/html/twiki/lib/TWiki/Plugins/SpreadSheetPlugin/Calc.pm line 957., referer: http://www.mydomain.com/twiki/bin/edit/MyBlog/BlogEntryXXXXXXXXXX [Tue May 01 15:27:35 2007] [error] [client] File does not exist: /var/www/html/twiki/pub/MyBlog [Tue May 01 15:27:49 2007] [error] [client] [Tue May 1 15:27:49 2007] view: Insecure dependency in eval while running with -T switch at /var/www/html/twiki/lib/TWiki/Plugins/SpreadSheetPlugin/Calc.pm line 957., referer: http://www.mydomain.com/twiki/bin/edit/MyBlog/BlogEntryXXXXXXXXXX [Tue May 01 15:27:49 2007] [error] [client] Insecure dependency in eval while running with -T switch at /var/www/html/twiki/lib/TWiki/Plugins/SpreadSheetPlugin/Calc.pm line 957., referer: http://www.mydomain.com/twiki/bin/edit/MyBlog/BlogEntryXXXXXXXXXX [Tue May 01 15:33:27 2007] [error] [client] File does not exist: /var/www/html/twiki/pub/MyBlog [Tue May 01 15:33:46 2007] [error] [client] [Tue May 1 15:33:46 2007] view: Insecure dependency in eval while running with -T switch at /var/www/html/twiki/lib/TWiki/Plugins/SpreadSheetPlugin/Calc.pm line 957., referer: http://www.mydomain.com/twiki/bin/edit/MyBlog/BlogEntryXXXXXXXXXX [Tue May 01 15:33:46 2007] [error] [client] Insecure dependency in eval while running with -T switch at /var/www/html/twiki/lib/TWiki/Plugins/SpreadSheetPlugin/Calc.pm line 957., referer: http://www.mydomain.com/twiki/bin/edit/MyBlog/BlogEntryXXXXXXXXXX

And in my browser where I saved the page, I see

TWiki detected an internal error - please check your TWiki logs and webserver logs for more information.

Insecure dependency in eval while running with -T switch

Any help would be appreciated.


-- AaronScamehorn - 03 May 2007

I'm trying to get a nice displaying of the tags for each post done in a blog. I'm not really familiar with the TagCloud plugin and i'd just like to show for one topic how it was tagged or to show a display of all the tags of the blog with size depending on their frequence... I don't know if i need TagMePlugin, i tried to understand the different aims of those two tools but i couldn't really... Can you help me on this ?


-- GuillaumeBardy - 30 Aug 2007

All postings do display their tags already the line under their title, for example here. All tags in all postings are shown in the BlogArchive. The TagMePlugin is not needed together with the BlogPlugin. What exactly did you envision besides that?

-- MichaelDaum - 30 Aug 2007

The thing is i would like to present it directly on the first page (the same as the one in archive) like in the right bar... Then people will immediately have a really easy tool to retrieve information without going to Archive/Tag... How could i do that ?

-- GuillaumeBardy - 31 Aug 2007

I am getting really fustrated with this plugin. I have DBCacheContrib, DB plugin, All the depends. installed, the thing still will not work. Could you have packaged this thing any poorly? I have done everything to get this thing to work and it doesn't work. Http://wiki.habergroup.com; Its there but unfunctional.....There needs to be better documentation. If I ever get this thing to work im going to have detailed instructions on how to get this to work because the author obviously hasn't...I meen I feel like I have to practically re-code and re-build this plugin to even get it to function. It shouldn't be this difficult.

-- StephenGarriques - 03 Sep 2007

Stephen, sometimes certain Plugins will have their own dependencies; have you checked those as well? Also remember that some Plugins have Perl module dependencies.

Guillaume, copy the relevant code in RenderBlogArchiveTag into a new Function or Template (sorry, I can't remember), then do a DBCALL in RenderSideBar. Voila, ya have (clickable) tags on the side bar. wink Not tested, but it was something that I had in mind.

-- KwangErnLiew - 04 Sep 2007

Im going to keep trying, ugh so fustrating though :o( ; After I finish this I am going to make a package people can download with all dependencies

-- StephenGarriques - 05 Sep 2007

I try to install the Digest::MD5 and i get a permission denied at the end of the install. Also I try to install Bundle::CPAN to have the latest version and then reload CPAN, nothing. stays at the old version? Dunno whats up with that any ideas?

-- StephenGarriques - 05 Sep 2007

does this plugin work with a 2003 server box or just linux?

-- StephenGarriques - 05 Sep 2007

Stephen, if you provide more information we could help you. How about attaching the part of the error log that documents the internal server error.

-- MichaelDaum - 05 Sep 2007

Are there demos so that I could quickly compare BlogPlugin and BlogAddOn

-- GillesEricDescamps - 20 Sep 2007

BlogPlugin example sites:

Basically BlogPlugin has a lot more features than BlogAddOn to make your TWiki real bloggish. For example

  • threaded commenting
  • advanced blog entry editor with categorization and tagging
  • advanced image management tool
  • lots of atom+rss feeds
    • containing the full blog entries
    • only their teasers
    • feeds for all comments
    • for comments+blog entries
    • feeds for all comments of one blog entry
    • feeds for a subthread of comments of a blog entry
    • feeds for each author's blog entries
    • feeds for each category
    • all feeds are full html (not these plain text feeds of standard twiki)
  • technorati integration
  • last.fm integration
  • google adds integration
  • advanced blog archive access
    • chronological
    • tag cloud
    • category cloud
    • word index cloud
  • pagination all over the place
  • publish workflow to hide yet unpublished postings
  • news aggregation and blog role maintenance
  • semiautomatic computation of related blog entries...

-- MichaelDaum - 21 Sep 2007

Hi all, I tried to use the Topic Function RenderRecentComments but I donīt get any results. I tried the following:

%RECENTCOMMENTS{"| $topic | $commenter |" header="| *Topic* | *Commenter* |"}% or %DBCALL{"RenderRecentComments" LIMIT="5"}% 
but I donīt even see the header I defined in RECENTCOMMENTS What am I doing wrong? Thanks in advance for any hints

-- PeterSykora - 09 Oct 2007

I am using the newly release TWiki 4.2.0 . I get internal server error 500 when a new Blog web is created using the BlogFactory. Here is the output of apache's error log:

Can't locate object method "isAdmin" via package "UserName" (perhaps you forgot to load "UserName"?) at /var/www/twiki/lib/TWiki/Plugins/BlogPlugin/Factory.pm line 78., referer: http://hostname/twiki/bin/view/TWiki/BlogFactory

Where UserName is the current user logged in. He is also part of the TWikiAdminGroup

-- AllanEspinosa - 25 Jan 2008

Allan, this is due to an interface change. I got the same error, but the attached patch (BlogPlugin_v420_patch.txt) worked for me.

-- MarkusUeberall - 29 Jan 2008

I see, thanks Markus. I got past the error message now. But I am still having problems with DBCacheContrib in its Map.pm file. I posted my apache.log error details at the DBCachePluginDev page

-- AllanEspinosa - 10 Feb 2008

After installing Nat skin with BlogPlugin I am getting some div

.natMainHeaderContents, .natRevision, .natWebLocator, .headlinesLogo { display:none; } 
above webtopbar . How to get away with this div. css div above webtopbar

-- AnjaniKumar - 17 Apr 2008

Performance under mod-perl2

I'm putting together an application framework based on a fairly significant rewrite of the topics (not the plugin code) of the BlogPlugin and will be populating formfields automatically from scripts using TWiki::Func operations. Basically, I've converted BlogPlugin into a generic Model-View-Controller framework which hopefully will provide the best of TWiki and TurboGears concepts in one. I expect to have a few thousand topics in this web so I need to have top performance but when I turn on mod-perl2 (as per Sven Dowideit's instructions), I find WebHome takes a long time to render - 41.617 seconds according to FasterFox (40.49 seconds using wget). This is with only 1 BlogEntry (the welcome BlogEntry0) in the web.

However, if I click on the heading to display the BlogEntry0 topic, it renders in only 1.619 seconds (0.4 seconds using wget). All the other topics seem to render in a similar time - it's just WebHome that takes ages.

Has anyone else seen this behaviour? Or better, solved it?

Operating system Linux (i486-linux-gnu-thread-multi)
Perl version 5.008008 (linux)
TWiki module in @INC path TWiki.pm (Version: TWiki-4.1.2, Sat, 03 Mar 2007, build 13046) found
MOD_PERL mod_perl/2.0.2

-- WadeTurland - 31 Jul 2007


Alright, I tracked it down to RenderSideBar.txt:%DBCALL{"RenderLastFMRecentTracks"}% timing out. Even though I don't have it set in WebPreferences, it was still trying to connect to ws.audioscrobbler.com to get my Last.FM tracks.

-- WadeTurland - 31 Jul 2007

Wade, I have continued to rewrite BlogPlugin over the last year. We should take care that your's and my codebase don't diverge too much. We might be aiming at the same MVC goal. The current version I have under development integrates it into a completely new TWikiApplication framework, called TWikiWorkbench, that is heavily inspired by MVC. There are already a couple of other applications (not yet published) that are build along the same principles as the BlogPlugin is, cleaned up and moved out into an applications web of its own, Applications.BlogUp. etc.... So if you've rewritten lots of topic functions as well we might merge our works and come to a better release that covers both of our goals.

-- MichaelDaum - 21 Sep 2007

Just a comment on the structure of this dev topic: I find it confusing to have more than one comment box. I see that the last change was done by DiegoSaravia but I have no idea what unless I go to the bottom of the page and click on the ">" sign. I think it is better to have a linear discussion thread.

-- PeterThoeny - 21 Mar 2008

Yes I agree.

-- MichaelDaum - 21 Mar 2008

I'm just trying to setup a blog. I installed this plugin and dependencies. All the plugin test (for those that have them) seem to be working. I have created a blog with the factory. I ran into one problem immediately, it didn't create the "twiki/pub/blogname" directory. Things worked better after that was created by hand. The next issue I'm running into is that I'm unable to comment on a blog entry. When you click on the "reply" it takes you to a page with a form to enter your comments. Under the "leave a reply" heading, you see this snippit of the html form:

<input type="hidden" name="Nr" value="1 *~~" /> 

If you submit, it claims Nr is not set (which makes sense because it appears that part of the form is getting rendered visibly instead of being including as part of the form.) I also have an issue where I must have missed something in setting up the permissions. It seems admins can create blog entries but not people in the blog authors group. I'm still looking at that one. Any help is appreciated!

-- RickMach - 10 Jul 2008

I changed the ModificationPolicy of this extension from ContactAuthorFirst to PleaseFeelFreeToModify due to inactivity. Anyone please feel free to work on this extension.

-- PeterThoeny - 2012-12-03

Topic attachments
I Attachment History Action Size Date Who Comment
Texttxt BlogPlugin_v420_patch.txt r1 manage 0.5 K 2008-01-29 - 16:25 MarkusUeberall Small patch needed for TWiki 4.2.0 due to interface change
Unknown file formatJPG RenderAuthorTools_error.JPG r1 manage 62.9 K 2006-04-10 - 01:29 ZhengLingxiang access RenderAuthorTools
Unknown file formatJPG RenderNewBlogEntryButton.JPG r1 manage 53.5 K 2006-04-10 - 01:30 ZhengLingxiang access RenderNewBlogEntryButton page
Unknown file formatJPG chinese_form_error.JPG r1 manage 16.9 K 2006-04-05 - 14:26 ZhengLingxiang ---+++ sample form text error in chinese
Compressed Zip archivezip configure.html.zip r1 manage 29.4 K 2006-04-05 - 06:48 ZhengLingxiang twiki configure of my server
Unknown file formatJPG display_ok.JPG r1 manage 15.6 K 2006-04-05 - 06:42 ZhengLingxiang display ok do the first save.
JPEGjpg edit_wrong.jpg r1 manage 76.1 K 2006-04-05 - 06:47 ZhengLingxiang edit wrong
PNGpng snapshot1.png r1 manage 197.6 K 2008-04-17 - 07:51 AnjaniKumar css div above webTopBar error image
Edit | Attach | Watch | Print version | History: r141 < r140 < r139 < r138 < r137 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r141 - 2012-12-03 - 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-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.