[Koha] Problem with holds/reserves after update

Martin Longo jmlongo at uncu.edu.ar
Thu Feb 11 04:04:22 NZDT 2010


Hello there ...

I am running Koha 3.00.06.005 on a Linux Debian lenny and I'm having 
problems with holds/reserves after updating my 3.0.1 to 3.0.5 and the 
problem persist with this version.

Whenever I try to place a hold on any item, from the intranet or from 
the OPAC, the system tells me 'none of these items can be placed on 
hold.'  The OPAC also says 'Unavailable (lost or missing)' besides every 
item of the record... and every item has a red 'X' .. so I can't reserve 
the next copy available and I can't select wich item I want to reserve

Now... I have checked and there is no flag in the items that marks them 
as lost or withdrawn. and is not very likely that the entire catalog was 
marked as lost by mistake... 

My logs report the following

Whenever I click on Place Hold on the detailed view of the record (in 
the intranet):

[Tue Feb 09 14:10:17 2010] [error] [client 192.168.212.12] [Tue Feb  9 
14:10:17 2010] request.pl: Use of uninitialized value $findborrower in 
substitution (s///) at /home/koha/kohafromgit/reserve/request.pl line 
68., referer: 
http://192.168.212.19:9090/cgi-bin/koha/catalogue/detail.pl?biblionumber=14237
[Tue Feb 09 14:10:17 2010] [error] [client 192.168.212.12] [Tue Feb  9 
14:10:17 2010] request.pl: Use of uninitialized value $transfertwhen in 
string ne at /home/koha/kohafromgit/reserve/request.pl line 327., 
referer: 
http://192.168.212.19:9090/cgi-bin/koha/catalogue/detail.pl?biblionumber=14237
[Tue Feb 09 14:10:17 2010] [error] [client 192.168.212.12] [Tue Feb  9 
14:10:17 2010] request.pl: Use of uninitialized value $transfertwhen in 
string ne at /home/koha/kohafromgit/reserve/request.pl line 327., 
referer: 
http://192.168.212.19:9090/cgi-bin/koha/catalogue/detail.pl?biblionumber=14237
[Tue Feb 09 14:10:17 2010] [error] [client 192.168.212.12] [Tue Feb  9 
14:10:17 2010] request.pl: Use of uninitialized value $num_override in 
numeric eq (==) at /home/koha/kohafromgit/reserve/request.pl line 382., 
referer: 
http://192.168.212.19:9090/cgi-bin/koha/catalogue/detail.pl?biblionumber=14237
[Tue Feb 09 14:10:17 2010] [error] [client 192.168.212.12] [Tue Feb  9 
14:10:17 2010] request.pl: Use of uninitialized value $num_available in 
numeric eq (==) at /home/koha/kohafromgit/reserve/request.pl line 382., 
referer: 
http://192.168.212.19:9090/cgi-bin/koha/catalogue/detail.pl?biblionumber=14237
[Tue Feb 09 14:10:17 2010] [error] [client 192.168.212.12] [Tue Feb  9 
14:10:17 2010] request.pl: Use of uninitialized value in hash element at 
/home/koha/kohafromgit/reserve/request.pl line 493., referer: 
http://192.168.212.19:9090/cgi-bin/koha/catalogue/detail.pl?biblionumber=14237


And this when I enter the cardnumber of the patron that is palcing the 
hold and click Search ..


[Tue Feb 09 14:10:42 2010] [error] [client 192.168.212.12] [Tue Feb  9 
14:10:42 2010] request.pl: Use of uninitialized value $transfertwhen in 
string ne at /home/koha/kohafromgit/reserve/request.pl line 327., 
referer: 
http://192.168.212.19:9090/cgi-bin/koha/reserve/request.pl?biblionumber=14237
[Tue Feb 09 14:10:42 2010] [error] [client 192.168.212.12] [Tue Feb  9 
14:10:42 2010] request.pl: Use of uninitialized value $transfertwhen in 
string ne at /home/koha/kohafromgit/reserve/request.pl line 327., 
referer: 
http://192.168.212.19:9090/cgi-bin/koha/reserve/request.pl?biblionumber=14237
[Tue Feb 09 14:10:42 2010] [error] [client 192.168.212.12] [Tue Feb  9 
14:10:42 2010] request.pl: Use of uninitialized value $num_override in 
numeric eq (==) at /home/koha/kohafromgit/reserve/request.pl line 382., 
referer: 
http://192.168.212.19:9090/cgi-bin/koha/reserve/request.pl?biblionumber=14237
[Tue Feb 09 14:10:42 2010] [error] [client 192.168.212.12] [Tue Feb  9 
14:10:42 2010] request.pl: Use of uninitialized value $num_available in 
numeric eq (==) at /home/koha/kohafromgit/reserve/request.pl line 382., 
referer: 
http://192.168.212.19:9090/cgi-bin/koha/reserve/request.pl?biblionumber=14237


I have also checked my circulation rules to be correctly set and I have 
re entered the parameters, configuring a specific borrowertype with a 
specific itemtype....  I have also set up reserve policies for the 
specific itemtype and choose 'from any library'

If I look at the database I find some tables that I think are related to 
this config:

branch_borrower_circ_rules  has

branchcode     categorycode     maxissueqty
OUN      S      7

branch_item_rules has

branchcode     itemtype     holdallowed
     OLE     IMP     2
     OUN     IMP     2


And then .. I have found some other tables that i guess contain default 
values ...


default_borrower_circ_rules has

categorycode     maxissueqty
     A     7
     S     7


default_branch_circ_rules has nothing

default_branch_item_rules has

itemtype     holdallowed
     IMP     2

default_circ_rules has nothing ... but this one is weird... cause it has 
a column named 'singleton' defined as enum('singleton') .. so 
"singleton" is the only value that column can have ...


Ok .. guess is all the info I have at the moment ...  If somebody have a 
tip or a solution to my problem it would be great!

Thanks in advance

-- 
Ing. J. Martin Longo
Depto. Gestion Informatica
SID - UNCuyo
http://sid.uncu.edu.ar



More information about the Koha mailing list