[Koha] cannot add biblio item to Koha 2.2.9: error in Biblio.pm
line 1440?
H.S.
hs.samix at gmail.com
Sat Jan 19 19:59:42 NZDT 2008
Hello,
I am trying to add a biblio item (the very first item on a recently
installed Koha 2.2.9 on Ubuntu with mysql 5.0) but I keep getting an
error where my browser asks me to save file called addbiblio.pl.
The error in Koha error log is this:
[Sat Jan 19 01:52:41 2008] [error] [client 206.248.178.11] z3950.loc.gov
at /usr/local/koha/intranet/cgi-bin/z3950/search.pl line 161.
[Sat Jan 19 01:52:42 2008] [error] [client 206.248.178.11] File does not
exist:
/usr/local/koha/intranet/htdocs/intranet-tmpl/default/en/includes/intranet.css
[Sat Jan 19 01:55:18 2008] [error] [client 206.248.178.11] Q2 : select
distinct m1.bibid from biblio,biblioitems,marc_biblio,marc_word as
m1,marc_word as m2,marc_word as m3,marc_word as m4,marc_word as m5 where
biblio.biblionumber=marc_biblio.biblionumber and
biblio.biblionumber=biblioitems.biblionumber and
m1.bibid=marc_biblio.bibid and (m1.bibid=m2.bibid and m1.bibid=m3.bibid
and m1.bibid=m4.bibid and m1.bibid=m5.bibid) and ((m1.word like
'Treasure' and m1.tagsubfield in ('245a'))and (m2.word like 'Island' and
m2.tagsubfield in('245a'))and (m3.word like 'Stevenson' and
m3.tagsubfield in('245b'))and (m4.word like 'Robert' and m4.tagsubfield
in('245b'))and (m5.word like 'Louis' and m5.tagsubfield in('245b')))
order by biblio.title ASC term is Treasure Island Stevenson Robert
Louis at /usr/local/koha/intranet/modules/C4/SearchMarc.pm line 274.
[Sat Jan 19 01:55:18 2008] [error] [client 206.248.178.11] Arguments
must be MARC::Field object at
/usr/local/koha/intranet/modules/C4/Biblio.pm line 1440
[Sat Jan 19 01:55:18 2008] [error] [client 206.248.178.11] Premature end
of script headers: addbiblio.pl
[Sat Jan 19 01:56:53 2008] [error] [client 206.248.178.11] Q2 : select
distinct m1.bibid from biblio,biblioitems,marc_biblio,marc_word as
m1,marc_word as m2,marc_word as m3,marc_word as m4,marc_word as m5 where
biblio.biblionumber=marc_biblio.biblionumber and
biblio.biblionumber=biblioitems.biblionumber and
m1.bibid=marc_biblio.bibid and (m1.bibid=m2.bibid and m1.bibid=m3.bibid
and m1.bibid=m4.bibid and m1.bibid=m5.bibid) and ((m1.word like
'Treasure' and m1.tagsubfield in ('245a'))and (m2.word like 'Island' and
m2.tagsubfield in('245a'))and (m3.word like 'Stevenson' and
m3.tagsubfield in('245b'))and (m4.word like 'Robert' and m4.tagsubfield
in('245b'))and (m5.word like 'Louis' and m5.tagsubfield in('245b')))
order by biblio.title ASC term is Treasure Island Stevenson Robert
Louis at /usr/local/koha/intranet/modules/C4/SearchMarc.pm line 274.
[Sat Jan 19 01:56:53 2008] [error] [client 206.248.178.11] Arguments
must be MARC::Field object at
/usr/local/koha/intranet/modules/C4/Biblio.pm line 1440
[Sat Jan 19 01:56:53 2008] [error] [client 206.248.178.11] Premature end
of script headers: addbiblio.pl
Could somebody tell me how to fix this?
I have this installed on Ubuntu Fiesty:
$> COLUMNS=120 dpkg -l mysql* | grep ^i
ii mysql-client-5.0 5.0.38-0ubuntu1.1 mysql database
client binaries
ii mysql-common 5.0.38-0ubuntu1.1 mysql database
common files (e.g. /etc/mysql/my.cnf)
ii mysql-server-4.1 5.0.38-0ubuntu1.1 mysql database
server (transitional package)
ii mysql-server-5.0 5.0.38-0ubuntu1.1 mysql database
server binaries
Thanks,
->HS
More information about the Koha
mailing list