Tags:
create new tag
, view all tags

Question

Hi,

am trying to use the CommentPlugin in a new topic. However when I insert the 'Comment' tag withn the page (with or without parameters) the page just hangs. I can see that I have a perl.exe. process that goes to 99% cpu usage but never completes, and the page does not refresh.

Have checked the apache error logs and nothing is reported. Have tried this in my local sandbox and still get the same problem.

For the moment, not using any htpasswd overide files in any of the directories and as far as I can see all of the 'comment' files have similar permissions to other files in their respective directories.

any suggestions appreciated,

('Configure' output is attached)

regards, Martin

Environment

TWiki version: TWikiRelease04x00x00
TWiki plugins: SpreadSheetPlugin, CalendarPlugin, CommentPlugin, EditTablePlugin, InterwikiPlugin, PreferencesPlugin, SlideShowPlugin, TablePlugin, WysiwygPlugin
Server OS: Windows XP SP2
Web server: Apache 2.0.55
Perl version: 5.8.7-5 (Cygwin)
Client OS: Windows XP
Web Browser: IE 6.0
Categories: Plugins

-- MartinMoss - 13 Apr 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.

If you installed the plug-in after all the installation process try changing:

#!/usr/bin/perl -w to #!c:/cygwin/bin/perl -w

-- RamkumarKb - 14 Apr 2006

Have checked the files in '/twiki/bin/' (i.e. the ones with no file extension' and all appear to have the shebang line set to

#!e:/cygwin/bin/perl -wT

(where e:/cygwin is the path to my installation of cygwin)

Are there any other files I should check?

-- MartinMoss - 19 Apr 2006

Have modified the Comments.tmpl file as follows:-

%TMPL:INCLUDE{Comments}% changed to: %TMPL:INCLUDE{CommentPlugin}%

and it now seems to be working...would appreciate any info on whether this was a 'safe' thing to do?

-- MartinMoss - 20 Apr 2006

Yes, absolutely.

There is a known problem on the Windows platform that "Comments.tmpl" and "comments.tmpl" are the same filename as far as the OS is concerned.

This was fixed in the CommentPlugin some time ago and a new release issued. I thought it made it into 4.0.0 - I guess not.

-- CrawfordCurrie - 20 Apr 2006

i've updated KnownIssuesOfTWiki04x00x00 to refect that this was a problem in 4.0.0, but fixed in 4.0.1

-- WillNorris - 21 Apr 2006

 
Topic attachments
I Attachment Action Size Date Who Comment
HTMLhtml Configure.html manage 141.8 K 2006-04-13 - 12:14 MartinMoss Output from 'configure'
Topic revision: r8 - 2006-04-21 - WillNorris
 
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.