[ic] DBI Error

Stefano Malagoli interchange-users@interchange.redhat.com
Wed Nov 28 06:51:01 2001


I have IC 4.6.5, MySQL.
I have install perl 5.005 with DBI and DBD::mysql module

When I try to use the 'item_featur/html' page I get an Internal Server
Error, and the IC error.log report:

****************
192.168.1.12 uKURVdUj:192.168.1.12 - [28/November/2001:11:55:54 +0100] shop
/cgi-bin/shop/admin/
item_feature Safe: Can't locate object method "TIEHASH" via package
"DBI::st" at /usr/local/lib/perl
5/site_perl/5.005/i386-freebsd/DBI.pm line 703.
>
>
>       my $db = $Db{merchandising};
>       my $date = $Tag->convert_date({ raw => 1 });
>       my $code = $CGI->{item_id} or return;
>       return unless $db->record_exists($code);
>       return unless $db->field($code, 'timed_promotion');
>       return if $date le $db->field($code, 'finish_date');
>       $db->set_field($code, 'featured', 'expired');
>       return;
>
>
192.168.1.12 uKURVdUj:192.168.1.12 - [28/November/2001:11:55:54 +0100] shop
/cgi-bin/shop/admin/
item_feature Runtime error: Can't call method "open_table" on an undefined
value at /usr/local/inter
change/lib/Vend/Data.pm line 876.
>
****************

Can someone help me ?

TIA.
Stefano.


----------------------------------------
DATACODE s.r.l.
Via S. Morse, 30
41100 Modena (Italy)
tel. +39.059.212831 fax +39.059.4390212
E-mail: s.malagoli@datacode.it
Web: www.datacode.it