[Koha] Error when putting book on hold
Isabel Pineda
isabel.pineda at ds.edu.sv
Fri Apr 29 01:53:27 NZST 2022
Yes, it was the Spanish template.
Thank you very much, it is working now.
-----Mensaje original-----
De: Koha <koha-bounces at lists.katipo.co.nz> En nombre de Jonathan Druart
Enviado el: jueves, 21 de abril de 2022 08:28
Para: Katrin Fischer <katrin.fischer.83 at web.de>
CC: koha <koha at lists.katipo.co.nz>
Asunto: Re: [Koha] Error when putting book on hold
I do recreate the problem with the Spanish template.
A quick fix:
replace line 216 of es-ES/includes/holds_table.inc from
216 <td><input %]="%]" class="printholdslip" data-reserve_id="[%"
hold.reserve_id="hold.reserve_id" html="html" name="printholdslip"
type="button" value="Recibo" |="|"></td> to
216 <td><input class="printholdslip" data-reserve_id="[% hold.reserve_id | html %]" name="printholdslip" type="button" value="Recibo"></td>
I will provide a fix on
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30583
Regards,
Jonathan
Le jeu. 21 avr. 2022 à 16:11, Katrin Fischer <katrin.fischer.83 at web.de> a écrit :
> Hi Isabel,
>
> trying to see what could cause this. Are you using translations and
> does this happen with the English templates as well?
>
> There is nothing obviously wrong with the template as far as I could tell:
>
>
> https://git.koha-community.org/Koha-community/Koha/src/branch/21.11.x/
> koha-tmpl/intranet-tmpl/prog/en/includes/holds_table.inc#L209
>
> Katrin
>
> On 08.04.22 17:51, Isabel Pineda wrote:
> > Hi.
> >
> > Since the latest update (from 21.11.03 to 21.11.04) I get a 500
> > error
> message when I try to put a book on hold. The hold gets placed though
> and I receive the confirmation e-mail. But I cannot view the
> reservation in the system in the reservations tab.
> >
> > There is no warning message in the About page, but there is an error
> message in my intranet-error.log file: AH01215 Template process failed:
> file error - parse error - holds_table.inc line 209-210: unexpected
> token
> (hold): /usr/share/koha/intranet/cgi-bin/reserve/request.pl, referer:
> https://biblioteca-intra.ds.edu.sv/cgi-bin/koha/reserve/request.pl?bib
> lionumbers=
> >
> > The reservations used to work always before this update.
> >
> > Btw: I am a little worried about the great mass of messages in my
> intranet-error.log. Every minute there are appearing errors of "Use of
> uninitialized value in string eq at usr/share/koha/lib/C4/Context.pm
> line 784."
> > Is this a bug or is this only my problem?
> >
> > Thank you very much
> > Isabel Pineda
> >
> > _______________________________________________
> >
> > Koha mailing list http://koha-community.org Koha at lists.katipo.co.nz
> > Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha
> _______________________________________________
>
> Koha mailing list http://koha-community.org Koha at lists.katipo.co.nz
> Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha
>
_______________________________________________
Koha mailing list http://koha-community.org Koha at lists.katipo.co.nz
Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha
More information about the Koha
mailing list