Tags:
create new tag
, view all tags

Question

I need to list all the child topics for a topic and have used the following Line in the parent topic .

but this returns empty. I had a look at SearchForChildrenReturnsEmpty in the Support Web and modified the Localsite.cfg to point to the grep command as

$TWiki::cfg{RCS}{EgrepCmd} = 'C:\Progra~1\GnuWin32\bin\grep.exe -E %CS{|-i}% %DET{|-l}% -H -- %TOKEN|U% %FILES|F%';

$TWiki::cfg{RCS}{FgrepCmd} = 'C:\Progra~1\GnuWin32\bin\grep.exe -F %CS{|-i}% %DET{|-l}% -H -- %TOKEN|U% %FILES|F%';

and the same in TWiki.spec. Now the search works(earlier it wouldnt work) but the search for child topics still doesnt work.

when i look at the apache error log it shows:

Lists the topics in the web and error saying:

failed: Bad file descriptor[Mon Sep 10 11:35:27 2007] view: Use of uninitialized value in concatenation (.) [11:56:18] >> or string at C:/twiki/lib/TWiki/Store/SearchAlgorithms/Forking.pm line 72., referer: TopicName

Please help out of this.

Environment

TWiki version: TWikiRelease04x01x02
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: windows seerver 2003 sp-1
Web server: Apache 2.0.2
Perl version: 5.8.6
Client OS: windows vista
Web Browser: firefox
Categories: Search

-- SubashSharma - 10 Sep 2007

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.

I have same problem, did you find already a solution? Installation path is simular to yours "c:\progra~1\gnuwin32\bin\grep.exe" and I am using windows xp.

-- FrederikBeun - 17 Sep 2007

Sorry, closing this after more than 30 days of inactivity. Please feel free to re-open if needed.

-- PeterThoeny - 01 Nov 2007

 
Change status to:
Topic revision: r3 - 2007-11-01 - PeterThoeny
 
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.