[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-devel] opac login error for customer with item already check out
From: |
Simon Mitchell |
Subject: |
[Koha-devel] opac login error for customer with item already check out |
Date: |
Sat, 20 Oct 2007 22:07:06 +1000 |
Hi every one,
My koha problem - opac login error for customer with item already check out.
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:
http://123.243.5.81:8003/cgi-bin/koha/opac-user.pl
[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: http://123.243.5.81:8003/cgi-bin/koha/opac-user.pl
[Fri Oct 19 13:20:18 2007] [error] [client 59.167.xxx.xxx] Premature end of script headers:
opac-user.pl, referer: http://123.243.5.81:8003/cgi-bin/koha/opac-user.pl
Chris had kindly put a solution in this email, is it ok in the next release?
Thanks all.
Regards,
Simon
http://lists.katipo.co.nz/public/koha/2007-June/011850.html
From Chris's email
++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Ok,
So this is bizarre, If I change
$template->param(RESERVES => $reserves);
to
$template->param(RESERVE => $reserves);
In opac-user.pl
And then change
<!-- TMPL_LOOP NAME="RESERVES" -->
to
<!-- TMPL_LOOP NAME="RESERVE" -->
in opac-user.tmpl
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 ... weird
Chris
--
Chris Cormack chris.cormack at liblime.com
VP Research and Development
www.liblime.com
LibLime +64 21 542 131
++++++++++++++++++++++++++++++++++++++++++++++++++++++++
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Koha-devel] opac login error for customer with item already check out,
Simon Mitchell <=