Hi all: 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? If I copy circulation.tmpl from the pre4 release the error goes away and the page displays properly. However, I know you've been working on circulation templating, and I suspect the older version of circulation.tmpl will not work properly with the newer release. I did a diff of the two file versions, but differences are drastic enough, I'm not going to be able to figure it out. 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. Thanks! I appreciate the good job you guys are doing! Rob
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@katipo.co.nz www.katipo.co.nz
Hi Chris Thanks for the fast response. Line 82 in the english circulation.tmpl has the same typo and needs the same correction. Once I fix both lines 100 and 82, the page displays correctly. The french circulation.tmpl gives me the same error, but I could not find a similar typo. Maybe you could check that. Now that the page displays correctly, I notice that if I enter a partial last name rather than a card number, and get multiple hits, that a name selection box comes, but that the following browser error is generated in the process: Line: 14 Char: 1 Error: Can't move focus to the control because it is invisible, not enabled, or of a type that does not accept the focus. Code:0 URL: http//intranet/cgi-bin/koha/circ/circulation.pl This last error is not as serious. If you just want me to put it in the bug tracker, I can. Thanks again, Rob ----- Original Message ----- From: "Chris Cormack" <chris@katipo.co.nz> To: <robweir@alum.drexel.edu> Cc: <koha-devel@lists.sourceforge.net> Sent: Wednesday, October 29, 2003 1:33 AM Subject: Re: [Koha-devel] circulation broken in pre5
Hi Rob
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@katipo.co.nz www.katipo.co.nz
Hi Rob On Wed, Oct 29, 2003 at 09:31:55AM -0500, robweir@alum.drexel.edu said:
Hi Chris Thanks for the fast response. Line 82 in the english circulation.tmpl has the same typo and needs the same correction. Once I fix both lines 100 and 82, the page displays correctly. The french circulation.tmpl gives me the same error, but I could not find a similar typo. Maybe you could check that.
Will do
Now that the page displays correctly, I notice that if I enter a partial last name rather than a card number, and get multiple hits, that a name selection box comes, but that the following browser error is generated in the process:
Line: 14 Char: 1 Error: Can't move focus to the control because it is invisible, not enabled, or of a type that does not accept the focus. Code:0 URL: http//intranet/cgi-bin/koha/circ/circulation.pl
Ah yep sounds like a javascript error, if you could bugzilla it, (under the templates category) hopefully someone who knows more about javascript than me will fix it for us :) Chris
participants (2)
-
Chris Cormack -
robweir@alum.drexel.edu