[Koha-win32] Can't login to patron acct from OPAC page
John Choo
anchovies00 at yahoo.com
Thu Aug 9 19:40:54 CEST 2007
Hi Lee,
Could you please try with these 2 edited files instead:
http://www.nabble.com/file/p12077106/opac-user.pl opac-user.pl
http://www.nabble.com/file/p12077106/opac-user.tmpl opac-user.tmpl
Hopefully it works. I couldn't really test it as I'm still running v227 and
didn't want to overwrite my code with v228.
john
MKLEE wrote:
>
> Dear John,
>
> Thanks for your quick reply. But i still receive the error after replacing
> the 2 files with the ones you provided. Any further hints?
>
> [Fri Aug 10 00:05:28 2007] [error] [client 127.0.0.1] at
> C:/usr/koha228/opac/cgi-bin/koha/opac-user.pl line 158, referer:
> http://opac/cgi-bin/koha/opac-account.pl
> [Fri Aug 10 00:41:00 2007] [error] [client 127.0.0.1] Premature end of
> script headers: opac-user.pl, referer:
> http://opac/cgi-bin/koha/opac-detail.pl?bib=111
> [Fri Aug 10 00:41:00 2007] [error] [client 127.0.0.1]
> 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
> C:/usr/site/lib/HTML/Template.pm line 3069, referer:
> http://opac/cgi-bin/koha/opac-detail.pl?bib=111
> [Fri Aug 10 00:41:00 2007] [error] [client 127.0.0.1] at
> C:/usr/koha228/opac/cgi-bin/koha/opac-user.pl line 158, referer:
> http://opac/cgi-bin/koha/opac-detail.pl?bib=111
> [Fri Aug 10 00:41:59 2007] [error] [client 127.0.0.1] Premature end of
> script headers: opac-user.pl, referer:
> http://opac/cgi-bin/koha/opac-main.pl
> [Fri Aug 10 00:41:59 2007] [error] [client 127.0.0.1]
> 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
> C:/usr/site/lib/HTML/Template.pm line 3069, referer:
> http://opac/cgi-bin/koha/opac-main.pl
> [Fri Aug 10 00:41:59 2007] [error] [client 127.0.0.1] at
> C:/usr/koha228/opac/cgi-bin/koha/opac-user.pl line 158, referer:
> http://opac/cgi-bin/koha/opac-main.pl
> [Fri Aug 10 00:42:29 2007] [error] [client 127.0.0.1] Premature end of
> script headers: opac-user.pl, referer:
> http://opac/cgi-bin/koha/opac-user.pl
> [Fri Aug 10 00:42:29 2007] [error] [client 127.0.0.1]
> 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
> C:/usr/site/lib/HTML/Template.pm line 3069, referer:
> http://opac/cgi-bin/koha/opac-user.pl
> [Fri Aug 10 00:42:29 2007] [error] [client 127.0.0.1] at
> C:/usr/koha228/opac/cgi-bin/koha/opac-user.pl line 158, referer:
> http://opac/cgi-bin/koha/opac-user.pl
>
> Thanks
> Doris Lee
>
>
> John Choo wrote:
>>
>> Hi Doris,
>>
>> This is the same error as encountered by another user. Could you try
>> replacing the 2 files as per this reply:
>> http://www.nabble.com/OPAC-Error-for-users-having-books-issued-tf4216572.html
>>
>> john
>>
>>
>> MKLEE wrote:
>>>
>>> Hi,
>>>
>>> I have created a patron record (with OPAC login & password set) and
>>> defined the neccessary issuing rules. Before the patron checks out an
>>> item, he can log in to his account from http://OPAC. Problem occurs
>>> after he has checked out something. He can no longer log in to his
>>> account from OPAC. Koha returns a HTTP 500 error. But sooner after he
>>> returns the item, he can log in to his account again. It seems patrons
>>> with checked out items cannot get into their accounts from OPAC.
>>>
>>> I am using Koha 2.2.8. Below are the last few lines of opac-error.log:
>>>
>>> [Thu Aug 09 17:29:56 2007] [error] [client 127.0.0.1] Premature end of
>>> script headers: opac-user.pl, referer:
>>> http://opac/cgi-bin/koha/opac-main.pl
>>> [Thu Aug 09 17:29:56 2007] [error] [client 127.0.0.1]
>>> 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
>>> C:/usr/site/lib/HTML/Template.pm line 3069, referer:
>>> http://opac/cgi-bin/koha/opac-main.pl
>>> [Thu Aug 09 17:29:56 2007] [error] [client 127.0.0.1] at
>>> C:/usr/koha228/opac/cgi-bin/koha/opac-user.pl line 158, referer:
>>> http://opac/cgi-bin/koha/opac-main.pl
>>> [Thu Aug 09 23:47:58 2007] [error] [client 127.0.0.1] Premature end of
>>> script headers: opac-user.pl, referer:
>>> http://opac/cgi-bin/koha/opac-main.pl
>>> [Thu Aug 09 23:47:58 2007] [error] [client 127.0.0.1]
>>> 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
>>> C:/usr/site/lib/HTML/Template.pm line 3069, referer:
>>> http://opac/cgi-bin/koha/opac-main.pl
>>> [Thu Aug 09 23:47:58 2007] [error] [client 127.0.0.1] at
>>> C:/usr/koha228/opac/cgi-bin/koha/opac-user.pl line 158, referer:
>>> http://opac/cgi-bin/koha/opac-main.pl
>>> [Thu Aug 09 23:49:12 2007] [error] [client 127.0.0.1] Premature end of
>>> script headers: opac-user.pl, referer:
>>> http://opac/cgi-bin/koha/opac-user.pl
>>> [Thu Aug 09 23:49:12 2007] [error] [client 127.0.0.1]
>>> 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
>>> C:/usr/site/lib/HTML/Template.pm line 3069, referer:
>>> http://opac/cgi-bin/koha/opac-user.pl
>>> [Thu Aug 09 23:49:12 2007] [error] [client 127.0.0.1] at
>>> C:/usr/koha228/opac/cgi-bin/koha/opac-user.pl line 158, referer:
>>> http://opac/cgi-bin/koha/opac-user.pl
>>> [Thu Aug 09 23:53:26 2007] [error] [client 127.0.0.1] Premature end of
>>> script headers: opac-user.pl, referer:
>>> http://opac/cgi-bin/koha/opac-user.pl
>>> [Thu Aug 09 23:53:26 2007] [error] [client 127.0.0.1]
>>> 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
>>> C:/usr/site/lib/HTML/Template.pm line 3069, referer:
>>> http://opac/cgi-bin/koha/opac-user.pl
>>> [Thu Aug 09 23:53:26 2007] [error] [client 127.0.0.1] at
>>> C:/usr/koha228/opac/cgi-bin/koha/opac-user.pl line 158, referer:
>>> http://opac/cgi-bin/koha/opac-user.pl
>>> [Fri Aug 10 00:05:28 2007] [error] [client 127.0.0.1] Premature end of
>>> script headers: opac-user.pl, referer:
>>> http://opac/cgi-bin/koha/opac-account.pl
>>> [Fri Aug 10 00:05:28 2007] [error] [client 127.0.0.1]
>>> 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
>>> C:/usr/site/lib/HTML/Template.pm line 3069, referer:
>>> http://opac/cgi-bin/koha/opac-account.pl
>>> [Fri Aug 10 00:05:28 2007] [error] [client 127.0.0.1] at
>>> C:/usr/koha228/opac/cgi-bin/koha/opac-user.pl line 158, referer:
>>> http://opac/cgi-bin/koha/opac-account.pl
>>>
>>> Any ideas, please?
>>>
>>> Thanks
>>> Doris Lee
>>>
>>
>>
>
>
--
View this message in context: http://www.nabble.com/Can%27t-login-to-patron-acct-from-OPAC-page-tf4243498.html#a12077106
Sent from the Koha - Win32 mailing list archive at Nabble.com.
More information about the Koha-win32
mailing list