[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: [mv] mysql problem: cant get data
Paolo Torricelli wrote:
>
> ****** message to minivend-users from Paolo Torricelli <ptorric@tsc4.com> ******
>
> 1) [sql type=list query="select account_name from utenti where
> account_name<'B'"] [sql-field account_name] [/sql]
>
> give me in error.log:
>
> pt.tsc4.com jaw63MW4:tsc4.com - [21/October/1999:12:11:35 +0200] test
> /cgi-bin/test/a Runtime error: Can't locate object method "array_query" via
> package "Vend::Table::GDBM" at /mvend/lib/Vend/Data.pm line 403.
>
> ???GDBM??? i dont use it!!! this is my config file:
Yes, I know it now. You should use
[perl]
my $string='EOF';
[sql type=list query="select account_name from utenti where
account_name<'B'"] [sql-field account_name] [/sql]
EOF
my $a= eval $string; <-- you must have this line
[/perl]
But thus I get "Safe: eval string trapped by operation mask at (eval 54)
line 5",
which I don't know the meaning. It seems that we have common problem!
zb