[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
[mv] two notes on MiniMate
****** message to minivend-users from Mark Stosberg <mark@summersault.com> ******
Hello!
I've just been trying out MiniMate again. I like the default reports
that come with Minivend 4.04! The Order reports didn't include the
discounts that people received, but I can live with that. I have a
comment and and a question:
* To login with the RemoteUser and Password system, it appeared that no
only did I need to set
MV_NO_CRYPT to 1 (as documented), I needed to set
UserDB default crypt 0
This piece was not documented.
* Also, under MiniMate: Manage Users. When I tried to add a user, I got
the below error message. I made sure the user already existed in userdb
(if that mattered) that the table minimate.asc existed and was defined
in catalog.cfg. Here's what the error log said:
[snip]
208.196.32.195 6n32iJYs:nobody - [06/June/2000:17:05:41 -0500] ssp /cgi-bin/ssp.cgi/process.
html Safe: There is no row with index 'usermgr' at /usr/local/mvend/lib/Vend/Table/Common.pm
line 243.
>
>
> my $table = $Variable->{MINIMATE_TABLE} || 'minimate';
> my $uid = $Scratch->{arg};
> my $db = $Db{$table};
> $Values->{mvc_data_key_name} = $db->config('KEY');
> my @fields = $db->columns();
> for(@fields) {
> $Values->{$_} = $db->field($uid, $_);
> }
> my @tables = sort keys %{$Config->{Database}};
> $Values->{mvc_data_fields} = join " ", @fields;
> if ($table ne $Values->{mv_data_table}) {
> $Values->{mvc_data_table} = $Values->{mv_data_table} = $table;
> }
> $Values->{mvc_data_table} = $table;
> sub display_checkbox_tables {
> my ($field) = @_;
> my $string = join ",", @tables;
> my @args = (
> '',
> '',
> {
> attribute => $field,
> name => $field,
> type => 'check left 5 font -1',
> passed => $string,
> },
> {
> $field => $Values->{$field},
> }
> );
> return $Tag->accessories(@args);
> }
> if($table eq delete $Values->{mvc_auto_export}) {
> return "[set name=export_ok int][tag export $table][/tag][/set]";
> }
> else {
> return '[set name=export_ok][/set]';
> }
>
>
208.196.32.195 6n32iJYs:nobody - [06/June/2000:17:05:41 -0500] ssp /cgi-bin/ssp.cgi/process.
html Runtime error: Can't call method "open_table" on an undefined value
at /usr/local/mvend
/lib/Vend/Data.pm line 762.
[/snip]
The first error seems odd, since I'm creating a new user, there' s not
supposed to be a row until after it's inserted. The second error seems
odd because it because it appears that table "minimate" _IS_ defined.
I'm using a fairly default "simple" setup, running everything out of
Minivend's .db system.
-mark
-
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