[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: [mv] transactions.txt
In-Reply-To: <004201beffac$01d2c2c0$e28b6dc2@xs4all.nl>
In article <004201beffac$01d2c2c0$e28b6dc2@xs4all.nl>,
gideon@swingmaster.nl (Gideon van Gelder) wrote:
> ****** message to minivend-users from "Gideon van Gelder"
> <gideon@swingmaster.nl ******
>
> Hi Rob,
>
> That's funny I have/had the same problems:
>
> I had to make MV export the transactions.txt to make it work and then,
> if
> I would have placed a couple of orders, the different fields would get
> "messed up".
> The problem, i guess lies in the transactions-db corrupting, because if
> I
> delete the .gdbm and replace the text-file with the original empty one
> and
> the place a couple of orders, things go fine.
Yeah, i did the same, and it works if you only order one thing at a time,
but if I order several things in one session it goes wrong, and my
understanding
of the GDBM format is too hazy. It seems to have two fieldname lines,
one starting with 'code' and the other starting with 'line'. I've had a
lookthrough various Perl books but nothing there
>
> I dunno, but it sounds like a "bug" (Mike ?)
Maybe get it sorted in MV4? I can't wait!! Great product.
>
> Good luck and don't let the program get you down,
> once you have it up and running it's great !
Oh I know that, 'transactions' isn't that important really, well not yet
anyway
>
> -Gideon
>
>
> > ****** message to minivend-users from hutch@cix.compulink.co.uk
> > (Robert
> Hutchinson) ******
> >
> > Hi all,
> > I have been trying to get transactions.txt/transactions.gdbm to work.
> > Based on simple, I added the following snippet to etc/report;
> > [tag export transactions][/tag]
> > that updates ok now
> >
> > I also rebuilt transactions using some extra field names and
> > corrected the
> > 'date' field (was called order_date in report so also in
> > transactions).
> >
> > using /query/check_orders.html;
> > I altered the search line to produce something (it didn't at all
> > before)
> to
> > [loop search="fi=transactions.txt/sf=username/se=[data session
> > username]/ml=1000"]
> > that works fine.
> >
> > It seems to mangle things somewhat, I have corrected the obvious html
> > errorsbut it just doesn't really work properly, and I just cannot
> > figure
> > out why.
> >
> > Any ideas anyone?
Bye :-)=
hutch@cix.co.uk