Running fines.pl */usr/share/koha/bin/cronjobs/fines.pl <http://fines.pl>* gives this error message: Can't locate C4/Context.pm in @INC (you may need to install the C4::Context module) (@INC contains: /etc/perl /usr/local/lib/perl/5.18.2 /usr/local/share/perl/5.18.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.18 /usr/share/perl/5.18 /usr/local/lib/site_perl .) at /usr/share/koha/bin/cronjobs/fines.pl line 33. BEGIN failed--compilation aborted at /usr/share/koha/bin/cronjobs/fines.pl line 33. solved it by copying it to perl: *cp -a /usr/share/koha/lib/C4/ /etc/perl/* running fines.pl again gives this error: Can't locate Koha.pm in @INC (you may need to install the Koha module) (@INC contains: /etc/perl /usr/local/lib/perl/5.18.2 /usr/local/share/perl/5.18.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.18 /usr/share/perl/5.18 /usr/local/lib/site_perl .) at /etc/perl/C4/Context.pm line 106. BEGIN failed--compilation aborted at /etc/perl/C4/Context.pm line 106. Compilation failed in require at /usr/share/koha/bin/cronjobs/fines.pl line 33. BEGIN failed--compilation aborted at /usr/share/koha/bin/cronjobs/fines.pl line 33. *However Koha.pm is available at /etc/perl/C4/Koha.pm* Regards On 15 January 2016 at 16:40, Kyle Hall <kyle.m.hall@gmail.com> wrote:
Do you have your system preference CalculateFinesOnReturn enabled? Also, you'll want to make sure finesMode is set to "Calculate and charge.
Kyle
http://www.kylehall.info ByWater Solutions ( http://bywatersolutions.com ) Meadville Public Library ( http://www.meadvillelibrary.org ) Crawford County Federated Library System ( http://www.ccfls.org ) Mill Run Technology Solutions ( http://millruntech.com )
On Thu, Jan 14, 2016 at 12:58 AM, Jonathan Limo <jonathan.limo@tum.ac.ke> wrote:
Hallo, I have a problem with fines, patrons are not charged fines even when the item checked in is overdue. I have cross checked circulation and fine rules, and they are all as expected.
Sometimes back the Intranet used to give this error during check-in: * Can't call method "truncate" on an undefined value at >> /usr/share/koha/lib/C4/Circulation.pm line 1966*
I searched for a solution online and found that setting debarred value to NULL resolve the "truncate" error, so i ran the SQL:
*UPDATE borrowers SET debarred=NULL WHERE debarred='0000-00-00';*
This solved the error, however the problem on charging fine showed up, it doesn't charge fine to patrons with overdue items during check-in.
Kindly advice
-- Jonathan Limo Technical University of Mombasa jonathan.limo@tum.ac.ke|limotit28@gmail.com +254-728593370|+254-774111760 _______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz https://lists.katipo.co.nz/mailman/listinfo/koha
-- *Jonathan Limo* Technical University of Mombasa Tel +254728593370 +254774111760