[Koha-devel] circulation broken in pre5

Chris Cormack chris at katipo.co.nz
Tue Oct 28 22:34:43 CET 2003


Hi Rob

> In preparing a windows release of pre5, I note that circulation appears to
> be broken in pre5. When trying to bring up circulation, I get an apache
> internal error 500. The apache error log shows:
> 
> [Tue Oct 28 22:25:07 2003] [error] [client 127.0.0.1] Premature end of
> script headers: circulation.pl, referer:
> http://intranet/cgi-bin/koha/mainpage.pl
> [Tue Oct 28 22:25:07 2003] [error] [client 127.0.0.1] HTML::Template->new()
> : Syntax error in <TMPL_*> tag at
> C:\usr\koha200pre5\intranet\htdocs\intranet-tmpl\default\en\circ\circulation
> .tmpl : 80. at C:/usr/site/lib/HTML/Template.pm line 2243., referer:
> http://intranet/cgi-bin/koha/mainpage.pl
> 
> I get the same error using both default en and default fr templates. I get
> the same error with either perl 5.6 or 5.8. Have there been any changes in
> the required perl modules?
> 
[snip]

> Any ideas on what I can do to fix this before I build the windows install
> package? I am testing with the default settings of simple acqusitions, MARC
> yes, MARC21, and default english themes and templates.
> 

You'll be pleased to know ive fixed this and commited the fix to cvs.
Someone reported it in the irc channel this morning (nz time)

Sorry it was a typo by me that slipped through.
Around line 100 of the template
<input type=hidden name="<TMPL_VAR="name">" value="<TMPL_VAR NAME="value">"> 

should be
<input type=hidden name="<TMPL_VAR NAME="name">" value="<TMPL_VAR NAME="value">"> 

If you want to make the fix manually. Or you can check the template out of cvs

Chris

-- 
Chris Cormack                                                     Programmer
027 4500 789                                       Katipo Communications Ltd
chris at katipo.co.nz                                          www.katipo.co.nz




More information about the Koha-devel mailing list