[Koha] Add biblio problem from Z3950 search on 2.2.9

ppope at iprimus.com.au ppope at iprimus.com.au
Fri Nov 21 10:11:41 NZDT 2008


Has anyone managed to get the "Add Biblio and Go to Items" function working
on 2.2.9 after a Z3950 search?

I have finally managed to get the Z3950 search to return data and populate
the marc fields when I import a book but when I click the button to add biblio
and go to items, I get an internal server error.  The koha error log entry
is below.

If anyone has this working, would you mind sharing your Biblio.pm and addbiblio.pl
scripts with me so I can compare to mine?

I am running :
Koha version2.2.9
OS version ('uname -a')Linux ovid 2.6.15-52-386 #1 PREEMPT Wed Oct 22 18:48:55
UTC 2008 i686 GNU/Linux
Perl version5.008007
MySQL versionmysql Ver 14.12 Distrib 5.0.22, for pc-linux-gnu (i486) using
readline 5.1 

If I turn off marc support, I can manually add biblios with no problems.

Regards,
Phil

Koha Error Log:

[Fri Nov 21 07:47:32 2008] [error] [client 192.195.197.97] 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,marc_word as m6,marc_word
as m7,marc_subfield_table as m8,marc_subfield_table as m9 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.bibid=m6.bibid and m1.bibid=m7.bibid and m1.bibid=m8.bibid and m1.bibid=m9.bibid)
and ((m1.word  like 'epic' and m1.tagsubfield in ('245a'))and (m2.word like
'of' and m2.tagsubfield in('245a'))and (m3.word like 'Gilgamesh' and m3.tagsubfield
in('245a'))and (m4.word like 'new' and m4.tagsubfield in('245b'))and (m5.word
like 'translation' and m5.tagsubfield in('245b'))and (m6.word like 'analogues'
and m6.tagsubfield in('245b'))and (m7.word like 'criticism' and m7.tagsubfield
in('245b'))and (m8.subfieldvalue = '22 cm.'  and concat(m8.tag,m8.subfieldcode)
in ('300c'))and (m9.subfieldvalue = 'Norton,'  and concat(m9.tag,m9.subfieldcode)
in ('260b'))) order by biblio.title ASC term is  The epic of Gilgamesh  
a new translation  analogues  criticism   22 cm. Norton, at /usr/local/koha/intranet/modules/C4/SearchMarc.pm
line 274., referer: http://bgo.dynalias.org:8080/cgi-bin/koha/acqui.simple/addbiblio.pl?oldbiblionumber=0&z3950=1&breedingid=25
[Fri Nov 21 07:47:32 2008] [error] [client 192.195.197.97] Arguments must
be MARC::Field object at /usr/local/koha/intranet/modules/C4/Biblio.pm line
1440, referer: http://bgo.dynalias.org:8080/cgi-bin/koha/acqui.simple/addbiblio.pl?oldbiblionumber=0&z3950=1&breedingid=25
[Fri Nov 21 07:47:32 2008] [error] [client 192.195.197.97] Premature end
of script headers: addbiblio.pl, referer: http://bgo.dynalias.org:8080/cgi-bin/koha/acqui.simple/addbiblio.pl?oldbiblionumber=0&z3950=1&breedingid=25





More information about the Koha mailing list