Tags:
create new tag
view all tags

Question

Im having issues with the ThreadedDiscussionPlugin. Everything seems to indicate that it is installed correctly, however the links for edit and comment dont work. I get an internal server error.

The apache log has the following line...

[Fri Jan 20 12:20:51 2006] [error] [client 172.16.50.5] (2)No such file or directory: couldn't spawn child process: c:/twiki/bin/editthread

in the /twiki/debug.txt file i find the following.

20 Jan 2006 - 11:15 - TWiki::Plugins::ThreadedDiscussionPlugin::initPlugin( TWiki.WebChangesAlert ) is OK
20 Jan 2006 - 11:15 - ThreadedDiscussionPlugin::startRenderingHandler( TWiki )
20 Jan 2006 - 11:15 - ThreadedDiscussionPlugin::startRenderingHandler( TWiki )
20 Jan 2006 - 11:15 - ThreadedDiscussionPlugin::startRenderingHandler( TWiki )

I noticed that TWiki::Plugins:: is missing from the last 3. Is this possibly the cause?

Environment

TWiki version: TWikiRelease01Sep2004
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Win2k
Web server: Apache/1.3.31
Perl version: 5.85
Client OS: win2k
Web Browser: ie6
Categories: Plugins

-- AsimKhan - 20 Jan 2006

Answer

ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.

These are just debug messages the Plugin author chose to print. The Apache error_log is telling that it can't find editthread. I am not familiar with this Plugin, on Windows you possibly need to rename the script to editthread.cgi and fix the suffix in the Plugin.

-- PeterThoeny - 20 Jan 2006

Hi Peter.

Thanks for your help. I tried it out with no success. I still get the same error message in my apache log.

The code for the plugin seems a bit odd to me:

    my $eurl = TWiki::Func::getScriptUrlPath() . "/editthread.cgi/$web/$topic";
    $text .= "$editLabel";
    $text .= " ";
    $text .= "$commentLabel";
    return $text;

any more help would be much appreciated.

-- AsimKhan - 23 Jan 2006

Bueno.... Ive fixed the problem it was the shebang line in the editthread.

Thanks for your help.

-- AsimKhan - 23 Jan 2006

Topic attachments
I Attachment History Action Size Date Who Comment
HTMLhtm TestTWikienvironment.htm r1 manage 13.6 K 2006-01-20 - 11:33 UnknownUser testenv
Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r5 - 2006-01-24 - AsimKhan
 
  • 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-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.