Hi! Could it be that you are missing DBD::mysql - the DBI "driver" for MySQL? Just a hunch... Regards, Magnus Enger http://libriotech.no/ 2009/7/2 sdstein7 <sdstein7@gmail.com>:
I am in the midst of a struggle to install Koha on a Red Hat Linux 5.3 system. I am on the last page of the Fedora INSTALL instructions, and getting the following error:
"Can't locate object method "connect" via package "DBI" in /usr/share/koha/lib/C4/Context.pm line 666"
Here is Context.pm line 666: my $dbh= DBI->connect("DBI:$db_driver:dbname=$db_name;host=$db_host;port=$db_port", $db_user, $db_passwd) or die $DBI::errstr;
I get the same error in two places: 1. Running zebraqueue_daemon.pl 2. Trying to connect to Koha using http://localhost/phpmyadmin
I am certain that DBI is installed (although it took a force install in CPAN), that the DBI directory and DBI.pm are in the Perl @INC path, and that the 'use DBI' statement is present in Context.pm.
I am certain that all the variables in line 666 are defined. I also wrote a very simple perl script to call DBI->connect and it failed in the same way.
Any help is greatly appreciated.
Thanks, Sanford Stein
-- View this message in context: http://www.nabble.com/Can%27t-locate-object-method-connect-via-package-DBI-t... Sent from the Koha - Discuss mailing list archive at Nabble.com.
_______________________________________________ Koha mailing list Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha