[ic] Discount problem (left out error message in log file)

Scott Kennedy interchange-users@interchange.redhat.com
Wed May 15 12:40:01 2002


I'm getting the following error message in error.log when I attempt to set a
discount,

/*BEGIN INCLUDED TEXT*/
65.66.23.10 B3StUZV6:65.66.23.10 - [15/May/2002:09:45:11 -0700] altchoice
/cgi-bin/altchoice/process.html Discount ENTIRE_ORDER has bad formula. Returning normal subtotal.
> eval "string" trapped by operation mask at (eval 546) line 1.
>       (in cleanup) Undefined subroutine &MVSAFE49123:: called at
/usr/lib/perl5/5.6.1/i386-linux/Safe.pm line 222.
>
/*END INCLUDED TEXT*/


I'm not able to tell where this error actually occurred at.  Should I activate
the debugging features?  Like I said before, the discount seems to get
calculated right...it just doesn't show up right away on the checkout page.

By the way, I'm kind of confused on how to call the discount tag from within
Perl.  Is "$Tag->discount('ENTIRE_ORDER', $foo)" legal?  --Scott


***********************************************************
/ Custom Web Promotions /
Economical web hosting & online storefronts featuring
Red Hat Linux 7.2 & Red Hat Interchange 4.8.5
http://custweb.com / 888-287-8932 / sales@custweb.com
***********************************************************