Cannot add Item - server error
I am trying to test, if Koha can work for us. We have imported the Danmarc2 format instead of marc21, and after some work with the Koha db- Marc linking, the Marc Check is finally OK. BUT: Adding the Biblio seems to be OK - but when I after the Biblio is added is transfered to the "New Item" screen, there is a failure when I press "Add Item" The browser changes its url to http://admin.koha.boegenielsen.dk/cgi-bin/koha/acqui.simple/additem.pl and responds with a 500-error "Internal Server Error". The koha-error-log: [Thu Aug 5 16:28:11 2004] [error] [client 194.192.135.47] Premature end of script headers: /usr/local/koha/intranet/cgi-bin/acqui.simple/additem.pl Fields below 010 do not have subfields at /usr/local/koha/intranet/modules/C4/Biblio.pm line 909 [Thu Aug 5 16:29:41 2004] [error] [client 194.192.135.47] Premature end of script headers: /usr/local/koha/intranet/cgi-bin/acqui.simple/additem.pl /Thomas Bøge
Thomas Bøge wrote:
I am trying to test, if Koha can work for us. We have imported the Danmarc2 format instead of marc21, and after some work with the Koha db- Marc linking, the Marc Check is finally OK.
BUT: Adding the Biblio seems to be OK - but when I after the Biblio is added is transfered to the "New Item" screen, there is a failure when I press "Add Item" The browser changes its url to http://admin.koha.boegenielsen.dk/cgi-bin/koha/acqui.simple/additem.pl and responds with a 500-error "Internal Server Error".
The koha-error-log: [Thu Aug 5 16:28:11 2004] [error] [client 194.192.135.47] Premature end of script headers: /usr/local/koha/intranet/cgi-bin/acqui.simple/additem.pl Fields below 010 do not have subfields at /usr/local/koha/intranet/modules/C4/Biblio.pm line 909 [Thu Aug 5 16:29:41 2004] [error] [client 194.192.135.47] Premature end of script headers: /usr/local/koha/intranet/cgi-bin/acqui.simple/additem.pl
mmm... how are your items mapped ? On which MARC field ? (in UNIMARC 995, in MARC21 852 usually) It seems there is a subfield on a field <10, and that's invalid. -- Paul POULAIN Consultant indépendant en logiciels libres responsable francophone de koha (SIGB libre http://www.koha-fr.org)
Paul POULAIN skrev:
Thomas Bøge wrote:
I am trying to test, if Koha can work for us. We have imported the Danmarc2 format instead of marc21, and after some work with the Koha db- Marc linking, the Marc Check is finally OK.
BUT: Adding the Biblio seems to be OK - but when I after the Biblio is added is transfered to the "New Item" screen, there is a failure when I press "Add Item" The browser changes its url to http://admin.koha.boegenielsen.dk/cgi-bin/koha/acqui.simple/additem.pl and responds with a 500-error "Internal Server Error".
The koha-error-log: [Thu Aug 5 16:28:11 2004] [error] [client 194.192.135.47] Premature end of script headers: /usr/local/koha/intranet/cgi-bin/acqui.simple/additem.pl Fields below 010 do not have subfields at /usr/local/koha/intranet/modules/C4/Biblio.pm line 909 [Thu Aug 5 16:29:41 2004] [error] [client 194.192.135.47] Premature end of script headers: /usr/local/koha/intranet/cgi-bin/acqui.simple/additem.pl
mmm... how are your items mapped ? On which MARC field ? (in UNIMARC 995, in MARC21 852 usually) It seems there is a subfield on a field <10, and that's invalid.
I have mapped a lot of the items field in "Marc Links". I have used tag 99 (I am using Danmarc)
On 2004-08-05 15:32:34 +0100 Thomas Bøge <thomas@boegenielsen.dk> wrote:
Fields below 010 do not have subfields at /usr/local/koha/intranet/modules/C4/Biblio.pm line 909
Is that in MARCmarc2kohaOneField? Is this assertion still true for danmarc2? If so, why don't we see this problem everywhere? -- MJR/slef My Opinion Only and not of any group I know http://www.ttllp.co.uk/ for creative copyleft computing Please email about: BT alternative for line rental+DSL; Education on SMEs+EU FP6; office filing that works fast
MJ Ray skrev:
On 2004-08-05 15:32:34 +0100 Thomas Bøge <thomas@boegenielsen.dk> wrote:
Fields below 010 do not have subfields at /usr/local/koha/intranet/modules/C4/Biblio.pm line 909
Is that in MARCmarc2kohaOneField? Is this assertion still true for danmarc2? If so, why don't we see this problem everywhere?
I would really like to answer your question - But I dont have enough knowledge. As I under stand MARCmarc2kohaOneField is a variable in the perlscript. I have made no changes to the perlscripts (actually I am no perl-coder), but only tried to setup the links between koha-old-db and danmarc2 through the web-interface. I will be happy to give you more information if you could give me a some help to find the nescessary information. /Thomas
On 2004-08-08 23:40:54 +0100 Thomas Bøge <thomas@boegenielsen.dk> wrote:
MJ Ray skrev:
On 2004-08-05 15:32:34 +0100 Thomas Bøge <thomas@boegenielsen.dk> wrote:
Fields below 010 do not have subfields at /usr/local/koha/intranet/modules/C4/Biblio.pm line 909 Is that in MARCmarc2kohaOneField? Is this assertion still true for danmarc2? If so, why don't we see this problem everywhere? I would really like to answer your question - But I dont have enough knowledge.
There are three questions. The third is hoping for a developer, not really aimed at you in particular. Let's look at the other two.
As I under stand MARCmarc2kohaOneField is a variable in the perlscript. [...]
It's a function. In other words: if you look at line 909 of the named file, then move up to the first line starting "sub", is the next word MARCmarc2kohaOneField?
I will be happy to give you more information if you could give me a some help to find the nescessary information.
I don't know danmarc enough to know where to tell you to find the necessary information about whether it has repeatable fields below 010. Maybe someone on this list does. -- MJR/slef My Opinion Only and not of any group I know http://www.ttllp.co.uk/ for creative copyleft computing Please email about: BT alternative for line rental+DSL; Education on SMEs+EU FP6; office filing that works fast
Thank you for trying to help me. Yes, the error occurs in the sub MARCmarc2kohaOneField. Yes, There are tags as well as subfields which are repeatable in danmarc2. None of them are linked to the old-koha-db. /Thomas 8/8-2004, wrote "MJ Ray" <mjr@dsl.pipex.com>:
On 2004-08-08 23:40:54 +0100 Thomas Bøge <thomas@boegenielsen.dk> wrote:
MJ Ray skrev:
On 2004-08-05 15:32:34 +0100 Thomas Bøge <thomas@boegenielsen.dk> wrote:
Fields below 010 do not have subfields at /usr/local/koha/intranet/modules/C4/Biblio.pm line 909 Is that in MARCmarc2kohaOneField? Is this assertion still true for danmarc2? If so, why don't we see this problem everywhere? I would really like to answer your question - But I dont have enough knowledge.
There are three questions. The third is hoping for a developer, not really aimed at you in particular. Let's look at the other two.
As I under stand MARCmarc2kohaOneField is a variable in the perlscript. [...]
It's a function. In other words: if you look at line 909 of the named file, then move up to the first line starting "sub", is the next word MARCmarc2kohaOneField?
I will be happy to give you more information if you could give me a some help to find the nescessary information.
I don't know danmarc enough to know where to tell you to find the necessary information about whether it has repeatable fields below 010. Maybe someone on this list does.
-- MJR/slef My Opinion Only and not of any group I know http://www.ttllp.co.uk/ for creative copyleft computing Please email about: BT alternative for line rental+DSL; Education on SMEs+EU FP6; office filing that works fast
_______________________________________________ Koha mailing list Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
Well - now I have tried to set repeatable=0 the tables /marc_tag_structure <http://thomas.mine.nu/phpmyadmin/tbl_properties_structure.php?lang=en-iso-8859-1&server=1&db=Koha&table=marc_tag_structure> and / /marc_subfield_structure <http://thomas.mine.nu/phpmyadmin/tbl_properties_structure.php?lang=en-iso-8859-1&server=1&db=Koha&table=marc_subfield_structure>/ for any tagfield<10 directly on the db with sql. But the same error occurs: Fields below 010 do not have subfields at /usr/local/koha/intranet/cgi-bin/acqui.simple/additem.pl line 39 [Mon Aug 9 20:07:40 2004] [error] [client 80.62.82.158] Premature end of script headers: /usr/local/koha/intranet/cgi-bin/acqui.simple/additem.pl Thomas Bøge skrev:
Thank you for trying to help me.
Yes, the error occurs in the sub MARCmarc2kohaOneField. Yes, There are tags as well as subfields which are repeatable in danmarc2. None of them are linked to the old-koha-db. /Thomas
8/8-2004, wrote "MJ Ray" <mjr@dsl.pipex.com>:
On 2004-08-08 23:40:54 +0100 Thomas Bøge <thomas@boegenielsen.dk> wrote:
MJ Ray skrev:
On 2004-08-05 15:32:34 +0100 Thomas Bøge <thomas@boegenielsen.dk> wrote:
Fields below 010 do not have subfields at /usr/local/koha/intranet/modules/C4/Biblio.pm line 909
Is that in MARCmarc2kohaOneField? Is this assertion still true for danmarc2? If so, why don't we see this problem everywhere?
I would really like to answer your question - But I dont have enough knowledge.
There are three questions. The third is hoping for a developer, not really aimed at you in particular. Let's look at the other two.
As I under stand MARCmarc2kohaOneField is a variable in the perlscript. [...]
It's a function. In other words: if you look at line 909 of the named file, then move up to the first line starting "sub", is the next word MARCmarc2kohaOneField?
I will be happy to give you more information if you could give me a some help to find the nescessary information.
I don't know danmarc enough to know where to tell you to find the necessary information about whether it has repeatable fields below 010. Maybe someone on this list does.
-- MJR/slef My Opinion Only and not of any group I know http://www.ttllp.co.uk/ for creative copyleft computing Please email about: BT alternative for line rental+DSL; Education on SMEs+EU FP6; office filing that works fast
_______________________________________________ Koha mailing list Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
_______________________________________________ Koha mailing list Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
Thomas Bøge wrote:
Well - now I have tried to set repeatable=0 the tables
/marc_tag_structure <http://thomas.mine.nu/phpmyadmin/tbl_properties_structure.php?lang=en-iso-8859-1&server=1&db=Koha&table=marc_tag_structure>
and /
/marc_subfield_structure <http://thomas.mine.nu/phpmyadmin/tbl_properties_structure.php?lang=en-iso-8859-1&server=1&db=Koha&table=marc_subfield_structure>/ for any tagfield<10 directly on the db with sql.
But the same error occurs: Fields below 010 do not have subfields at /usr/local/koha/intranet/cgi-bin/acqui.simple/additem.pl line 39 [Mon Aug 9 20:07:40 2004] [error] [client 80.62.82.158] Premature end of script headers: /usr/local/koha/intranet/cgi-bin/acqui.simple/additem.pl
The problem is NOT repeatable subfields. It's that in MARC, fields below 10 do not have subfields. This error is not a Koha one, but a MARC::Record one. If danmarc has subfields in field below 10, then it's a really a problem... I think this error occurs because you have mapped to tab=10 or to items.something field a field < 010. -- Paul POULAIN Consultant indépendant en logiciels libres responsable francophone de koha (SIGB libre http://www.koha-fr.org)
"Paul POULAIN" wrote:
Thomas Bøge wrote:
Well - now I have tried to set repeatable=0 the tables
/marc_tag_structure <http://thomas.mine.nu/phpmyadmin/tbl_properties_structure.php?lang=en-iso-8859-1&server=1&db=Koha&table=marc_tag_structure>
and /
/marc_subfield_structure <http://thomas.mine.nu/phpmyadmin/tbl_properties_structure.php?lang=en-iso-8859-1&server=1&db=Koha&table=marc_subfield_structure>/ for any tagfield<10 directly on the db with sql.
But the same error occurs: Fields below 010 do not have subfields at /usr/local/koha/intranet/cgi-bin/acqui.simple/additem.pl line 39 [Mon Aug 9 20:07:40 2004] [error] [client 80.62.82.158] Premature end of script headers: /usr/local/koha/intranet/cgi-bin/acqui.simple/additem.pl
The problem is NOT repeatable subfields. It's that in MARC, fields below 10 do not have subfields.
This error is not a Koha one, but a MARC::Record one. If danmarc has subfields in field below 10, then it's a really a problem...
I think this error occurs because you have mapped to tab=10 or to items.something field a field < 010.
Yes, DanMARC2 has all codes placed in each their subfield in tags below 10, e.g. 004, 008, and 009. (None of them are mapped to Koha DB fields, though). Karin (working on the same installation as Thomas Bøge)
Koha mailing list Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
Karin Christensen wrote:
"Paul POULAIN" wrote:
Thomas Bøge wrote:
But the same error occurs: Fields below 010 do not have subfields at /usr/local/koha/intranet/cgi-bin/acqui.simple/additem.pl line 39 [Mon Aug 9 20:07:40 2004] [error] [client 80.62.82.158] Premature end of script headers: /usr/local/koha/intranet/cgi-bin/acqui.simple/additem.pl
The problem is NOT repeatable subfields. It's that in MARC, fields below 10 do not have subfields.
This error is not a Koha one, but a MARC::Record one. If danmarc has subfields in field below 10, then it's a really a problem...
I think this error occurs because you have mapped to tab=10 or to items.something field a field < 010.
<> Yes, DanMARC2 has all codes placed in each their subfield in tags below 10, e.g. 004, 008, and 009. (None of them are mapped to Koha DB fields, though).
Karin (working on the same installation as Thomas Bøge)
So, you really have a problem... perl4lib ML, & MARC::Record maintainer(s), any idea ? -- Paul POULAIN Consultant indépendant en logiciels libres responsable francophone de koha (SIGB libre http://www.koha-fr.org)
participants (4)
-
Karin Christensen -
MJ Ray -
Paul POULAIN -
Thomas Bøge