[Koha] Can not place hold on an item

Jarosław Prokopowski jprokopowski at googlemail.com
Wed Aug 5 01:33:42 NZST 2009


Hello,

I have prepared simplified MARC framework for enterfing new books into
catalog (SQL file in the attachment:koha_template_final.txt).
I can add a book to the catalog, add item, search for the book but I
can't place a hold on it.

I tried to add a book using default framework (the complete MARC
framework) but the effect is the same.
Can you please advice? Entries from error logs below.

Regards
Jarek

An error that appears in the koha-opac-error.log while trying to
place hold on a book:
----------------------------
[Tue Aug 04 13:28:30 2009] [error] [client 193.138.110.138] [Tue Aug
4 13:28:30 2009] opac-reserve.pl: Use of uninitialized value in hash
element at /usr/share/koha/opac/cgi-bin/opac/opac-reserve.pl line
436., referer: http://belzebubek.e-lista.pl/cgi-bin/koha/opac-basket.pl?bib_list=1/
----------------------------


An error that appears in the koha-error.log while editing item:
-----------------------------
[Tue Aug 04 13:29:31 2009] [error] [client 193.138.110.138] [Tue Aug
4 13:29:31 2009] additem.pl: Plugin Failed:
/usr/share/koha/intranet/cgi-bin/cataloguing/value_builder/marc21_locationqualifier.pl
at /us
r/share/koha/intranet/cgi-bin/cataloguing/additem.pl line 482.,
referer: http://e-lista.pl:8080/cgi-bin/koha/cataloguing/additem.pl?op=edititem&biblionumber=1&itemnumber=1
[Tue Aug 04 13:30:25 2009] [error] [client 193.138.110.138] [Tue Aug
4 13:30:25 2009] additem.pl: Use of uninitialized value in pattern
match (m//) at /usr/share/koha/lib/C4/Biblio.pm line 2565., referer: h
ttp://e-lista.pl:8080/cgi-bin/koha/cataloguing/additem.pl?op=edititem&biblionumber=1&itemnumber=1
[Tue Aug 04 13:30:25 2009] [error] [client 193.138.110.138] [Tue Aug
4 13:30:25 2009] additem.pl: Use of uninitialized value in pattern
match (m//) at /usr/share/koha/lib/C4/Biblio.pm line 2565., referer: h
ttp://e-lista.pl:8080/cgi-bin/koha/cataloguing/additem.pl?op=edititem&biblionumber=1&itemnumber=1
[Tue Aug 04 13:30:25 2009] [error] [client 193.138.110.138] [Tue Aug
4 13:30:25 2009] additem.pl: Use of uninitialized value in pattern
match (m//) at /usr/share/koha/lib/C4/Biblio.pm line 2565., referer: h
ttp://e-lista.pl:8080/cgi-bin/koha/cataloguing/additem.pl?op=edititem&biblionumber=1&itemnumber=1
[Tue Aug 04 13:30:25 2009] [error] [client 193.138.110.138] [Tue Aug
4 13:30:25 2009] additem.pl: Use of uninitialized value in pattern
match (m//) at /usr/share/koha/lib/C4/Biblio.pm line 2565., referer: h
ttp://e-lista.pl:8080/cgi-bin/koha/cataloguing/additem.pl?op=edititem&biblionumber=1&itemnumber=1
...
[Tue Aug 04 13:30:25 2009] [error] [client 193.138.110.138] [Tue Aug
4 13:30:25 2009] additem.pl: Use of uninitialized value $1 in addition
(+) at /usr/share/koha/lib/C4/Biblio.pm line 2683., referer:
http://e-lista.pl:8080/cgi-bin/koha/cataloguing/additem.pl?op=edititem&biblionumber=1&itemnumber=1
[Tue Aug 04 13:30:25 2009] [error] [client 193.138.110.138] [Tue Aug
4 13:30:25 2009] additem.pl: Use of uninitialized value $1 in addition
(+) at /usr/share/koha/lib/C4/Biblio.pm line 2683., referer:
http://e-lista.pl:8080/cgi-bin/koha/cataloguing/additem.pl?op=edititem&biblionumber=1&itemnumber=1
[Tue Aug 04 13:30:25 2009] [error] [client 193.138.110.138] [Tue Aug
4 13:30:25 2009] additem.pl: Use of uninitialized value $1 in addition
(+) at /usr/share/koha/lib/C4/Biblio.pm line 2683., referer:
http://e-lista.pl:8080/cgi-bin/koha/cataloguing/additem.pl?op=edititem&biblionumber=1&itemnumber=1
[Tue Aug 04 13:30:25 2009] [error] [client 193.138.110.138] [Tue Aug
4 13:30:25 2009] additem.pl: Use of uninitialized value $1 in addition
(+) at /usr/share/koha/lib/C4/Biblio.pm line 2683., referer:
http://e-lista.pl:8080/cgi-bin/koha/cataloguing/additem.pl?op=edititem&biblionumber=1&itemnumber=1
[Tue Aug 04 13:30:25 2009] [error] [client 193.138.110.138] [Tue Aug
4 13:30:25 2009] additem.pl: Use of uninitialized value $1 in addition
(+) at /usr/share/koha/lib/C4/Biblio.pm line 2683., referer:
http://e-lista.pl:8080/cgi-bin/koha/cataloguing/additem.pl?op=edititem&biblionumber=1&itemnumber=1
...
[Tue Aug 04 13:30:25 2009] [error] [client 193.138.110.138] [Tue Aug
4 13:30:25 2009] additem.pl: Plugin Failed:
/usr/share/koha/intranet/cgi-bin/cataloguing/value_builder/marc21_locationqualifier.pl
at /usr/share/koha/intranet/cgi-bin/cataloguing/additem.pl line 482.,
referer: http://e-lista.pl:8080/cgi-bin/koha/cataloguing/additem.pl?op=edititem&biblionumber=1&itemnumber=1
[Tue Aug 04 13:54:49 2009] [error] [client 193.138.110.138] [Tue Aug
4 13:54:49 2009] additem.pl: Plugin Failed:
/usr/share/koha/intranet/cgi-bin/cataloguing/value_builder/marc21_locationqualifier.pl
at /usr/share/koha/intranet/cgi-bin/cataloguing/additem.pl line 485.,
referer: http://e-lista.pl:8080/cgi-bin/koha/cataloguing/additem.pl
[Tue Aug 04 13:54:56 2009] [error] [client 193.138.110.138] [Tue Aug
4 13:54:56 2009] additem.pl: Use of uninitialized value in pattern
match (m//) at /usr/share/koha/lib/C4/Biblio.pm line 2565., referer:
http://e-lista.pl:8080/cgi-bin/koha/cataloguing/additem.pl?op=edititem&biblionumber=1&itemnumber=1
[Tue Aug 04 13:54:56 2009] [error] [client 193.138.110.138] [Tue Aug
4 13:54:56 2009] additem.pl: Use of uninitialized value in pattern
match (m//) at /usr/share/koha/lib/C4/Biblio.pm line 2565., referer:
http://e-lista.pl:8080/cgi-bin/koha/cataloguing/additem.pl?op=edititem&biblionumber=1&itemnumber=1
[Tue Aug 04 13:54:56 2009] [error] [client 193.138.110.138] [Tue Aug
4 13:54:56 2009] additem.pl: Use of uninitialized value in pattern
match (m//) at /usr/share/koha/lib/C4/Biblio.pm line 2565., referer:
http://e-lista.pl:8080/cgi-bin/koha/cataloguing/additem.pl?op=edititem&biblionumber=1&itemnumber=1
[Tue Aug 04 13:54:56 2009] [error] [client 193.138.110.138] [Tue Aug
4 13:54:56 2009] additem.pl: Use of uninitialized value in pattern
match (m//) at /usr/share/koha/lib/C4/Biblio.pm line 2565., referer:
http://e-lista.pl:8080/cgi-bin/koha/cataloguing/additem.pl?op=edititem&biblionumber=1&itemnumber=1
...
[Tue Aug 04 13:54:56 2009] [error] [client 193.138.110.138] [Tue Aug
4 13:54:56 2009] additem.pl: Use of uninitialized value $1 in addition
(+) at /usr/share/koha/lib/C4/Biblio.pm line 2683., referer:
http://e-lista.pl:8080/cgi-bin/koha/cataloguing/additem.pl?op=edititem&biblionumber=1&itemnumber=1
[Tue Aug 04 13:54:56 2009] [error] [client 193.138.110.138] [Tue Aug
4 13:54:56 2009] additem.pl: Use of uninitialized value $1 in addition
(+) at /usr/share/koha/lib/C4/Biblio.pm line 2683., referer:
http://e-lista.pl:8080/cgi-bin/koha/cataloguing/additem.pl?op=edititem&biblionumber=1&itemnumber=1
[Tue Aug 04 13:54:56 2009] [error] [client 193.138.110.138] [Tue Aug
4 13:54:56 2009] additem.pl: Use of uninitialized value $1 in addition
(+) at /usr/share/koha/lib/C4/Biblio.pm line 2683., referer:
http://e-lista.pl:8080/cgi-bin/koha/cataloguing/additem.pl?op=edititem&biblionumber=1&itemnumber=1
[Tue Aug 04 13:54:56 2009] [error] [client 193.138.110.138] [Tue Aug
4 13:54:56 2009] additem.pl: Use of uninitialized value $1 in addition
(+) at /usr/share/koha/lib/C4/Biblio.pm line 2683., referer:
http://e-lista.pl:8080/cgi-bin/koha/cataloguing/additem.pl?op=edititem&biblionumber=1&itemnumber=1
...
[Tue Aug 04 13:54:56 2009] [error] [client 193.138.110.138] [Tue Aug
4 13:54:56 2009] additem.pl: Plugin Failed:
/usr/share/koha/intranet/cgi-bin/cataloguing/value_builder/marc21_locationqualifier.pl
at /usr/share/koha/intranet/cgi-bin/cataloguing/additem.pl line 485.,
referer: http://e-lista.pl:8080/cgi-bin/koha/cataloguing/additem.pl?op=edititem&biblionumber=1&itemnumber=1
[Tue Aug 04 15:06:54 2009] [error] [client 193.138.110.138] [Tue Aug
4 15:06:54 2009] addbiblio.pl: DBD::mysql::st execute failed: Table
'koha.auth_subfield_table' doesn't exist at
/usr/share/koha/intranet/cgi-bin/cataloguing/value_builder/unimarc_field_210c.pl
line 72., referer:
http://e-lista.pl:8080/cgi-bin/koha/cataloguing/addbooks.pl
[Tue Aug 04 15:06:54 2009] [error] [client 193.138.110.138] [Tue Aug
4 15:06:54 2009] addbiblio.pl: DBD::mysql::st fetchrow failed: fetch()
without execute() at
/usr/share/koha/intranet/cgi-bin/cataloguing/value_builder/unimarc_field_210c.pl
line 75., referer:
http://e-lista.pl:8080/cgi-bin/koha/cataloguing/addbooks.pl
[Tue Aug 04 15:07:04 2009] [error] [client 193.138.110.138] File does
not exist: /usr/share/koha/intranet/htdocs/favicon.ico
[Tue Aug 04 15:07:46 2009] [error] [client 193.138.110.138] [Tue Aug
4 15:07:46 2009] addbiblio.pl: NZAND at
/usr/share/koha/lib/C4/Search.pm line 1544., referer:
http://e-lista.pl:8080/cgi-bin/koha/cataloguing/addbiblio.pl?frameworkcode=
[Tue Aug 04 15:07:46 2009] [error] [client 193.138.110.138] [Tue Aug
4 15:07:46 2009] addbiblio.pl: Use of uninitialized value in length at
/usr/share/koha/lib/C4/Biblio.pm line 3275., referer:
http://e-lista.pl:8080/cgi-bin/koha/cataloguing/addbiblio.pl?frameworkcode=
[Tue Aug 04 15:07:46 2009] [error] [client 193.138.110.138] [Tue Aug
4 15:07:46 2009] addbiblio.pl: Use of uninitialized value in pattern
match (m//) at /usr/share/koha/lib/C4/Biblio.pm line 2672., referer:
http://e-lista.pl:8080/cgi-bin/koha/cataloguing/addbiblio.pl?frameworkcode=
[Tue Aug 04 15:07:46 2009] [error] [client 193.138.110.138] [Tue Aug
4 15:07:46 2009] addbiblio.pl: Use of uninitialized value in pattern
match (m//) at /usr/share/koha/lib/C4/Biblio.pm line 2672., referer:
http://e-lista.pl:8080/cgi-bin/koha/cataloguing/addbiblio.pl?frameworkcode=
[Tue Aug 04 15:07:46 2009] [error] [client 193.138.110.138] [Tue Aug
4 15:07:46 2009] addbiblio.pl: Use of uninitialized value $1 in
addition (+) at /usr/share/koha/lib/C4/Biblio.pm line 2683., referer:
http://e-lista.pl:8080/cgi-bin/koha/cataloguing/addbiblio.pl?frameworkcode=
[Tue Aug 04 15:07:46 2009] [error] [client 193.138.110.138] [Tue Aug
4 15:07:46 2009] addbiblio.pl: Use of uninitialized value in pattern
match (m//) at /usr/share/koha/lib/C4/Biblio.pm line 2672., referer:
http://e-lista.pl:8080/cgi-bin/koha/cataloguing/addbiblio.pl?frameworkcode=
[Tue Aug 04 15:07:46 2009] [error] [client 193.138.110.138] [Tue Aug
4 15:07:46 2009] addbiblio.pl: Use of uninitialized value $1 in
addition (+) at /usr/share/koha/lib/C4/Biblio.pm line 2683., referer:
http://e-lista.pl:8080/cgi-bin/koha/cataloguing/addbiblio.pl?frameworkcode=
[Tue Aug 04 15:07:47 2009] [error] [client 193.138.110.138] [Tue Aug
4 15:07:47 2009] additem.pl: Plugin Failed:
/usr/share/koha/intranet/cgi-bin/cataloguing/value_builder/marc21_locationqualifier.pl
at /usr/share/koha/intranet/cgi-bin/cataloguing/additem.pl line 485.,
referer: http://e-lista.pl:8080/cgi-bin/koha/cataloguing/addbiblio.pl?frameworkcode=
[Tue Aug 04 15:12:05 2009] [error] [client 193.138.110.138] [Tue Aug
4 15:12:05 2009] additem.pl: Use of uninitialized value in pattern
match (m//) at /usr/share/koha/lib/C4/Biblio.pm line 2565., referer:
http://e-lista.pl:8080/cgi-bin/koha/cataloguing/additem.pl?biblionumber=2&frameworkcode=
[Tue Aug 04 15:12:05 2009] [error] [client 193.138.110.138] [Tue Aug
4 15:12:05 2009] additem.pl: Use of uninitialized value in pattern
match (m//) at /usr/share/koha/lib/C4/Biblio.pm line 2565., referer:
http://e-lista.pl:8080/cgi-bin/koha/cataloguing/additem.pl?biblionumber=2&frameworkcode=
[Tue Aug 04 15:12:05 2009] [error] [client 193.138.110.138] [Tue Aug
4 15:12:05 2009] additem.pl: Use of uninitialized value in pattern
match (m//) at /usr/share/koha/lib/C4/Biblio.pm line 2565., referer:
http://e-lista.pl:8080/cgi-bin/koha/cataloguing/additem.pl?biblionumber=2&frameworkcode=
[Tue Aug 04 15:12:05 2009] [error] [client 193.138.110.138] [Tue Aug
4 15:12:05 2009] additem.pl: Use of uninitialized value $1 in addition
(+) at /usr/share/koha/lib/C4/Biblio.pm line 2683., referer:
http://e-lista.pl:8080/cgi-bin/koha/cataloguing/additem.pl?biblionumber=2&frameworkcode=
[Tue Aug 04 15:12:05 2009] [error] [client 193.138.110.138] [Tue Aug
4 15:12:05 2009] additem.pl: Use of uninitialized value $1 in addition
(+) at /usr/share/koha/lib/C4/Biblio.pm line 2683., referer:
http://e-lista.pl:8080/cgi-bin/koha/cataloguing/additem.pl?biblionumber=2&frameworkcode=
[Tue Aug 04 15:12:05 2009] [error] [client 193.138.110.138] [Tue Aug
4 15:12:05 2009] additem.pl: Use of uninitialized value $1 in addition
(+) at /usr/share/koha/lib/C4/Biblio.pm line 2683., referer:
http://e-lista.pl:8080/cgi-bin/koha/cataloguing/additem.pl?biblionumber=2&frameworkcode=
[Tue Aug 04 15:12:05 2009] [error] [client 193.138.110.138] [Tue Aug
4 15:12:05 2009] additem.pl: Use of uninitialized value in pattern
match (m//) at /usr/share/koha/lib/C4/Biblio.pm line 2672., referer:
http://e-lista.pl:8080/cgi-bin/koha/cataloguing/additem.pl?biblionumber=2&frameworkcode=
[Tue Aug 04 15:12:05 2009] [error] [client 193.138.110.138] [Tue Aug
4 15:12:05 2009] additem.pl: Use of uninitialized value $1 in addition
(+) at /usr/share/koha/lib/C4/Biblio.pm line 2683., referer:
http://e-lista.pl:8080/cgi-bin/koha/cataloguing/additem.pl?biblionumber=2&frameworkcode=
[Tue Aug 04 15:12:05 2009] [error] [client 193.138.110.138] [Tue Aug
4 15:12:05 2009] additem.pl: Use of uninitialized value in pattern
match (m//) at /usr/share/koha/lib/C4/Biblio.pm line 2672., referer:
http://e-lista.pl:8080/cgi-bin/koha/cataloguing/additem.pl?biblionumber=2&frameworkcode=
[Tue Aug 04 15:12:05 2009] [error] [client 193.138.110.138] [Tue Aug
4 15:12:05 2009] additem.pl: Use of uninitialized value in pattern
match (m//) at /usr/share/koha/lib/C4/Biblio.pm line 2672., referer:
http://e-lista.pl:8080/cgi-bin/koha/cataloguing/additem.pl?biblionumber=2&frameworkcode=
[Tue Aug 04 15:12:05 2009] [error] [client 193.138.110.138] [Tue Aug
4 15:12:05 2009] additem.pl: Use of uninitialized value $1 in addition
(+) at /usr/share/koha/lib/C4/Biblio.pm line 2683., referer:
http://e-lista.pl:8080/cgi-bin/koha/cataloguing/additem.pl?biblionumber=2&frameworkcode=
[Tue Aug 04 15:12:05 2009] [error] [client 193.138.110.138] [Tue Aug
4 15:12:05 2009] additem.pl: Plugin Failed:
/usr/share/koha/intranet/cgi-bin/cataloguing/value_builder/marc21_locationqualifier.pl
at /usr/share/koha/intranet/cgi-bin/cataloguing/additem.pl line 485.,
referer: http://e-lista.pl:8080/cgi-bin/koha/cataloguing/additem.pl?biblionumber=2&frameworkcode=
[Tue Aug 04 15:13:26 2009] [error] [client 193.138.110.138] [Tue Aug
4 15:13:26 2009] additem.pl: Plugin Failed:
/usr/share/koha/intranet/cgi-bin/cataloguing/value_builder/marc21_locationqualifier.pl
at /usr/share/koha/intranet/cgi-bin/cataloguing/additem.pl line 485.,
referer: http://e-lista.pl:8080/cgi-bin/koha/cataloguing/additem.pl
[Tue Aug 04 15:15:03 2009] [error] [client 193.138.110.138] [Tue Aug
4 15:15:03 2009] additem.pl: Use of uninitialized value in pattern
match (m//) at /usr/share/koha/lib/C4/Biblio.pm line 2565., referer:
http://e-lista.pl:8080/cgi-bin/koha/cataloguing/additem.pl?op=edititem&biblionumber=2&itemnumber=2
[Tue Aug 04 15:15:03 2009] [error] [client 193.138.110.138] [Tue Aug
4 15:15:03 2009] additem.pl: Use of uninitialized value in pattern
match (m//) at /usr/share/koha/lib/C4/Biblio.pm line 2565., referer:
http://e-lista.pl:8080/cgi-bin/koha/cataloguing/additem.pl?op=edititem&biblionumber=2&itemnumber=2
[Tue Aug 04 15:15:03 2009] [error] [client 193.138.110.138] [Tue Aug
4 15:15:03 2009] additem.pl: Use of uninitialized value in pattern
match (m//) at /usr/share/koha/lib/C4/Biblio.pm line 2565., referer:
http://e-lista.pl:8080/cgi-bin/koha/cataloguing/additem.pl?op=edititem&biblionumber=2&itemnumber=2
[Tue Aug 04 15:15:03 2009] [error] [client 193.138.110.138] [Tue Aug
4 15:15:03 2009] additem.pl: Use of uninitialized value in pattern
match (m//) at /usr/share/koha/lib/C4/Biblio.pm line 2565., referer:
http://e-lista.pl:8080/cgi-bin/koha/cataloguing/additem.pl?op=edititem&biblionumber=2&itemnumber=2
[Tue Aug 04 15:15:03 2009] [error] [client 193.138.110.138] [Tue Aug
4 15:15:03 2009] additem.pl: Use of uninitialized value in pattern
match (m//) at /usr/share/koha/lib/C4/Biblio.pm line 2565., referer:
http://e-lista.pl:8080/cgi-bin/koha/cataloguing/additem.pl?op=edititem&biblionumber=2&itemnumber=2
[Tue Aug 04 15:15:03 2009] [error] [client 193.138.110.138] [Tue Aug
4 15:15:03 2009] additem.pl: Use of uninitialized value in pattern
match (m//) at /usr/share/koha/lib/C4/Biblio.pm line 2565., referer:
http://e-lista.pl:8080/cgi-bin/koha/cataloguing/additem.pl?op=edititem&biblionumber=2&itemnumber=2
[Tue Aug 04 15:15:03 2009] [error] [client 193.138.110.138] [Tue Aug
4 15:15:03 2009] additem.pl: Use of uninitialized value $1 in addition
(+) at /usr/share/koha/lib/C4/Biblio.pm line 2683., referer:
http://e-lista.pl:8080/cgi-bin/koha/cataloguing/additem.pl?op=edititem&biblionumber=2&itemnumber=2
[Tue Aug 04 15:15:03 2009] [error] [client 193.138.110.138] [Tue Aug
4 15:15:03 2009] additem.pl: Use of uninitialized value $1 in addition
(+) at /usr/share/koha/lib/C4/Biblio.pm line 2683., referer:
http://e-lista.pl:8080/cgi-bin/koha/cataloguing/additem.pl?op=edititem&biblionumber=2&itemnumber=2
[Tue Aug 04 15:15:03 2009] [error] [client 193.138.110.138] [Tue Aug
4 15:15:03 2009] additem.pl: Use of uninitialized value $1 in addition
(+) at /usr/share/koha/lib/C4/Biblio.pm line 2683., referer:
http://e-lista.pl:8080/cgi-bin/koha/cataloguing/additem.pl?op=edititem&biblionumber=2&itemnumber=2
[Tue Aug 04 15:15:03 2009] [error] [client 193.138.110.138] [Tue Aug
4 15:15:03 2009] additem.pl: Use of uninitialized value $1 in addition
(+) at /usr/share/koha/lib/C4/Biblio.pm line 2683., referer:
http://e-lista.pl:8080/cgi-bin/koha/cataloguing/additem.pl?op=edititem&biblionumber=2&itemnumber=2
[Tue Aug 04 15:15:03 2009] [error] [client 193.138.110.138] [Tue Aug
4 15:15:03 2009] additem.pl: Use of uninitialized value in pattern
match (m//) at /usr/share/koha/lib/C4/Biblio.pm line 2672., referer:
http://e-lista.pl:8080/cgi-bin/koha/cataloguing/additem.pl?op=edititem&biblionumber=2&itemnumber=2
[Tue Aug 04 15:15:03 2009] [error] [client 193.138.110.138] [Tue Aug
4 15:15:03 2009] additem.pl: Use of uninitialized value in pattern
match (m//) at /usr/share/koha/lib/C4/Biblio.pm line 2672., referer:
http://e-lista.pl:8080/cgi-bin/koha/cataloguing/additem.pl?op=edititem&biblionumber=2&itemnumber=2
[Tue Aug 04 15:15:03 2009] [error] [client 193.138.110.138] [Tue Aug
4 15:15:03 2009] additem.pl: Use of uninitialized value $1 in addition
(+) at /usr/share/koha/lib/C4/Biblio.pm line 2683., referer:
http://e-lista.pl:8080/cgi-bin/koha/cataloguing/additem.pl?op=edititem&biblionumber=2&itemnumber=2
[Tue Aug 04 15:15:03 2009] [error] [client 193.138.110.138] [Tue Aug
4 15:15:03 2009] additem.pl: Use of uninitialized value in pattern
match (m//) at /usr/share/koha/lib/C4/Biblio.pm line 2672., referer:
http://e-lista.pl:8080/cgi-bin/koha/cataloguing/additem.pl?op=edititem&biblionumber=2&itemnumber=2
[Tue Aug 04 15:15:03 2009] [error] [client 193.138.110.138] [Tue Aug
4 15:15:03 2009] additem.pl: Use of uninitialized value $1 in addition
(+) at /usr/share/koha/lib/C4/Biblio.pm line 2683., referer:
http://e-lista.pl:8080/cgi-bin/koha/cataloguing/additem.pl?op=edititem&biblionumber=2&itemnumber=2
[Tue Aug 04 15:15:03 2009] [error] [client 193.138.110.138] [Tue Aug
4 15:15:03 2009] additem.pl: Plugin Failed:
/usr/share/koha/intranet/cgi-bin/cataloguing/value_builder/marc21_locationqualifier.pl
at /usr/share/koha/intranet/cgi-bin/cataloguing/additem.pl line 485.,
referer: http://e-lista.pl:8080/cgi-bin/koha/cataloguing/additem.pl?op=edititem&biblionumber=2&itemnumber=2

----------------------------
-------------- next part --------------
-- Hide all fields up to 900
update marc_subfield_structure set tab=-1 where frameworkcode='BK' and tagfield<900;

-- Hide some fields >900 (to not display them on the "add item" page):
update marc_subfield_structure set hidden=-5 where frameworkcode='BK' and tagfield=990;
update marc_subfield_structure set hidden=-5 where frameworkcode='BK' and tagfield>899 and libopac like '%Withdrawn status%';
update marc_subfield_structure set hidden=-5 where frameworkcode='BK' and tagfield>899 and libopac like '%Origin of item (home branch) (coded)%';
update marc_subfield_structure set hidden=-5 where frameworkcode='BK' and tagfield>899 and libopac like '%Lending or holding organisation (holding branch) code%';
update marc_subfield_structure set hidden=-5 where frameworkcode='BK' and tagfield>899 and libopac like '%Genre detail%';
update marc_subfield_structure set hidden=-5 where frameworkcode='BK' and tagfield>899 and libopac like '%Barcode prefix%';
update marc_subfield_structure set hidden=-5 where frameworkcode='BK' and tagfield>899 and libopac like '%Barcode incrementation%';
update marc_subfield_structure set hidden=-5 where frameworkcode='BK' and tagfield>899 and libopac like '%Barcode suffix%';
update marc_subfield_structure set hidden=-5 where frameworkcode='BK' and tagfield>899 and libopac like '%Section%';
update marc_subfield_structure set hidden=-5 where frameworkcode='BK' and tagfield>899 and libopac like '%Call number (full call number)%';
update marc_subfield_structure set hidden=-5 where frameworkcode='BK' and tagfield>899 and libopac like '%Numbering (volume or other part)%';
update marc_subfield_structure set hidden=-5 where frameworkcode='BK' and tagfield>899 and libopac like '%Expiration of loan date%';
update marc_subfield_structure set hidden=-5 where frameworkcode='BK' and tagfield>899 and libopac like '%Circulation type (not for loan)%';
update marc_subfield_structure set hidden=-5 where frameworkcode='BK' and tagfield>899 and libopac like '%Serial%';
update marc_subfield_structure set hidden=-5 where frameworkcode='BK' and tagfield>899 and libopac like '%Intended audience (age level)%';
update marc_subfield_structure set hidden=-5 where frameworkcode='BK' and tagfield>899 and libopac like '%Acquisition mode%';
update marc_subfield_structure set hidden=-5 where frameworkcode='BK' and tagfield>899 and libopac like '%Genre%';
update marc_subfield_structure set hidden=-5 where frameworkcode='BK' and tagfield>899 and libopac like '%Copy note%';
update marc_subfield_structure set hidden=-5 where frameworkcode='BK' and tagfield>899 and libopac like '%Periodical number%';
update marc_subfield_structure set hidden=-5 where frameworkcode='BK' and tagfield>899 and libopac like '%Recipient organisation code%';
update marc_subfield_structure set hidden=-5 where frameworkcode='BK' and tagfield>899 and libopac like '%Recipient organisation, free text%';
update marc_subfield_structure set hidden=-5 where frameworkcode='BK' and tagfield>899 and libopac like '%Recipient parent organisation code%';
update marc_subfield_structure set hidden=-5 where frameworkcode='BK' and tagfield>899 and libopac like '%Recipient parent organisation, free text%';
update marc_subfield_structure set hidden=-5 where frameworkcode='BK' and tagfield>899 and libopac like '%Uniform Resource Identifier%';
update marc_subfield_structure set hidden=-5 where frameworkcode='BK' and tagfield>899 and libopac like '%System code%';

-- Show needed fields on the first tab
update marc_subfield_structure set tab=0 where frameworkcode='BK' and tagfield=200 and libopac='Title Proper';
update marc_subfield_structure set tab=0 where frameworkcode='BK' and tagfield=200 and libopac='First Statement of Responsibility';
update marc_subfield_structure set tab=0 where frameworkcode='BK' and tagfield=010 and libopac='Number (ISBN)';
update marc_subfield_structure set mandatory=1 where frameworkcode='BK' and tagfield=010 and libopac='Number (ISBN)';
update marc_subfield_structure set tab=0  where frameworkcode='BK' and tagfield=990 and libopac='Koha item type';
update marc_subfield_structure set tab=0  where frameworkcode='BK' and tagfield=330 and libopac='Text of Note';
update marc_subfield_structure set tab=0  where frameworkcode='BK' and tagfield=856 and libopac='URL';
-- Unhide the "Koha item type" field:
update marc_subfield_structure set hidden=0 where frameworkcode='BK' and tagfield=990 and libopac='Koha item type';


More information about the Koha mailing list