Problem adding 2 or more items to a record
Hello everyone, I'm currently working to get Koha installed for our small library, which has about 20,000 books. I have been able to get Koha installed successfully, but have had a probem when a record has 2 or more items added to it. We imported all of our MARC data, but the items did not import over. So, at that point we decided to do some testing and manually add some items to a few records. We found that when we add 2 or more items to a single record, when we click that record in the OPAC search results, we get a 404 page. But, if we remove those items, leaving 0 items or 1 item, then the link works fine. I have tried the following install scenarios, and had the same results each time. Koha 3.00.04_fixed on CentOS 5.2 x86 Koha 3.00.04_fixed on Ubuntu 8.04 x86 Koha 3.02.00-alpha on CentOS 5.2 x86 Koha 3.02.00-alpha on Ubuntu 8.04 x86 Our backend is a Linux MySQL 5 server, completely different box. With each version, I left the database intact and just pointed the Koha install at it. I posted a backtrace on IRC yesterday to see if someone could help. We get the following backtrace on 3.00.04 on both CentOS and Ubuntu http://paste.workbuffer.org/4 I'm really confused at this point, and am not really sure what to do next. If we can't add more than 1 item to a record, then the software really won't be able to help us. Can someone please offer some help or maybe some pointers where I could troubleshoot further? I've only been using the software for 2 days so I'm still learning about it. We would love to have this in our Library. Thank! Jay
Hello Jay Am 27.02.2010 18:43, schrieb jay:
Hello everyone,
I'm currently working to get Koha installed for our small library, which has about 20,000 books. I have been able to get Koha installed successfully, but have had a probem when a record has 2 or more items added to it.
We imported all of our MARC data, but the items did not import over. So, at that point we decided to do some testing and manually add some items to a few records. We found that when we add 2 or more items to a single record, when we click that record in the OPAC search results, we get a 404 page. But, if we remove those items, leaving 0 items or 1 item, then the link works fine.
What are clicking? The Barcode, the title? I guess you have a problem with the barcodes, they have to be unique (Maybe that was the problem when you tried to import your records). I'm runing 3.00.05 and have some records with more than twenty items. They work fine. Greetings Beda
Thanks. I'm clicking the Title. None of the barcodes or items came over in the import. So while testing we just manually added them. I suppose we might have a duplicate barcode in there? I can check on that. We imported the MARC data from an old piece of software, that might be part of the problem too. Jay On Mon, Mar 1, 2010 at 12:44 PM, Beda Szukics <beda@muri-gries.ch> wrote:
Hello Jay
Am 27.02.2010 18:43, schrieb jay:
Hello everyone,
I'm currently working to get Koha installed for our small library, which has about 20,000 books. I have been able to get Koha installed successfully, but have had a probem when a record has 2 or more items added to it.
We imported all of our MARC data, but the items did not import over. So, at that point we decided to do some testing and manually add some items to a few records. We found that when we add 2 or more items to a single record, when we click that record in the OPAC search results, we get a 404 page. But, if we remove those items, leaving 0 items or 1 item, then the link works fine.
What are clicking? The Barcode, the title?
I guess you have a problem with the barcodes, they have to be unique (Maybe that was the problem when you tried to import your records).
I'm runing 3.00.05 and have some records with more than twenty items. They work fine.
Greetings Beda
_______________________________________________ Koha mailing list Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
Am 01.03.2010 20:03, schrieb jay:
Thanks. I'm clicking the Title. None of the barcodes or items came over in the import. So while testing we just manually added them. I suppose we might have a duplicate barcode in there? I can check on that. We imported the MARC data from an old piece of software, that might be part of the problem too.
Did you have a look at /var/spool/log/koha/... Sometimes it's helpful. I really don't have an idea why the number of items should cause these problems. Beda
On Wed, Mar 3, 2010 at 12:37 PM, Beda Szukics <beda@muri-gries.ch> wrote:
Am 01.03.2010 20:03, schrieb jay:
Thanks. I'm clicking the Title. None of the barcodes or items came over in the import. So while testing we just manually added them. I suppose we might have a duplicate barcode in there? I can check on that. We imported the MARC data from an old piece of software, that might be part of the problem too.
Did you have a look at /var/spool/log/koha/... Sometimes it's helpful. I really don't have an idea why the number of items should cause these problems.
Beda
Found the problem. We were importing MARC records incorrectly. Koha was expecting the individual items to be in field 952, but our data export had them in 852. Once I figured that out, and then got the subfields setup correctly, it worked! :-) Had to learn a lot about MARC records and write a small python script to help me out. Thanks for the help! Jay
participants (2)
-
Beda Szukics -
jay