MiniVend Akopia Services

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

RE: Ordering from Forms



On 06-Jan-99 Markus Müller shaped the electrons to say:

> ******    message to minivend-users from "=?iso-8859-1?Q?Markus_M=FCller?=" <mueller@ass-software.de>     ******
> 
> 
> 
[...]

> There is always the following error:
> 
> shop /scripts/shop.exe/process Died in server spawn: Can't use string ("")
> as an ARRAY ref while "strict refs" in use at /mvend/bin/minivend line 722,
> <SESSION> chunk 81.
Hi Markus...

I've had the same problem and solved it with this:

bin/minivend ~ line 722:

if ($attr) {
^^^^^^^^^^^^

   foreach $attr (@{$Vend::Cfg->{UseModifier}}) {
      $attr{$attr} = [];
      next unless defined $CGI::values{"mv_order_$attr"};
      @{$attr{$attr}} = split /\0/, $CGI::values{"mv_order_$attr"}, -
   }

}
^^

It works just smooth for months now...

Regards 

---
Karsten Müller
email: km@TheArtOfWeb.com
  www: http://WWW.TheArtOfWeb.com
 shop: http://WWW.TheArtOfWeb.com/esm/

PGP signature


Search for: Match: Format: Sort by: