MiniVend Akopia Services

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

mv3.10 [data base= field= key= etc] writing to db



******    message to minivend-users from Ryan Hertz <rhertz@gyb.baits.com>     ******

MV3.10

My error.log:

mkt1 UNZ6CvJ9:mkt1 - [11/June/1999:16:30:54 -0700] order
/cgi-bin/order/ord/repo
rt2.html Runtime error: gdbm store returned -1, errno 0, key "k13-10" at
/var/li
b/httpd/mvend/lib/Vend/Table/GDBM.pm line 205.

On a report page I have:

[tag touch backend][/tag]
[tag flag write]backend[/tag]
[item-list][data base="backend" key="[item-code]" field="qty"
value="[item-quantity]" op="increment"[/item-list]

In my catalog.cfg:

Database        backend backend.asc     TAB

I'm not at all familiar with writing to a database from Minivend.  The goal
is to increment a field in 'backend.asc' by the quantity of the related key
purchased.  Such as an inventory would do, but by addition, not
subtraction.  The error I have returned is not familiar to me - the key for
the item is actually '13-10' not 'k13-10'.

Any help would be appreciated!

-Ryan

Ryan Hertz                                              tel  520-645-3812
Webmaster                                               tel  800-645-BAIT
Advertising Director                                    fax  520-645-2588
Gary Yamamoto Custom Baits, Inc.            http://www.yamamoto.baits.com
-
To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list


Search for: Match: Format: Sort by: