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
--
AsimKhan - 20 Jan 2006
Answer
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