[ic] Example does not work for me
John Rennie
john.rennie at thechampagneshop.co.uk
Wed Oct 15 21:28:00 EDT 2003
> -----Original Message-----
> From: interchange-users-bounces at icdevgroup.org
> [mailto:interchange-users-bounces at icdevgroup.org] On Behalf
> Of Juergen R. Plasser
> Sent: 14 October 2003 23:24
> To: interchange-users at icdevgroup.org
> Subject: [ic] Example does not work for me
>
>
> This example from the tag reference does not work for me (ic4.9.8,
> mysql, redhat7.3):
>
> [query sql="select sku, description, price from products where
> price < 1000"
> type=list
> more=1
> ml=10]
>
> [on_match]Matched<br>[/on_match]
> [no_match]Not Found<br>[/no_match]
>
> [list]
> [sql-code] [sql-param description] [sql-price]
> [/list]
>
> [more_list]
> Matches [matches] of [match-count] shown.<BR>
> [more]
> [/more_list]
> [/query]
>
> the error.log reports:
> Runtime error: Undefined subroutine
> &Vend::Table::Shadow::errmsg called
> at /usr/lib/interchange/lib/Vend/Table/Shadow.pm line 436.
>
> What am I missing?
>
> -Jürgen
>
If you replace 'type=list' to 'list=1' you should find it works.
(It does for me, in 4.9.8 in the 'test code' area.) No idea why, though.
Regards,
John.
More information about the interchange-users
mailing list