[Koha] fines.pl script fails at Line 41

benson Mugambi mnjoben at yahoo.co.uk
Wed Mar 3 02:24:43 NZDT 2010


Hi folks,
I 've been trying to run the fines script manually after i realized that koha was not doing it on crontab. This is however what am getting:

main:~# /usr/share/koha/bin/cronjobs/fines.pl
Can't locate C4/Context.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at /usr/share/koha/bin/cronjobs/fines.pl line 41.
BEGIN failed--compilation aborted at /usr/share/koha/bin/cronjobs/fines.pl line 41.

When i try to locate whether context.pm is existing this is what iam getting:

main:~# locate C4/Context.pm
/build/koha-3.00.03/C4/Context.pm
/build/koha-3.00.03/blib/PERL_MODULE_DIR/C4/Context.pm
/build/koha-3.00.04/C4/Context.pm
/build/koha-3.00.04_fixed/C4/Context.pm
/build/koha-3.00.04_fixed/blib/PERL_MODULE_DIR/C4/Context.pm
/home/gretsa/kohaclone/C4/Context.pm
/usr/share/koha/lib/C4/Context.pm

So how do i make koha to see where context is located, because that path seems not be found? Or simply how do i fix this? I'll appreciate any help.
Thanks.



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.katipo.co.nz/pipermail/koha/attachments/20100302/bb89166e/attachment.htm 


More information about the Koha mailing list