[ic] User tag on CommonAdjust producing an error message

Dan Browning interchange-users@icdevgroup.org
Fri Aug 30 01:28:01 2002


At 10:07 PM 8/29/2002 -0700, you wrote:
>Dan Browning wrote:
>
>>At 06:25 PM 8/29/2002 -0700, you wrote:
>>
>>>Below is the current CommonAdjust and yet the error I'm receiving that 
>>>immediately follows makes no sense to me when considering that the tag 
>>>is working fine on the CommonAdjust.
>>>
>>>CommonAdjust "&$Tag->tier_pricing( $item->{code}, $item->{quantity} )" 
>>>;:price
>>>
>>>w2k.mmaz.com IQf3PB7m:192.168.10.10 - [29/August/2002:20:25:26 -0400] 
>>>mmb2c /cgi-bin/mmb2c/ATT-0290-03-SMA-02.html Safe: Can't locate object 
>>>method "query" via package "Vend::Table::GDBM" (perhaps you forgot to 
>>>load "Vend::Table::GDBM"?) at
>>>/ibin/interchange/lib/Vend/Interpolate.pm line 5235.
>>> >
>>> > $Tag->tier_pricing( $item->{code}, $item->{quantity} )
>>> >
>>>
>>>Though the page is working, it will pollute my error log with tons of 
>>>messages and I'd like to fix or stop that...  Any ideas?
>>>
>>>Barry
>>
>>
>>This may not be your problem, but any functions that you call that use 
>>the database (perhaps 'products' and 'options' in your case) require that 
>>you first specify the database ala:
>>
>>[perl tables="products options"]
>
>Good evening Dan.
>
>Thanks for writing.  In this case, the CommonAdjust is using a usertag for 
>the determination of the proper pricing, of which in that usertag a call 
>to query does occur.  Perhaps I'm dense, or that it is just late, but I do 
>not see how I can meld your recommendation into that setup...

Ah, yes; that'll teach me to actually read the e-mail next time.  :-)  Try 
a different usertag that does absolutely nothing and see if it still logs 
the error.  If it doesn't, then you could proceed to find which part of 
your usertag is triggering the error.

/~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\
| Dan Browning, Kavod Technologies      <dan.browning@kavod.com> |
| (360) 882-7872 x7, 6700 NE 162nd Ave, Suite 210, Vancouver, WA |
\~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~/
How wonderful opera would be if there were no singers.