Re: [Koha] Koha upgrade 22.11.6 to 23.5.00 upgrade-schema error

2023-06-07 Thread MASTeR Library
It working,
Thanks you Jonathan and all supports .

On Wed, 7 Jun 2023, 12:48 pm Jonathan Druart, <
jonathan.dru...@bugs.koha-community.org> wrote:

> Hey, put a proper key there! Not "__ENCRYPTION_KEY__"!
> It can be generated using the following command `pwgen 32`
>
> Le mer. 7 juin 2023 à 07:41, Сычев Игорь Алексеевич  a écrit :
>
> > Hi!
> >
> > I added the lines:
> >  
> >  __ENCRYPTION_KEY__
> >
> > The update went through without a problem.
> >
> > https://github.com/Koha-Community/Koha/blob/master/etc/koha-conf.xml
> >
> > Good Luck!
> >
> > Igor A. Sychev
> > Tomsk Polytechnic University
> > https://lib.tpu.ru
> >
> >
> > ___
> >
> > 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 mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha


Re: [Koha] Install Koha 23.05

2023-06-07 Thread Jonathan Druart
Hi

Le mer. 7 juin 2023 à 09:29, Сычев Игорь Алексеевич  a écrit :

> Hello!
>
> Clean installation of Koha 23.05
>
> sample_libraries_holidays.yml
> DBD::mysql::db do failed: Cannot add or update a child row: a foreign key
> constraint fails (`koha_lib`.`repeatable_holidays`, CONSTRAINT
> `repeatable_holidays_ibfk_1` FOREIGN KEY (`branchcode`) REFERENCES
> `branches` (`branchcode`) ON DELETE CASCADE ON UPDATE CASCADE) at
> /usr/share/koha/lib/C4/Installer.pm line 579.
>

See bug 33581


> account_credit_types.sql
> Something went wrong loading file
> /usr/share/koha/intranet/cgi-bin/installer/data/mysql/mandatory/account_credit_types.sql
> (Couldn't read
> '/usr/share/koha/intranet/cgi-bin/installer/data/mysql/mandatory/account_credit_types.sql'
> : No such file or directory at /usr/share/perl5/DBIx/RunSQL.pm line 180. )
> at /usr/share/koha/lib/C4/Installer.pm line 587.
>
> account_debit_types.sql
> Something went wrong loading file
> /usr/share/koha/intranet/cgi-bin/installer/data/mysql/mandatory/account_debit_types.sql
> (Couldn't read
> '/usr/share/koha/intranet/cgi-bin/installer/data/mysql/mandatory/account_debit_types.sql'
> : No such file or directory at /usr/share/perl5/DBIx/RunSQL.pm line 180. )
> at /usr/share/koha/lib/C4/Installer.pm line 587.
>

Related to bug 26403. See bug 33935.


> Good Luck!
>
> Igor A. Sychev
> Tomsk Polytechnic University
> https://lib.tpu.ru
> ___
>
> 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] Install Koha 23.05

2023-06-07 Thread Сычев Игорь Алексеевич
Hello!

Clean installation of Koha 23.05

sample_libraries_holidays.yml
DBD::mysql::db do failed: Cannot add or update a child row: a foreign key 
constraint fails (`koha_lib`.`repeatable_holidays`, CONSTRAINT 
`repeatable_holidays_ibfk_1` FOREIGN KEY (`branchcode`) REFERENCES `branches` 
(`branchcode`) ON DELETE CASCADE ON UPDATE CASCADE) at 
/usr/share/koha/lib/C4/Installer.pm line 579.

account_credit_types.sql
Something went wrong loading file 
/usr/share/koha/intranet/cgi-bin/installer/data/mysql/mandatory/account_credit_types.sql
 (Couldn't read 
'/usr/share/koha/intranet/cgi-bin/installer/data/mysql/mandatory/account_credit_types.sql'
 : No such file or directory at /usr/share/perl5/DBIx/RunSQL.pm line 180. ) at 
/usr/share/koha/lib/C4/Installer.pm line 587.

account_debit_types.sql
Something went wrong loading file 
/usr/share/koha/intranet/cgi-bin/installer/data/mysql/mandatory/account_debit_types.sql
 (Couldn't read 
'/usr/share/koha/intranet/cgi-bin/installer/data/mysql/mandatory/account_debit_types.sql'
 : No such file or directory at /usr/share/perl5/DBIx/RunSQL.pm line 180. ) at 
/usr/share/koha/lib/C4/Installer.pm line 587.

Good Luck!

Igor A. Sychev
Tomsk Polytechnic University
https://lib.tpu.ru
___

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


Re: [Koha] Koha upgrade 22.11.6 to 23.5.00 upgrade-schema error

2023-06-07 Thread Jonathan Druart
Hey, put a proper key there! Not "__ENCRYPTION_KEY__"!
It can be generated using the following command `pwgen 32`

Le mer. 7 juin 2023 à 07:41, Сычев Игорь Алексеевич  a écrit :

> Hi!
>
> I added the lines:
>  
>  __ENCRYPTION_KEY__
>
> The update went through without a problem.
>
> https://github.com/Koha-Community/Koha/blob/master/etc/koha-conf.xml
>
> Good Luck!
>
> Igor A. Sychev
> Tomsk Polytechnic University
> https://lib.tpu.ru
>
>
> ___
>
> 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


Re: [Koha] re customizing the self-registration form page

2023-06-07 Thread Jonathan Druart
Hi Thomas,

This CSS rule should work:
#opac-patron-registration #OpacCustomSearch {
  display: none;
}
It will hide #OpacCustomSearch when it's inside #opac-patron-registration,
which is the id of the body on the self registration page.

Regards,
Jonathan

Le mar. 6 juin 2023 à 17:58, Thomas Vealehse  a
écrit :

> Hi
> Does anyone know if we can have a custom header just for one page ( the
> self registration page) on koha ?
> Or how to hide the opacheader and OpacCustomSearch on that page ( via css?)
>
> Thanks
> Thomas Veale
> Librarian
> HSE libraries
> Ireland
> ___
>
> 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


Re: [Koha] Not Allowed On Shelf Holds

2023-06-07 Thread Katrin Fischer

Hi,

which version of Koha are you using? It sounds like you might be on an
older version.

The AllowOnShelfHolds system preference has been removed and was
replaced by settings in the circulation rules. The settings allow you to
determine if one or all items must be unavailable in order to allow an
on shelf hold.

Hope this helps,

Katrin

On 06.06.23 09:10, Ruqaiya Said Alfarsi wrote:

Dear All

The error occurs in OPAC even though the following parameters are set:


AllowOnShelfHolds is OFF
OpacItemHolds is OFF
RequestOnOPAC is ON

When a title has two items, one is checked out, the other is
available, then Koha allows the borrower to place a hold, which is
then stored in Koha. This should not be possible, because one of the
two items is still available on the shelf.


--


___

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