[Koha] Display of Damage Status (952 ‡4)

2021-09-23 Thread Charles Kelley
Hi, all!

My library has a fairly significant number of books with yellowing
paper. The books are still usable -- we would withdraw it otherwise -- and
we plan to keep them in circulation until the paper turns brown or brittle.
We have marked such books with the appropriate damage value in 952 ‡4.

Unfortunately, this has led to confusion among some staff and almost
all the patrons because Koha reports the books

"Availability: No items available: Damaged (1)."

We would like to show a different statement, something akin to:

"Availability: every item available but 1 damaged."

The latter would mean that all items are available for circulation but
one is damage. Of course, if all items are available but none is damaged,
the notice would read "Availability: every item available."

Is this possible? Might the OPACHiddenItems list be a solution to this?

Many thanks, everyone!

-- 

気を付けて。 /ki wo tukete/ = Take care.

-- Charles.

Charles Kelley, MLS
PSC 704 Box 1029
APO AP 96338

Charles Kelley
Tsukimino 1-Chome 5-2
Tsukimino Gaadenia #210
Yamato-shi, Kanagawa-ken
〒242-0002 JAPAN

+1-301-741-7122 [US cell]
+81-80-4356-2178 [JPN cell]

mnogoja...@aol.com [h]
cmkelley...@gmail.com [p]

linkedin.com/in/cmkelleymls 
Meeting Your Information Needs. Virtually.
___

Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha


Re: [Koha] Overdrive integration in Koha 18.05

2021-09-23 Thread Michael Kuhn

Hi Alvaro

> The module referred in the message is an external perl module you have
> to install separately.
>
> You can find it in metacpan here:
>
> https://metacpan.org/pod/WebService::ILS::OverDrive::Patron
>
> Note I don't know if there are additional configs to do or how to
> integrate it with koha.

Thanks for your message! I have seen that this module is available in 
Meta CPAN. But I don't think this is the proper way to solve this 
problem in our Debian package installation of Koha 18.05.03. Especially 
since there are only four system preferences instead of eight anyway.


At the moment I guess the desired Overdrive integration was never 
(fully) functional in Koha 18.05.03 and we will have to update to a 
newer version to actually use the Overdrive integration as intended.


Best wishes: Michael
--
Geschäftsführer · Diplombibliothekar BBS, Informatiker eidg. Fachausweis
Admin Kuhn GmbH · Pappelstrasse 20 · 4123 Allschwil · Schweiz
T 0041 (0)61 261 55 61 · E m...@adminkuhn.ch · W www.adminkuhn.ch






Le mer. 22 sept. 2021 à 03:58, Michael Kuhn > a écrit :


Hi

In our library we are using Koha 18.05.03 on Debian GNU/Linux 8.

According to
https://bywatersolutions.com/education/overdrive-integration-in-koha

Overdrive is integrated within Koha. From Overdrive we have got several
bits of information but in Koha 18.05 we have only the following
available system preferences:

* OverDriveCirculation
* OverDriveClientKey
* OverDriveClientSecret
* OverDriveLibraryID

Filling these in indeed shows the new tab "OverDrive account" in the
OPAC user account, but then an "Internal Server Error":

Could not compile
/usr/share/koha/opac/cgi-bin/opac/external/overdrive/auth.pl
: Can't
locate WebService/ILS/OverDrive/Patron.pm in @INC (you may need to
install the WebService::ILS::OverDrive::Patron module) (@INC contains:
/usr/share/koha/lib /usr/share/koha/installer
/usr/share/koha/lib/installer /etc/perl
/usr/local/lib/x86_64-linux-gnu/perl/5.20.2
/usr/local/share/perl/5.20.2
/usr/lib/x86_64-linux-gnu/perl5/5.20 /usr/share/perl5
/usr/lib/x86_64-linux-gnu/perl/5.20 /usr/share/perl/5.20
/usr/local/lib/site_perl . /var/lib/koha/sbtreu/plugins) at
/usr/share/koha/lib/Koha/ExternalContent/OverDrive.pm line 24.
BEGIN failed--compilation aborted at
/usr/share/koha/lib/Koha/ExternalContent/OverDrive.pm line 24.
Compilation failed in require at
/usr/share/koha/opac/cgi-bin/opac/external/overdrive/auth.pl
 line 27.
BEGIN failed--compilation aborted at
/usr/share/koha/opac/cgi-bin/opac/external/overdrive/auth.pl
 line 27.

Does anyone know the solution to this?

I see in later versions of Koha there are more preferences:

* OverDriveAuthName
* OverDriveUsername
* OverDrivePasswordRequired
* OverDriveWebsiteID

We have the necessary bits of information from Overdrive but we can't
fill them in in Koha 18.05. Does this mean the Overdrive integration in
Koha 18.05 is not functional and we will have to update to a newer Koha
version?

Best wishes: Michael
--
Geschäftsführer · Diplombibliothekar BBS, Informatiker eidg. Fachausweis
Admin Kuhn GmbH · Pappelstrasse 20 · 4123 Allschwil · Schweiz
T 0041 (0)61 261 55 61 · E m...@adminkuhn.ch
 · W www.adminkuhn.ch 
___

Koha mailing list http://koha-community.org 
Koha@lists.katipo.co.nz 
Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha





___

Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha


[Koha] Koha 21.05 Internal server error on https

2021-09-23 Thread Jacopo

Hi,
I recently tried to install Koha 21.05 on a Debian 10.10 server and then 
to move 2 libraries from another Koha instance (20.05), which was 
unsuccessful but will be the subject of another email. Currently I am 
experiencing a different issue: recurrent internal server errors both on 
for the opac and the intranet when connecting though https (http is 
working).


The error I get, from /var/log/koha/library/opac-error.log:

```
[Thu Sep 23 14:36:17.087937 2021] [cgi:error] [pid 21969] [client xxx] 
AH01215: Use of uninitialized value $compiled in concatenation (.) or 
string at /usr/lib/x86_64-linux-gnu/perl5/5.28/Template/Provider.pm line 
572.: /usr/share/koha/opac/cgi-bin/opac/opac-main.pl
[Thu Sep 23 14:36:17.088568 2021] [cgi:error] [pid 21969] [client xxx] 
AH01215: compiled template : Can't locate 
/tmp//usr/share/koha/opac/htdocs/opac-tmpl/bootstrap/en/modules/opac-main.tt.ttc: 
  
/tmp//usr/share/koha/opac/htdocs/opac-tmpl/bootstrap/en/modules/opac-main.tt.ttc: 
Permission denied at 
/usr/lib/x86_64-linux-gnu/perl5/5.28/Template/Provider.pm line 571.: 
/usr/share/koha/opac/cgi-bin/opac/opac-main.pl
[Thu Sep 23 14:36:17.088598 2021] [cgi:error] [pid 21969] [client xxx] 
AH01215: : /usr/share/koha/opac/cgi-bin/opac/opac-main.pl
[Thu Sep 23 14:36:17.118243 2021] [cgi:error] [pid 21969] [client xxx] 
AH01215: Template process failed: file error - cache failed to write 
opac-main.tt.ttc: Error in tempfile() using template 
/tmp/usr/share/koha/opac/htdocs/opac-tmpl/bootstrap/en/modules/XX: 
Could not create temp file 
/tmp/usr/share/koha/opac/htdocs/opac-tmpl/bootstrap/en/modules/Ti3EjV0TMw: 
Permission denied at 
/usr/lib/x86_64-linux-gnu/perl5/5.28/Template/Document.pm line 301.: 
/usr/share/koha/opac/cgi-bin/opac/opac-main.pl
[Thu Sep 23 14:36:17.156177 2021] [cgi:error] [pid 21969] [client xxx] 
End of script output before headers: opac-main.pl
[Thu Sep 23 14:36:18.597239 2021] [cgi:error] [pid 21969] [client xxx] 
AH01215: Use of uninitialized value $compiled in concatenation (.) or 
string at /usr/lib/x86_64-linux-gnu/perl5/5.28/Template/Provider.pm line 
572.: /usr/share/koha/opac/cgi-bin/opac/errors/500.pl
[Thu Sep 23 14:36:18.597997 2021] [cgi:error] [pid 21969] [client xxx] 
AH01215: compiled template : Can't locate 
/tmp//usr/share/koha/opac/htdocs/opac-tmpl/bootstrap/en/modules/errors/errorpage.tt.ttc: 
  
/tmp//usr/share/koha/opac/htdocs/opac-tmpl/bootstrap/en/modules/errors/errorpage.tt.ttc: 
Permission denied at 
/usr/lib/x86_64-linux-gnu/perl5/5.28/Template/Provider.pm line 571.: 
/usr/share/koha/opac/cgi-bin/opac/errors/500.pl
[Thu Sep 23 14:36:18.598021 2021] [cgi:error] [pid 21969] [client xxx] 
AH01215: : /usr/share/koha/opac/cgi-bin/opac/errors/500.pl
[Thu Sep 23 14:36:18.613489 2021] [cgi:error] [pid 21969] [client xxx] 
AH01215: Template process failed: file error - cache failed to write 
errorpage.tt.ttc: Error in tempfile() using template 
/tmp/usr/share/koha/opac/htdocs/opac-tmpl/bootstrap/en/modules/errors/XX: 
Could not create temp file 
/tmp/usr/share/koha/opac/htdocs/opac-tmpl/bootstrap/en/modules/errors/mVp8iM_cko: 
Permission denied at 
/usr/lib/x86_64-linux-gnu/perl5/5.28/Template/Document.pm line 301.: 
/usr/share/koha/opac/cgi-bin/opac/errors/500.pl
[Thu Sep 23 14:36:18.646433 2021] [cgi:error] [pid 21969] [client xxx] 
End of script output before headers: 500.pl

```

The ownership of /usr/share/koha/{intranet,opac} is set to the user 
www-data.

The ownership of /etc/koha/sites is set to the user koha_koha.

Any help would be greatly appreciated.

Thanks!

Jacopo
___

Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha