[ic] Wierd behaviour mysql query - URGENT

Andrei Gologan interchange-users@icdevgroup.org
Wed Oct 16 10:16:01 2002


> >
> > the error.log file says:
> >
> > [16/October/2002:15:21:15 +0200] dwshop
> > /cgi-bin/shop/V200452222.html Safe:
> > Can't locate object method "param" via package "quantity" at
> > (eval 533) line
> > 1.
> > >
> > > [sql-param quantity] > 0
> >
> > i am not so gut at this but it looks as IC thinks it is some other type
of
> > value or so ...
>
> Shouldn't your [sql-param quantity] be inside your [list]? Maybe you see
the
> problem because you have it outside at the moment. You can avoid looping
> within the [list] by adding 'LIMIT 1' to the end of your SQL code.
>


 no it works also on the outside, i tried it also inside, and it worked
before, now it does no longer understand the [sql-param quantity] if i just
try to print it out it prints out [sql-param quantity] and NOT the value
......

Andrei