[Koha] Re: use CGI::Carp to catch all perl errors [was: koha on
debian etch 4.0]
Beda Szukics
beda at muri-gries.ch
Thu Nov 1 09:14:31 NZDT 2007
Hello
> I have the same error.
> Here's the contents of Biblio.pm around 1440.
>
> Just for my info:
> In MARC links - System Prefs / Links Koha - MARC DB.
>
> What is the default 'tag', 'subfield' and 'lib' of 'biblionumber' and 'biblioitemnumber' in "biblio" and "biblioitems"?
> My MARC check returns no errors.
I don't think there is a problem.
> -->
> 1395 "select tagfield,tagsubfield from marc_subfield_structure where kohafield=?"
> 1396 );
> 1397 $sth->execute("biblio.biblionumber");
> 1398 ( my $tagfield1, my $tagsubfield1 ) = $sth->fetchrow;
> 1399 $sth->execute("biblioitems.biblioitemnumber");
> 1400 ( my $tagfield2, my $tagsubfield2 ) = $sth->fetchrow;
> 1401 my $newfield;
> 1402 # biblionumber & biblioitemnumber are in different fields
> 1403 if ( $tagfield1 != $tagfield2 ) {
> 1404 # deal with biblionumber
> 1405 if ($tagfield1<10) {
> 1406 $newfield = MARC::Field->new(
> 1407 $tagfield1, $oldbibnum,
> 1408 );
> 1409 } else {
> 1410 $newfield = MARC::Field->new(
> 1411 $tagfield1, '', '', "$tagsubfield1" => $oldbibnum,
> 1412 );
> 1413 }
> <--
>
>>
>> Here it is:
>>
>> Arguments must be MARC::Field object at
>> /usr/local/koha/intranet/modules/C4/Biblio.pm line 1440
Sorry. I'm no perl-professional at all. I just managed to have koha running
on sarge and wanted to have it on an updated etch. But I'm stuck and it
seems that nobody is able to tell something about this ...
Today I removed most of the perl-packages did a rm /usr/local/share/perl -r
and started the install-process of koha all over again (following the
guidelines for sarge). -> same result. I confess that I'm lost.
Beda
More information about the Koha
mailing list