[ic] Error on Search

Jeff Case jeff_case@hotmail.com
Wed, 11 Oct 2000 19:32:40 PDT


I figured it out in a round-about way...

when I removed the following from results.html, no more problems.

<!-- BEGIN PROBLEM -->

[if type=file term=`
$cat = lc $Values->{category};
$Values->{header_img} = "header_$cat.gif";
return "__DOCROOT____IMAGE_DIR__/header_$cat.gif"
					` ]
<IMG SRC="[value header_img]">
<P>
[/if]

<!-- END PROBLEM -->

>From: Victor Nolton <ven@pragakhan.com>
>Date: Wed, 11 Oct 2000 05:11:54 -0400
>
>Did the errorlog says somethign about bad search field code or sku?
>
>Ven
>
>
>>Using a modified version of Barry (ic 4.5.5)
>>
>>Have not modified the search code (you know, the search box at the
>>top right of the page)
>>
>>All searches work fine, except one so far.  If I try to search for
>>the term 'DK', 'dk', 'DK-' or 'dk-' I get an internal server error.
>>I have products with skus that begin with 'DK-'.  However, if I
>>search for any other sku prefixes, I don't get any errors.
>>Similarly, if I search for just 'd' or 'D' or 'DK-x' (x=some char or
>>int)... you guessed it, no error.  So far I can only replicate this
>>error when searching for 'dk' or 'dk-' (cap or lower case as above).
>>
>>Oddly enough, my error log suggests the problem is failure to init
>>cache at ... GDBM.pm
>>


_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at 
http://profiles.msn.com.