Begin forwarded message:

From: Richard Barrett <[EMAIL PROTECTED]>
Date: Fri Aug 1, 2003 7:45:31 am Europe/London
To: "Glenn Sieb" <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED]
Subject: Re: [Mailman-Users] I guess it's my week for problems, sorry :(



On Friday, August 1, 2003, at 04:33 am, Glenn Sieb wrote:


Richard Barrett wrote:

I suggest you try the following procedure for the two problem list:

Hey Richard... as always, I appreciate your efforts :) I did what you outlined, but it didn't work :(

Were you originally running a version of the htdig integration patch
earlier than that installed by htdig-2.1.1-0.2.patch? If so this may be
the cause of problems with archived lists created under that earlier
regime. The upgrade issue was covered in the INSTALL.htdig-mm file for
htdig-2.1.1-0.2.patch or later and I am wondering if you have tripped
over this issue.


Correct, I was running the htdig-2.1-0.1.patch.

Unfortunately, now none of my searchables are working. Archiving seems
fine, but searching any list is producing (given a blank search term):

htdig Archives Access Failure

CGI problem. -5-Field count -4- fields: method,format,sort,config



OK. I just got onto a system with search integration installed.


You will get this if you did not enter any words to search for on the search form. The browser does not transmit the 'words' field in the CGI request if the field is empty.

I will look at a revision for the patch to produce a more user friendly response about missing search-for words to deal with this situation.


The error response is saying that a field in the search form that mmsearch.py insists be present is missing.

The required fields are called: 'method', 'format', 'sort', 'config' and 'words'.

The 'words' field appears to be missing, this being the text field in which the words to be sought are entered on the form.

The template for the search form is in templates/en/TOC_htsearch.html.

The default value for the words field is the empty string with the tag for the field defined as 'input type="text" size="30" name="words" value=""'

Take a look at the HTML form definition source of a list TOC page for a list that is suffering this problem and compare it with templates/en/TOC_htsearch.html.

This may give some clue as to the cause of this problem.

The blow_away_htdig etc routine I described and as described in INSTALL.htdig-mm should renew per-list search forms from the TOC_htsearch.html template.

Let me know how you get on.

If you want to make another attempt to access a list archive then go via
the list users information page.


If this problem persists then please e-mail the following information to
the [EMAIL PROTECTED]:


    https://www.wingfoot.org/pipermail/listname/
    /mailman/mmsearch/listname

The major change introduced by htdig-2.1.1-0.2.patch was that htsearch
is not called directly by the search forms. For security reason a CGI
called mmsearch is called which in turn uses htsearch. This is described
in INSTALL.htdig-mm


*nod* I see that... nifty :)

Again, thank you for your help... :)
Glenn


-----------------------------------------------------------------------
Richard Barrett                               http://www.openinfo.co.uk


------------------------------------------------------
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/

This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Reply via email to