[Koha] 500 Server Error...

Chris Cormack chris at katipo.co.nz
Thu Mar 14 14:11:54 NZDT 2002


On Thu, 2002-03-14 at 14:07, CJ Lynce wrote:
> This is what my last few erros from the staff side are
> ---------------------
> Can't call method "prepare" on an undefined value at
> /usr/lib/perl5/site_perl/5.6.1/C4/Circulation/Circ2.pm line 67, <KC> line
>  4.
> [Thu Mar 14 07:34:12 2002] [error] [client 10.14.0.141] Premature end of
> script headers: /usr/local/httpd/htdocs/intranet-html
> /cgi-bin/koha/circ/circulation.pl
> DBI->connect(koha:localhost) failed: Unknown database 'koha' at
> /usr/lib/perl5/site_perl/5.6.1/C4/Database.pm line 77
> Can't call method "prepare" on an undefined value at
> /usr/lib/perl5/site_perl/5.6.1/C4/Circulation/Circ2.pm line 67, <KC> line
>  4.
> [Thu Mar 14 07:34:14 2002] [error] [client 10.14.0.141] Premature end of
> script headers: /usr/local/httpd/htdocs/intranet-html
> /cgi-bin/koha/circ/circulation.pl

Hmm ok here its finding the C4 modules (C4/Database.pm etc) But its not
connecting to the database. And the database exists, mysqlshow shows it
there, and its not spelt Koha or anything?

> [Thu Mar 14 07:40:32 2002] [error] [client 10.14.0.141] File does not exist:
> /usr/local/httpd/htdocs/intranet-html/images/fron
> t-mouseover-members.gif
> Can't locate C4/Circulation/Circ2.pm in @INC (@INC contains:
> /usr/lib/perl5/5.6.1/i586-linux /usr/lib/perl5/5.6.1 /usr/lib/per
> l5/site_perl/5.6.1/i586-linux /usr/lib/perl5/site_perl/5.6.1
> /usr/lib/perl5/site_perl .) at /usr/local/httpd/htdocs/intranet-h
> tml/cgi-bin/koha/circ/circulation.pl line 4.
> BEGIN failed--compilation aborted at
> /usr/local/httpd/htdocs/intranet-html/cgi-bin/koha/circ/circulation.pl line 4.
> 
> [Thu Mar 14 07:40:34 2002] [error] [client 10.14.0.141] Premature end of
> script headers: /usr/local/httpd/htdocs/intranet-html
> /cgi-bin/koha/circ/circulation.pl
> ----------------------------

This is odd now it cant find the C4 modules, (the ones it just found 6
minutes before hand) They havent been moved or anything?

> I noticed on here that it says koha isnt a database....  but It IS created in
> mysql...
> hum..
> 
> And from the OPAC side
> ----------------------
> Can't locate C4/Search.pm in @INC (@INC contains:
> /usr/lib/perl5/5.6.1/i586-linux /usr/lib/perl5/5.6.1 /usr/lib/perl5/site_per
> l/5.6.1/i586-linux /usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl .)
> at /usr/local/httpd/htdocs/opac-html/cgi-bin/koh
> a/search.pl line 10.
> BEGIN failed--compilation aborted at
> /usr/local/httpd/htdocs/opac-html/cgi-bin/koha/search.pl line 10.
> [Thu Mar 14 07:53:18 2002] [error] [client 10.14.0.141] Premature end of
> script headers: /usr/local/httpd/htdocs/opac-html/cgi
> -bin/koha/search.pl
> ------------------------

Yeah this is just not finding the C4 modules again.
They are all in /usr/lib/perl5/site_perl/5.6.1/C4/ ?

Chris
-- 
Chris Cormack                                               Programmer
025 500 789                                  Katipo Communications Ltd
chris at katipo.co.nz                                    www.katipo.co.nz




More information about the Koha mailing list