Tags:
create new tag
, view all tags

Question

We have been using TWiki for more than 6 months now. We have 6 form templates and around 500 forms filled out. We query these forms and display their results using FormattedSearch.

All of a sudden, the SEARCH stopped working. There are no results returned for any form data. Last week, we managed to get data displayed on a page "Refresh" at times. Now, "Refresh" also does not work.

Is there a limit to the number of forms that TWiki metadata can support? Has anyone else experienced this problem?

Environment

TWiki version:  
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin, BugzillaLinkPlugin, ExplicitNumberingPlugin, TablePlugin, CalendarPlugin
Server OS:  
Web server:  
Perl version:  
Client OS: MS Windows XP Professional
Web Browser: MS IE 6.0, Firefox 1.0.4
Categories: Forms, Search

-- TWikiGuest - 10 Oct 2005

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.

What version of TWiki are you running? What OS is the server running on? Quite older versions of TWiki had a limit on the number of topics that could be searched in a web. This limit is based on the shell command lenght limitation of the OS when search calls the external grep.

See ArgumentListTooLong and Codev.InlineSearchArgListTooLong

-- PeterThoeny - 10 Oct 2005

Peter,

Thanks for your reply!

It could very well be due to the fact that we have an older version running. I do not have admin access to the server.I will check with the admin group and update this topic with what I find.

-- TWikiGuest - 10 Oct 2005

just look at your TWiki.WebHome; it should have version information at the bottom of the page.

-- WillNorris - 11 Oct 2005

Will,

Our installation does not have this information on the WebHome page. But I looked in the TWikiDocumentation topic and found the WIKIVERSION to be 01 Feb 2003

I guess we will need an upgrade to resolve this issue.

Thanks!

-- TWikiGuest - 11 Oct 2005

Upgarde is ceratinly the best option. We will soon release DakarRelease with many new features.

I think it could do a temporary workaround without and upgrade. Create a wrapper script for grep; set TWiki.cfg to point to the wrapper; the wrapper uses xargs that calls grep.

Or you could hand-patch lib/TWiki/Search.pm based on the one in TWikiRelease04Sep2004. Look at line 212 ff for a fix of ArgumentListIsTooLongForSearch.

-- PeterThoeny - 11 Oct 2005

 
Topic revision: r6 - 2005-10-11 - 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.