Tags:
create new tag
view all tags

SID-00281: Search does not work on Windows

Status: Answered Answered TWiki version: 4.3.0 Perl version: ActivePerl v5.8.4
Category: CategorySearch Server OS: WinXP Prof Last update: 16 years ago

Hi all together!

I have downloaded the newest TWiki Version 4.3.0, unzipped it, run the rewriteshebang.pl-script, and executed the configure script as attached in the fileattachment-area.

My problem is: I can't search anything. Every result I get is "0", I recognized it when I wondered why the "Recent Changes" were not listed. Server and Client are the same computer (without any virtual systems like "VMware"): Microsoft Windows XP Professional as OS and IE 7.0 as browser.

I already searched a little bit and found the order to check the "egrep" and "fgrep" settings in the configure-script, but I cannot find them there.

Kind regards,

Mark

-- MarkStephan - 2009-04-24

Discussion and Answer

Addition:

The topic search works: If I search for "Web" for example, I get all topics that name starts with "Web".

Search for "Web" in topics --> OK

Search for "Web" in topics and text --> All topics beginning with "Web" are listed

Search for "Web" in text only --> 0 results

Greeting, have a nice weekend!

-- MarkStephan - 2009-04-24

Addition:

The following codeline produces "0" results (copied from WebChanges):

%_SEARCH{"^." web="Support" type="regex" nosearch="on" noheader="on" order="modified" limit="50" reverse="on"}%

If you replace it with THIS line, the "Recent changes"-search works at least:

%_SEARCH{"^." web="Support" scope="topic" regex="on" nosearch="on" order="modified" limit="50" reverse="on"}%

Is it possible that the Search-Algorithm was changed basically with the release of the Version 4.3.0 and some components have not been adapted yet?

Note: Forget the "_" in the commands, I had to put them before the SEARCH because they are replaced if I don't do this...does anyone have a better possibility to prevent the TWiki from replacing? smile

-- MarkStephan - 2009-04-24

You need to install the Gnu grep tools and configure TWiki to point to them. See TWiki04x02WindowsInstallationGuide.

FYI, there is NoNeedForCryptic title, free form title is OK for support questions.

-- PeterThoeny - 2009-04-24

Hi!

With a click on "I've read all documentation" in the configure-script (like written in the recommended page - thanks!), I was able to have a look at the grep and rcs boxes. They were pointing to "/bin/grep", so I changed them to my existing cygwin- bin-directory "D:/cygwin/bin" and it worked! I did not mention that I have installed it because I did not know that it could be important because I use ActivePerl for my TWiki - sorry! Although, I did not dare to activate the expert mode because I'm new to TWiki and definitely no expert.

Thank you very much!

-- MarkStephan - 2009-04-27

      Change status to:
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.
SupportForm
Status Answered
Title Search does not work on Windows
SupportCategory CategorySearch
TWiki version 4.3.0
Server OS WinXP Prof
Web server Apache/2.2.11 (Win32)
Perl version ActivePerl v5.8.4
Topic attachments
I Attachment History Action Size Date Who Comment
HTMLhtm TWiki_Configuration.htm r1 manage 207.2 K 2009-04-24 - 13:24 MarkStephan My personal TWiki Configuration from TWikiConfigureScript
Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2009-04-27 - MarkStephan
 
  • 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.