Akopia Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Re: [ic] [ic 4.6.0] Userdb search problem



On  5 Nov, Martin Kisser wrote:
> I wanted to get a list of all Customers which are on my mailing-list, but no
> search got it... I also tried:
> 
> (complete html-file):
> 
> <html><head></head><body>
> [loop search="
>   fi=userdb
>   sf=mail_list
>   se=1
>   op=eq
>   nu=0
>   ml=50
>   tf=email
> "]
> [loop-code]<br>[/loop]
> </body></html>
> 
> I've also tried it at your public store:
> http://demo.akopia.com/cgi-bin/iccvsrw/scan/fi=userdb/sf=mail_list/se=1/op=e
> q/nu=0/ml=50/tf=lname/to=x.html
> (i know, thats not the right result page, but if you get sku's as result you
> can see it easily)
> Why is the result a list of SKU's ?
> 
> setting of co=1 or ra=1 results in a:
>  search error: Limit subroutine creation: Can't use an undefined value as an
> ARRAY reference at /home/sites/site43/ichange/lib/Vend/Search.pm line 673,
> <SEARCH> chunk 1.
> 
> adding st=db gives me:
>  search error: your search file a valid dat abase reference, was ''.
> 
> nu=1 changes nothing
> 
> I've tried it with the Construct demo-Store an IC 4.6.0.
> 
> Suggestions are welcome ;-)
> 
> Martin Kisser

The userdb file is protected per default. If you want this file
searchable, you have to unset "NoSearch" first. Add this lines at the
top of your search page:


[perl arg=scratch]
        $Config->{NoSearch} = '';
        return '';
[/perl]

Hope, this helps!

Joachim

-- 
Hans-Joachim Leidinger
buch online                 jojo@buchonline.net
Munscheidstr. 14            FAX: +49 209 1671441
45886 Gelsenkirchen         FAX: 0209 1671441


_______________________________________________
Interchange-users mailing list
Interchange-users@www.minivend.com
http://www.minivend.com/mailman/listinfo/interchange-users


Search for: Match: Format: Sort by: