(Gentoo Linux 2.6.24, Apache 2.0.61, MySQL 5.0.56, Perl 5.8.8) Hi, all. Having upgraded my Koha with the one-line fix that was the source of my last problem, I'm now having this problem: When I try to add a new biblio, I get this immediately after clicking "Save": ------------------------------- The following fatal error has occurred: Bad index while coercing array into hash at /usr/share/koha/lib/C4/Biblio.pm line 2267. Apache Server version: Apache/2.0.61 Server built: Dec 5 2007 16:53:30 Koha 3.00.00.069 Koha DB 3.0000069 MySQL mysql Ver 14.12 Distrib 5.0.56, for pc-linux-gnu (i686) using readline 5.2 OS Linux www 2.6.24-gentoo-r5 #1 SMP Wed Apr 9 22:16:10 EDT 2008 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz GenuineIntel GNU/Linux Perl 5.008008 ------------------------------- This is a Koha snapshot as of last night. I didn't see any obvious changes in Biblio.pm or addbiblio.pl that would account for this error. Does anyone have any ideas what the problem here might be? Thanks to anyone who can help!
Hi, On Fri, Apr 18, 2008 at 1:21 PM, George Adams <g_adams27@hotmail.com> wrote:
When I try to add a new biblio, I get this immediately after clicking "Save": [snip] This is a Koha snapshot as of last night. I didn't see any obvious changes in Biblio.pm or addbiblio.pl that would account for this error. Does anyone have any ideas what the problem here might be?
I have identified the source of the bug and will be submitting a patch later today - it is triggered by your database using MARC21 and having NoZebra and BibiioAddsAuthorities both on. Regards, Galen -- Galen Charlton Koha Application Developer LibLime galen.charlton@liblime.com p: 1-888-564-2457 x709
Thank you Galen - I discovered that turning off BiblioAddsAuthorities worked as a workaround for the problem. I inserted various "warn" statements in the code until I traced it back to C4/Biblio.pm. The error occurred at the line: $title = $record->subfield($authref->{auth_tag_to_report},'a'); I didn't delve into it beyond that. I'll just leave BiblioAddsAuthorities off for now.
Date: Fri, 18 Apr 2008 15:05:06 -0500 From: galen.charlton@liblime.com To: g_adams27@hotmail.com Subject: Re: [Koha] Bad index while coercing array into hash CC: koha@lists.katipo.co.nz
Hi,
On Fri, Apr 18, 2008 at 1:21 PM, George Adams <g_adams27@hotmail.com> wrote:
When I try to add a new biblio, I get this immediately after clicking "Save": [snip] This is a Koha snapshot as of last night. I didn't see any obvious changes in Biblio.pm or addbiblio.pl that would account for this error. Does anyone have any ideas what the problem here might be?
I have identified the source of the bug and will be submitting a patch later today - it is triggered by your database using MARC21 and having NoZebra and BibiioAddsAuthorities both on.
Regards,
Galen -- Galen Charlton Koha Application Developer LibLime galen.charlton@liblime.com p: 1-888-564-2457 x709
_________________________________________________________________ Pack up or back up–use SkyDrive to transfer files or keep extra copies. Learn how. http://www.windowslive.com/skydrive/overview.html?ocid=TXT_TAGLM_WL_Refresh_...
participants (2)
-
Galen Charlton -
George Adams