[ic] swish search error

Stefan Hornburg racke at linuxia.de
Tue Jan 31 14:23:03 EST 2006


Dan Bergan wrote:
> Stefan Hornburg wrote:
> 
>> Dan Bergan wrote:
>>
>>> Hello,
>>>
>>> I am trying to set up Swish-e for searching my site.  I followed the 
>>> directions from this thread:
>>> http://www.icdevgroup.org/pipermail/interchange-users/2005-February/042235.html 
>>>
>>>
>>> I have indexed my site and I can successfully search using the 
>>> swish-e command line.
>>>
>>> When I search from an interchange form, I get the following error:
>>> Limit subroutine creation: Bad code: Bareword "code" not allowed 
>>> while "strict subs" in use at (eval 1243) line 4.
>>>
>>> Can anyone tell me what I might be doing wrong?  Any pointers would 
>>> be helpful.  I also have a debug log from Swish.pm if that would be 
>>> helpful.
>>>
>>
>> How does your Interchange form look like ?
>>
>> Bye
>>     Racke
>> _______________________________________________
> 
> 
> This is the current form:
> 
> <form action="[area search]" method=post>
> <input type=hidden name=mv_session_id value="[data session id]">
> <INPUT TYPE=hidden NAME=mv_searchtype VALUE=swish>
> <INPUT TYPE=hidden NAME=mv_matchlimit VALUE=[control matches 10]>
> <INPUT TYPE=hidden NAME=mv_search_field VALUE="*">

Get rid of that last line. The swish search appears to be picky about
that.

Bye
	Racke



More information about the interchange-users mailing list