[Koha] Koha error-- branchcode

Fischer, Katrin Katrin.Fischer at bsz-bw.de
Sat Jan 5 08:49:09 NZDT 2013

Hi Janet,

I haven't seen the behaviour you describe so far, but I wonder about having to set the branch each morning. This should only happen if you are not working with a staff but the Koha database user. Could this be the reason?

Normally Koha will automatically use the branch of the user you log in with, which should be a user you create after installing Koha using a staff patron category and permissions.

Which version of Koha are you using?


-----Original Message-----
From: koha-bounces at lists.katipo.co.nz on behalf of deavorj at comcast.net
Sent: Fri 04.01.2013 18:23
To: koha at lists.katipo.co.nz; koha at lists.katipo.co.nz
Cc: Tom Glaab
Subject: [Koha] Koha error-- branchcode

Does anyone have a suggestion how to fix this bug in our program?   I set our " branch " every morning when I first log in Koha.  Actually, we are a small private school with only one branch, but I have learned the program needs me to set the branch.  It used to work fine, but this school year we started having  problems.  As I check in books, I get a message to inform "our branch"  the book has been returned.  The branch is set, but Koha does not seem to recognize the book has been returned to our "branch".  Therefore, when I check out books, I get the  fatal error message listed below.  We have learned we can go in and edit the item in cataloging which then tells Koha the item is at our branch.  Then we can check out the item.  Of course, it takes extra time which can be a nuisance when I have a class full of young children trying to check out books all at once.  Our program did not used to have this problem.  We do not know why this bug suddenly developed this year.   Has anyone else in the Koha community had this problem?  How can we fix it? 

Thank you, 
Janet Deavor 

Koha error 

The following fatal error has occurred: No branchcode argument to new.  Should be C4::Calendar->new(branchcode => $branchcode) at /usr/share/koha/lib/C4/Circulation.pm line 2324 Apache 	Server version: Apache/2.2.22 (Ubuntu) Server built: Nov 8 2012 21:37:45 
Koha DB 	3.0005003 
MySQL 	mysql Ver 14.14 Distrib 5.5.28, for debian-linux-gnu (i686) using readline 6.2 
OS 	Linux library-dev 3.2.0-35-generic #55-Ubuntu SMP Wed Dec 5 17:45:18 UTC 2012 i686 
Perl 	5.014002 
Koha mailing list  http://koha-community.org
Koha at lists.katipo.co.nz

More information about the Koha mailing list