[Koha] RE: [Koha-win32] OPAC Error for users having books issued -
plathroum at cardinalshehanschool.org
Thu Oct 25 04:42:52 NZDT 2007
OK.... I did this fix... And now I can get in when items are issued to a
You can no longer see what items you are putting on hold...this area is
Blank in the OPAC...
AND... Now I have an orphan item in my hold list that was previously on
hold before the fix that I can't get rid of...
SO... How do I get rid of the Orpahn Hold item... AND... How can I get
the Opac to show the borrower what they have on hold...
Cardinal Shehan School
From: koha-win32-bounces+plathroum=cardinalshehanschool.org at nongnu.org
[mailto:koha-win32-bounces+plathroum=cardinalshehanschool.org at nongnu.org
] On Behalf Of John Choo
Sent: Tuesday, October 23, 2007 9:16 PM
To: koha-win32 at nongnu.org
Subject: [Koha-win32] OPAC Error for users having books issued - fix
Previously there was a few users that had this problem of logging into
the user's account and the users are with items loaned to them. No error
if you've not borrowed any item. I did not encounter that problem and
could not reconstruct it on my PC, however the developer's koha forum
had a posting on the fix. I've included the 2 files that has been fixed
according to the posting there (the posting which I've also attached
below for your ref.). I could not verify that this fix works - because I
don't encounter the problem but thought it might be useful for the
handful of people with that problem.
http://www.nabble.com/file/p13377267/opac-user.tmpl opac-user.tmpl -
file in folder C:\usr\koha228\opac\htdocs\opac-tmpl\npl\en
http://www.nabble.com/file/p13377267/opac-user.pl opac-user.pl - file
in folder C:\usr\koha228\opac\cgi-bin\koha
You can try downloading and replacing these 2 files above. Let me know
Attached below is the posting from the developer's koha forum:
Date: Sat, 20 Oct 2007 22:07:06 +1000
From: "Simon Mitchell" <simon at jseb.com>
Subject: [Koha-devel] opac login error for customer with item already
To: koha-devel at nongnu.org
Hi every one,
My koha problem - opac login error for customer with item already check
I did find that solution to my koha 2.2.9 opac problem that was posted
on the katipo list, but is was very hard to find.
So am posting it here so the next time it will be easy to find it.
My setup -
Koha 2.2.9 NPL template Ubuntu 7.10 mysql v5
Linux library 2.6.22-14-server #1 SMP Wed Oct 10 06:35:59 GMT 2007 i686
GNU/Linux library:~$ mysql --version mysql Ver 14.12 Distrib 5.0.45,
for pc-linux-gnu (i486) using readline 5.2
opac error log
[Fri Oct 19 13:20:18 2007] [error] [client 59.167.xxx.xxx]
HTML::Template->output() : fatal error in loop output :
HTML::Template::param() : attempt to set parameter 'reserves' with an
array ref - parameter is not a TMPL_LOOP! at
/usr/local/share/perl/5.8.8/HTML/Template.pm line 3069, referer:
[Fri Oct 19 13:20:18 2007] [error] [client 59.167.xxx.xxx] at
/usr/local/koha/opac/cgi-bin/opac-user.pl line 166, referer:
[Fri Oct 19 13:20:18 2007] [error] [client 59.167.xxx.xxx] Premature end
of script headers: opac-user.pl, referer:
Chris had kindly put a solution in this email, is it ok in the next
So this is bizarre, If I change
$template->param(RESERVES => $reserves);
$template->param(RESERVE => $reserves);
And then change
<!-- TMPL_LOOP NAME="RESERVES" -->
<!-- TMPL_LOOP NAME="RESERVE" -->
Suddenly the error goes away.
If either of you could confirm this works for you, that would be great,
and ill commit it to cvs, so that it comes out in the next version ...
Chris Cormack chris.cormack at liblime.com
VP Research and Development www.liblime.com
LibLime +64 21 542 131
View this message in context:
Sent from the Koha - Win32 mailing list archive at Nabble.com.
Koha-win32 mailing list
Koha-win32 at nongnu.org
More information about the Koha