[Koha] Calculating fines?
Chris Nighswonger
cnighswonger at foundations.edu
Wed Feb 27 13:10:46 NZDT 2008
On Tue, Feb 26, 2008 at 4:39 PM, George Adams <g_adams27 at hotmail.com> wrote:
>
> Kyle, thanks for the reply. I'll look into that script, although there'd
> be some value in patrons (and staff) knowing what their fines are going to
> be before the books are checked in (say, if they're checking their account
> info from home). But at this point I'll take anything that works.
>
> Can I infer from your message that none of the 4 scripts I mentioned are
> working under Koha 3? I tried all four, but got error messages along the
> lines of this:
>
> > export PERL5LIB=/usr/share/koha/lib
> > export KOHA_CONF=/etc/koha/koha-conf.xml
> > /usr/share/koha/bin/fines2.pl
> Can't locate object method "preference" via package "C4::context"
> (perhaps you forgot to load "C4::context"?) at
> /usr/share/koha/lib/C4/Overdues.pm line 116.
>
This is a bug due to a misspelling of 'context' Line 116 in
Overdues.pm should read "C4::Context" rather than "C4::context"
I have submitted a patch to correct this so you will either have to
grab a copy of the patched Overdues.pm or make the change manually on
your installation.
Regards,
Chris
--
Chris Nighswonger
Faculty Member
Network & Systems Director
Foundations Bible College & Seminary
www.foundations.edu
www.fbcradio.org
More information about the Koha
mailing list