MiniVend Akopia Services

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

Re: Finding error.log errors



----- Original Message -----
From: Alan Curry <pacman-mvend@cqc.com>
To: <minivend-users@minivend.com>
Sent: Friday, June 25, 1999 6:15 PM
Subject: Re: Finding error.log errors


> ******    message to minivend-users from "Alan Curry"
<pacman-mvend@cqc.com>     ******
At 08:40 AM 6/25/99 , Bill Betz wrote:
>******    message to minivend-users from "Bill Betz" <bill@pennherb.com>
  ******
>
>Hello list:
>
>Working on a new site, MV 3.14, SunOS.
>Everything seems to work OK, except when placing an order I get this in
both
>error.log's:
> >>[25/June/1999:11:16:01 -0400] store2
> >>/cgibin/store2.cgi/order Safe: syntax error at (eval 68) line 1, near
( ||"
> >>>
> >>> 1 * ( || 0)
> >>>
>
> I've seen this one. In my case it came from something like
> "quantity * (weight || 0)" and some of the products did not have a weight
> specified. Putting something in the weight column, even if it's a 0, fixes
> it.

Thank you Alan!

That was it. This error occured each time an item was put in the basket.
I simply commented out the code in basket.html, since I don't use shipping
weight.

[comment
 [summary amount="[calc][item-quantity] * ([item-field weight] || 0)[/calc]"
hide=1]
[/comment]

Bill Betz




Search for: Match: Format: Sort by: