[Koha] fine2.pl compilation aborted
H S Rai
hsrai at gmx.net
Thu Oct 14 20:23:35 NZDT 2004
Monday at 10:42am +0100 MJ Ray wrote:
> On 2004-10-09 09:25:10 +0100 Indranil Das Gupta wrote:
> > use the following `export PERL5LIB="/usr/local/koha/intranet/modules"`
> > before running the Koha command line scripts.
>
> I prefer to put -I/usr/local/koha/intranet/modules after "perl" and
> before the script name.
I put path in script file:
> #!/usr/bin/perl -I/usr/local/koha/intranet/modules
> # This script loops through each overdue item, determines the fine,
> # and updates the total amount of fines due by each user. It relies
Now it ran fine one time, but on 2nd run it gave following error
message:
DBD::mysql::st execute failed: called with 2 bind variables when 1
are needed at
/usr/local/koha/intranet/modules/C4/Circulation/Fines.pm line 156.
DBD::mysql::st fetchrow_hashref failed: fetch() without execute() at
/usr/local/koha/intranet/modules/C4/Circulation/Fines.pm line 157.
May I know, what to change now.
Thanks in advance.
--
H. S. Rai
_____________________________________________________________________
http://www.grex.org/~hsrai | Alternate E-mail: hsraidce at iitr.ernet.in
___________________________|_________________________________________
:
####[ GNU/Linux One Stanza Tip (LOST) ]#######################
Sub : Commenting lines under vi (for scripts) LOST #256
To comment out multiple lines while writing scripts under vi
(where # is the comment marker):
:.,+N s/^/#/g (where N is number of lines to be commented
after the current cursor location inclusive of current).
####[kumarayil (at) eth.net]##################################
:
More information about the Koha
mailing list