[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
[mv] Strange error
****** message to minivend-users from David Wilson <david@wwns.com> ******
Hello,
After upgrading to MV 4.5.5 and setting up another catalog I find that
when I use minimate to look at the tables in the new catalog I don't see
the Column|Value data displayed. It works on the old simple database
however. The error message that I see in the error.log in
/usr/local/minivend is....
firewall.wwns.com HGuFYNfK:mike - [27/August/2000:03:59:28 -0500]
wrappro /cgi-bin/wrappro/process.html
Safe: Can't locate object method "import_db" via package "Vend::Table::GDBM"
at /usr/local/minivend/lib/Vend/Table/Common.pm line 399.
>
> ; my $html = <<'_MV_ASP_EOF967363771';
>
>
> _MV_ASP_EOF967363771
> chop($html);
> HTML( $html );
>
> my $table = $Values->{mv_data_table};
> my $db = $Db{$table};
> my $key = $Scratch->{arg};
> my (@cols) = split /\s+/, $Tag->db_columns( {
> name => $table,
> columns => $Values->{mvc_data_fields},
> });
> my $super = $Tag->if_mm('super');
> #my $super = $Scratch->{is_super};
> if($db->record_exists($key)) {
> #Log("Should work. key=$key table=$table");
> }
> else {
> $CGI->{$Values->{mvc_data_key_name}} = $key;
> undef $key;
> Log("key is undeffed.");
> }
> foreach my $col (@cols) {
> my $label = $Tag->field_label($table, $col);
> my $meta = '';
> if($super) {
> $meta .= '<FONT SIZE=1><BR>';
> $meta .= $Tag->page('config/format_meta', "${table}::$col");
> $meta .= 'meta</A></FONT>';
> }
> my $display = $Tag->display({
> table => $table,
> column => $col,
> key => $key,
> });
> $Document->write(<<EOF);
> <TR>
> <TD ALIGN=right VALIGN=top>$label$meta</TD>
> <TD VALIGN=top>$display</TD>
> </TR>
> EOF
> }
> ;
> ; my $html = <<'_MV_ASP_EOF967363771';
>
>
> _MV_ASP_EOF967363771
> chop($html);
> HTML( $html );
>
>
Any ideas?
Thanks,
Dave
--
David R. Wilson
World Wide Network Services
Nashville, Tennessee USA
david@wwns.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