<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body>A new request with request id 13208 has been created by koha-devel-request@lists.koha-community.org. Short info on the request is : <br><br>Title : Koha-devel Digest, Vol 194, Issue 10<br>Category : <br>Description : <div>Send Koha-devel mailing list submissions to<br>    koha-devel@lists.koha-community.org<br><br>To subscribe or unsubscribe via the World Wide Web, visit<br>    https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel<br>or, via email, send a message with subject or body 'help' to<br>    koha-devel-request@lists.koha-community.org<br><br>You can reach the person managing the list at<br>    koha-devel-owner@lists.koha-community.org<br><br>When replying, please edit your Subject line so it is more specific<br>than "Re: Contents of Koha-devel digest..."<br><br><br>Today's Topics:<br><br>   1. Can't locate object method "output_with_http_headers" via<br>      package "CGI" (Michael Kuhn)<br>   2. Re: Can't locate object method "output_with_http_headers" via<br>      package "CGI" (Jonathan Druart)<br>   3. Re: Can't locate object method "output_with_http_headers" via<br>      package "CGI" (Fridolin SOMERS)<br>   4. Re: [Koha] Opening bids for KohaCon22 (Fridolin SOMERS)<br>   5. Call for news - Newsletter January 2022 (Michael Kuhn)<br>   6. Re: Can't locate object method "output_with_http_headers" via<br>      package "CGI" (Michael Kuhn)<br><br><br>----------------------------------------------------------------------<br><br>Message: 1<br>Date: Wed, 12 Jan 2022 17:17:13 +0100<br>From: Michael Kuhn <mik@adminkuhn.ch><br>To: Koha-devel <koha-devel@lists.koha-community.org>, Koha<br>    <koha@lists.katipo.co.nz><br>Subject: [Koha-devel] Can't locate object method<br>    "output_with_http_headers" via package "CGI"<br>Message-ID: <982d4148-6daa-f646-b71e-f47d85980b84@adminkuhn.ch><br>Content-Type: text/plain; charset=utf-8; format=flowed<br><br>Hi<br><br>Our library uses a non-Koha Perl script to authenticate with Divibib <br>Onleihe (a digital distributor like Overdrive). The script worked with <br>Koha 18.05 but after the update to Debian 11 with Perl 5.032001 und Koha <br>21.11.01 the following error appears:<br><br>  Can't locate object method "output_with_http_headers" via package <br>"CGI" at /usr/share/koha/opac/cgi-bin/opac/onleihe_auth.pl line 91.<br><br>The script file actually contains these lines (among others):<br><br>  use CGI;<br>  use XML::Simple;<br>  use Koha::Patrons;<br>  use Koha::AuthUtils qw(hash_password);<br>  use Digest::MD5 qw(md5_base64);<br>  use C4::Output;<br>  use C4::Context;<br>  my $query = new CGI;<br>  ...<br>  output_with_http_headers $query, undef, $xml, 'xml';<br><br>Can anyone please give me a hint how to solve this problem?<br><br>Best wishes: Michael<br>-- <br>Geschäftsführer · Diplombibliothekar BBS, Informatiker eidg. Fachausweis<br>Admin Kuhn GmbH · Pappelstrasse 20 · 4123 Allschwil · Schweiz<br>T 0041 (0)61 261 55 61 · E mik@adminkuhn.ch · W www.adminkuhn.ch<br><br><br>------------------------------<br><br>Message: 2<br>Date: Wed, 12 Jan 2022 17:40:53 +0100<br>From: Jonathan Druart <jonathan.druart@bugs.koha-community.org><br>To: Michael Kuhn <mik@adminkuhn.ch><br>Cc: Koha-devel <koha-devel@lists.koha-community.org>, Koha<br>    <koha@lists.katipo.co.nz><br>Subject: Re: [Koha-devel] Can't locate object method<br>    "output_with_http_headers" via package "CGI"<br>Message-ID:<br>    <CAJzKNY5dHy_NMDV-VvjKDKQoi21+sAwo7Fc0OEpWjz-QDOyrdw@mail.gmail.com><br>Content-Type: text/plain; charset="utf-8"<br><br>use C4::Output qw( output_with_http_headers )<br><br>will fix it. See also the "Other" section of the tech release note from<br>21.11 (related to bug 17600)<br>https://koha-community.org/koha-21-11-released/<br><br>Le mer. 12 janv. 2022 à 17:17, Michael Kuhn <mik@adminkuhn.ch> a écrit :<br><br>> Hi<br>><br>> Our library uses a non-Koha Perl script to authenticate with Divibib<br>> Onleihe (a digital distributor like Overdrive). The script worked with<br>> Koha 18.05 but after the update to Debian 11 with Perl 5.032001 und Koha<br>> 21.11.01 the following error appears:<br>><br>>   Can't locate object method "output_with_http_headers" via package<br>> "CGI" at /usr/share/koha/opac/cgi-bin/opac/onleihe_auth.pl line 91.<br>><br>> The script file actually contains these lines (among others):<br>><br>>   use CGI;<br>>   use XML::Simple;<br>>   use Koha::Patrons;<br>>   use Koha::AuthUtils qw(hash_password);<br>>   use Digest::MD5 qw(md5_base64);<br>>   use C4::Output;<br>>   use C4::Context;<br>>   my $query = new CGI;<br>>   ...<br>>   output_with_http_headers $query, undef, $xml, 'xml';<br>><br>> Can anyone please give me a hint how to solve this problem?<br>><br>> Best wishes: Michael<br>> --<br>> Geschäftsführer · Diplombibliothekar BBS, Informatiker eidg. Fachausweis<br>> Admin Kuhn GmbH · Pappelstrasse 20 · 4123 Allschwil · Schweiz<br>> T 0041 (0)61 261 55 61 · E mik@adminkuhn.ch · W www.adminkuhn.ch<br>> _______________________________________________<br>> Koha-devel mailing list<br>> Koha-devel@lists.koha-community.org<br>> https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel<br>> website : https://www.koha-community.org/<br>> git : https://git.koha-community.org/<br>> bugs : https://bugs.koha-community.org/<br>><br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20220112/9cf61213/attachment-0001.htm><br><br>------------------------------<br><br>Message: 3<br>Date: Wed, 12 Jan 2022 12:05:31 -1000<br>From: Fridolin SOMERS <fridolin.somers@biblibre.com><br>To: koha-devel@lists.koha-community.org<br>Subject: Re: [Koha-devel] Can't locate object method<br>    "output_with_http_headers" via package "CGI"<br>Message-ID: <a4719a75-52e7-2fbb-2390-8e6a6aaef623@biblibre.com><br>Content-Type: text/plain; charset=UTF-8; format=flowed<br><br>Hi,<br><br>Also avoid this syntax :<br>   my $query = new CGI;<br><br>Prefer :<br>   my $query = CGI->new;<br><br>See Bug 25898: Prohibit indirect object notation<br><br>Best regards,<br><br>Le 12/01/2022 à 06:40, Jonathan Druart a écrit :<br>> use C4::Output qw( output_with_http_headers )<br>> <br>> will fix it. See also the "Other" section of the tech release note from <br>> 21.11 (related to bug 17600)<br>> https://koha-community.org/koha-21-11-released/ <br>> <https://koha-community.org/koha-21-11-released/><br>> <br>> Le mer. 12 janv. 2022 à 17:17, Michael Kuhn <mik@adminkuhn.ch <br>> <mailto:mik@adminkuhn.ch>> a écrit :<br>> <br>>     Hi<br>> <br>>     Our library uses a non-Koha Perl script to authenticate with Divibib<br>>     Onleihe (a digital distributor like Overdrive). The script worked with<br>>     Koha 18.05 but after the update to Debian 11 with Perl 5.032001 und<br>>     Koha<br>>     21.11.01 the following error appears:<br>> <br>>        Can't locate object method "output_with_http_headers" via package<br>>     "CGI" at /usr/share/koha/opac/cgi-bin/opac/onleihe_auth.pl<br>>     <http://onleihe_auth.pl> line 91.<br>> <br>>     The script file actually contains these lines (among others):<br>> <br>>        use CGI;<br>>        use XML::Simple;<br>>        use Koha::Patrons;<br>>        use Koha::AuthUtils qw(hash_password);<br>>        use Digest::MD5 qw(md5_base64);<br>>        use C4::Output;<br>>        use C4::Context;<br>>        my $query = new CGI;<br>>        ...<br>>        output_with_http_headers $query, undef, $xml, 'xml';<br>> <br>>     Can anyone please give me a hint how to solve this problem?<br>> <br>>     Best wishes: Michael<br>>     -- <br>>     Geschäftsführer · Diplombibliothekar BBS, Informatiker eidg. Fachausweis<br>>     Admin Kuhn GmbH · Pappelstrasse 20 · 4123 Allschwil · Schweiz<br>>     T 0041 (0)61 261 55 61 · E mik@adminkuhn.ch<br>>     <mailto:mik@adminkuhn.ch> · W www.adminkuhn.ch <http://www.adminkuhn.ch><br>>     _______________________________________________<br>>     Koha-devel mailing list<br>>     Koha-devel@lists.koha-community.org<br>>     <mailto:Koha-devel@lists.koha-community.org><br>>     https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel<br>>     <https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel><br>>     website : https://www.koha-community.org/<br>>     <https://www.koha-community.org/><br>>     git : https://git.koha-community.org/ <https://git.koha-community.org/><br>>     bugs : https://bugs.koha-community.org/<br>>     <https://bugs.koha-community.org/><br>> <br>> <br>> _______________________________________________<br>> Koha-devel mailing list<br>> Koha-devel@lists.koha-community.org<br>> https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel<br>> website : https://www.koha-community.org/<br>> git : https://git.koha-community.org/<br>> bugs : https://bugs.koha-community.org/<br><br>-- <br>Fridolin SOMERS <fridolin.somers@biblibre.com><br>Software and system maintainer 🦄<br>BibLibre, France<br><br><br>------------------------------<br><br>Message: 4<br>Date: Wed, 12 Jan 2022 12:22:15 -1000<br>From: Fridolin SOMERS <fridolin.somers@biblibre.com><br>To: koha@lists.katipo.co.nz<br>Cc: koha-devel <koha-devel@lists.koha-community.org><br>Subject: Re: [Koha-devel] [Koha] Opening bids for KohaCon22<br>Message-ID: <a161c244-ec25-f38a-892d-b773cd592178@biblibre.com><br>Content-Type: text/plain; charset=UTF-8; format=flowed<br><br>Hello dear world-wide community.<br><br>Limit date is over and unfortunately we have no proposals.<br>https://wiki.koha-community.org/wiki/KohaCon22_Proposals<br><br>Community agreed to extend the end date to February 28.<br><br>World-wide situation is still chaotic so an entirely online event can be <br>proposed.<br>This will not impact the next years continental rotation.<br>https://wiki.koha-community.org/wiki/Processes_for_KohaCons#Continent_rotation<br><br>I hope we can all be together around our common project.<br>Long live Koha.<br><br>Fridolin Somers, BibLibre France, actual release manager.<br><br>Le 18/11/2021 à 03:24, Katrin Fischer a écrit :<br>> Hello dear Koha community,<br>> <br>> another year is coming to an end. It's time to turn our attention to the<br>> new year that's coming up, full of possibilities!<br>> <br>> If you or your organization would like to organize KohaCon22, please<br>> enter all relevant information on this wiki page:<br>> https://wiki.koha-community.org/wiki/KohaCon22_Proposals (if you do not<br>> already have an account to edit the wiki, you can request one, it is<br>> usually pretty fast to get access).<br>> <br>> The community has agreed that KohaCon conferences must be either hybrid<br>> with an in-person conference streamed online, or entirely online. Apart<br>> from keeping the community members safe, this will also allow for<br>> greater accessibility, so that everyone can attend and learn from each<br>> other no matter their availability, ability to travel, or budget.<br>> <br>> Know that the community stands behind anyone who volunteers to organize<br>> and that help is always available if you're unsure how to proceed.<br>> <br>> Call for proposals will end on January 8, 2022 at 23:59 UTC. If there is<br>> more than one proposal, we will organize a vote, which will be announced<br>> on this mailing list.<br>> <br>> Best regards,<br>> <br>> <br>> Katrin<br>> _______________________________________________<br>> <br>> Koha mailing list  http://koha-community.org<br>> Koha@lists.katipo.co.nz<br>> Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha<br><br>-- <br>Fridolin SOMERS <fridolin.somers@biblibre.com><br>Software and system maintainer 🦄<br>BibLibre, France<br><br><br>------------------------------<br><br>Message: 5<br>Date: Thu, 13 Jan 2022 09:45:31 +0100<br>From: Michael Kuhn <mik@adminkuhn.ch><br>To: koha <koha@lists.katipo.co.nz>, koha-devel<br>    <koha-devel@lists.koha-community.org><br>Subject: [Koha-devel] Call for news - Newsletter January 2022<br>Message-ID: <59c197d1-07ad-eb6e-e9b4-5dfbf22d36d3@adminkuhn.ch><br>Content-Type: text/plain; charset=utf-8; format=flowed<br><br>Hi<br><br>I'm collecting news for the January 2022 Koha Community Newsletter. <br>Please send anything noteworthy to:<br><br>kohanews (at) gmail (dot) com<br><br>News criteria:<br>* News items can be of any length.<br>* Images are fine.<br>* Anything and everything Koha.<br>* Submit by the 26th of the month.<br><br>Text format criteria:<br>* Just structured plain text, or<br>* HTML text to include tables or similar<br><br>For events:<br>* Consider adding your event to the Koha Community calendar at <br>https://koha-community.org/calendar/<br><br>Thank you!<br><br>Michael Kuhn<br>Editor, Koha Community Newsletter<br>-- <br>Geschäftsführer · Diplombibliothekar BBS, Informatiker eidg. Fachausweis<br>Admin Kuhn GmbH · Pappelstrasse 20 · 4123 Allschwil · Schweiz<br>T 0041 (0)61 261 55 61 · E mik@adminkuhn.ch · W www.adminkuhn.ch<br><br><br>------------------------------<br><br>Message: 6<br>Date: Thu, 13 Jan 2022 11:52:21 +0100<br>From: Michael Kuhn <mik@adminkuhn.ch><br>To: Jonathan Druart <jonathan.druart@bugs.koha-community.org>,<br>    fridolin.somers@biblibre.com<br>Cc: Koha-devel <koha-devel@lists.koha-community.org>, Koha<br>    <koha@lists.katipo.co.nz><br>Subject: Re: [Koha-devel] Can't locate object method<br>    "output_with_http_headers" via package "CGI"<br>Message-ID: <c937663e-4acc-5bcf-a458-c40ba8870086@adminkuhn.ch><br>Content-Type: text/plain; charset=utf-8; format=flowed<br><br>Hi Jonathan and Fridolin<br><br>You wrote:<br><br> > use C4::Output qw( output_with_http_headers )<br> ><br> > will fix it.<br><br>Thank you very much, this was the solution! Now our script again works <br>as intended.<br><br> > See also the "Other" section of the tech release note from<br> > 21.11 (related to bug 17600)<br> > https://koha-community.org/koha-21-11-released/<br><br>Unfortunately I didn't understand very much of the information there.<br><br> > Also avoid this syntax :<br> >    my $query = new CGI;<br> ><br> > Prefer :<br> >    my $query = CGI->new;<br> ><br> > See Bug 25898: Prohibit indirect object notation<br><br>I have changed this line, thanks for the suggestion!<br><br>Best wishes: Michael<br>-- <br>Geschäftsführer · Diplombibliothekar BBS, Informatiker eidg. Fachausweis<br>Admin Kuhn GmbH · Pappelstrasse 20 · 4123 Allschwil · Schweiz<br>T 0041 (0)61 261 55 61 · E mik@adminkuhn.ch · W www.adminkuhn.ch<br><br><br><br><br><br>Am 12.01.22 um 17:40 schrieb Jonathan Druart:<br>> use C4::Output qw( output_with_http_headers )<br>> <br>> will fix it. See also the "Other" section of the tech release note from <br>> 21.11 (related to bug 17600)<br>> https://koha-community.org/koha-21-11-released/ <br>> <https://koha-community.org/koha-21-11-released/><br>> <br>> Le mer. 12 janv. 2022 à 17:17, Michael Kuhn <mik@adminkuhn.ch <br>> <mailto:mik@adminkuhn.ch>> a écrit :<br>> <br>>     Hi<br>> <br>>     Our library uses a non-Koha Perl script to authenticate with Divibib<br>>     Onleihe (a digital distributor like Overdrive). The script worked with<br>>     Koha 18.05 but after the update to Debian 11 with Perl 5.032001 und<br>>     Koha<br>>     21.11.01 the following error appears:<br>> <br>>        Can't locate object method "output_with_http_headers" via package<br>>     "CGI" at /usr/share/koha/opac/cgi-bin/opac/onleihe_auth.pl<br>>     <http://onleihe_auth.pl> line 91.<br>> <br>>     The script file actually contains these lines (among others):<br>> <br>>        use CGI;<br>>        use XML::Simple;<br>>        use Koha::Patrons;<br>>        use Koha::AuthUtils qw(hash_password);<br>>        use Digest::MD5 qw(md5_base64);<br>>        use C4::Output;<br>>        use C4::Context;<br>>        my $query = new CGI;<br>>        ...<br>>        output_with_http_headers $query, undef, $xml, 'xml';<br>> <br>>     Can anyone please give me a hint how to solve this problem?<br>> <br>>     Best wishes: Michael<br>>     -- <br>>     Geschäftsführer · Diplombibliothekar BBS, Informatiker eidg. Fachausweis<br>>     Admin Kuhn GmbH · Pappelstrasse 20 · 4123 Allschwil · Schweiz<br>>     T 0041 (0)61 261 55 61 · E mik@adminkuhn.ch<br>>     <mailto:mik@adminkuhn.ch> · W www.adminkuhn.ch <http://www.adminkuhn.ch><br>>     _______________________________________________<br>>     Koha-devel mailing list<br>>     Koha-devel@lists.koha-community.org<br>>     <mailto:Koha-devel@lists.koha-community.org><br>>     https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel<br>>     <https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel><br>>     website : https://www.koha-community.org/<br>>     <https://www.koha-community.org/><br>>     git : https://git.koha-community.org/ <https://git.koha-community.org/><br>>     bugs : https://bugs.koha-community.org/<br>>     <https://bugs.koha-community.org/><br>> <br><br><br><br><br>------------------------------<br><br>Subject: Digest Footer<br><br>_______________________________________________<br>Koha-devel mailing list<br>Koha-devel@lists.koha-community.org<br>https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel<br>website : https://www.koha-community.org/<br>git : https://git.koha-community.org/<br>bugs : https://bugs.koha-community.org/<br><br><br>------------------------------<br><br>End of Koha-devel Digest, Vol 194, Issue 10<br>*******************************************<br></div><br><br>NOTE: You are receiving this mail because, the Requester/Technician wanted you to get notified on this request creation.<br></body></html>