[Koha] addbiblio.pl still failing

linda r lindamarcella at yahoo.com
Tue Aug 21 09:10:27 NZST 2007


>From adding some print ("warn") statements, the last errors from the end of
/var/log/apache2/error.log are:

gets here: about to call NEWnewbiblio() at
/usr/local/koha/intranet/cgi-bin/acqui.simple/addbiblio.pl line 529.
gets here:  before delete_field(), tagfield1=090, old_field= at
/usr/local/koha/intranet/modules/C4/Biblio.pm line 1440.
Arguments must be MARC::Field object at
/usr/local/koha/intranet/modules/C4/Biblio.pm line 1441

One thing that might be strange is that my catalog page where I click "add
biblio" does not show a MARC field 090.

Has anyone gotten this to work?  Do you think I should downgrade from Koha
2.2.9 to 2.2.8?  Or should I upgrade from MySQL 4.1 to 5?

Thanks,

Linda

1345 sub NEWnewbiblio {
...

1432     # biblionumber & biblioitemnumber are in the same field (can't be
<10 as fields <10 have only 1 value)
1433     } else {
1434         my $newfield = MARC::Field->new(
1435             $tagfield1, '', '', "$tagsubfield1" => $oldbibnum,
1436             "$tagsubfield2" => $oldbibitemnum
1437         );
1438         # drop old field and create new one...
1439         my $old_field = $record->field($tagfield1);
1440         warn "gets here:  before delete_field(), tagfield1=$tagfield1,
old_field=$old_field";
1441         $record->delete_field($old_field);
1442         warn "gets here:  after delete_field()";


-- 
View this message in context: http://www.nabble.com/addbiblio.pl-still-failing-tf4236861.html#a12244030
Sent from the Koha - Discuss mailing list archive at Nabble.com.



More information about the Koha mailing list