On 12/14/07, Bradley Peters <koha@moberley.com> wrote:
On 12/13/07, Chris Nighswonger <cnighswonger@foundations.edu> wrote:
What kind of errors did you get?
$ export PERL5LIB="/home/bdp/koha/lib/C4/"
I believe this should be more like /home/bdp/koha/lib It points to the directory where C4 is located. I have a question about the 'lib' subdir.
$ export KOHA_CONF="/home/bdp/koha/etc/koha-conf.xml"
These should be set in koha-httpd.conf for both opac and intranet.... ie. something like: SetEnv KOHA_CONF "/home/bdp/koha/etc/koha-conf.xml" SetEnv PERL5LIB "/home/bdp/koha/lib"
$ ./bulkmarcimport.pl -t -file /home/bdp/Desktop/PLS/MBOMDVD.MRC
<yazgfs> isn't a variable assignment, skipping it<!-- [scheme:]host[:port][/databaseName] --> isn't a variable assignment, skipping it<!-- scheme: tcp, ssl, unix, http, sru --> isn't a variable assignment, skipping it
... et cetera through the contents of koha-conf.xml ...
<includes>/home/bdp/koha/intranet/htdocs/intranet-tmpl/default/en/includes/</includes> isn't a variable assignment, skipping it</config> isn't a variable assignment, skipping it</yazgfs> isn't a variable assignment, skipping
Seems that I have seen this before, but can't remember exactly what caused it. Maybe the pathing issues above. Anyone else have an idea?
itDBI connect(':','',...) failed: Access denied for user 'bdp'@'localhost' (using password: NO) at /usr/local/share/perl/5.8.8/C4/Context.pm line 411 DBI connect(':','',...) failed: Access denied for user 'bdp'@'localhost' (using password: NO) at /usr/local/share/perl/5.8.8/C4/Context.pm line 411 Can't call method "selectrow_array" on an undefined value at /usr/local/share/perl/5.8.8/C4/Context.pm line 366.
It appears that 'bdp'@'localhost' does not have sufficient permissions. In mysql what does SHOW GRANTS; say? While I have not had a chance to exercise Galen's new installer, it should take care of setting up these env vars automagically. I'll try to give the installer a whirl after lunch today and see what happens for me. Regards -- Chris Nighswonger Faculty Member Network & Systems Director Foundations Bible College & Seminary www.foundations.edu www.fbcradio.org