Re: [Koha] 500 error for News, HTML customizations, Pages

2023-11-15 Thread Aida Djikic
So I have been trying to import students' theses from an old program that we used to use before it was abandoned by the developer, but which was not really meant for libraries. I have successfully exported the data and cleaned up the records from 2008-2012; however, when I tried to convert in

Re: [Koha] 500 error for News, HTML customizations, Pages

2023-11-15 Thread Jonathan Druart
Sorry, I misread. I thought the problem was the generation of a notice. So, second guess, you have a value in the table additional_contents.borrowernumber that does not point to a valid patron. But this value should not be wrong, there is a foreign key on it. What do you mean by you "have

Re: [Koha] 500 error for News, HTML customizations, Pages

2023-11-15 Thread Aida Djikic
I don't know what that means, and how to correct it. On Wed, Nov 15, 2023 at 12:20 PM Jonathan Druart < jonathan.dru...@bugs.koha-community.org> wrote: > > Template process failed: undef error - DBIC result _type isn't of the > _type Category at >

Re: [Koha] 500 error for News, HTML customizations, Pages

2023-11-15 Thread Jonathan Druart
> Template process failed: undef error - DBIC result _type isn't of the _type Category at /usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/includes/patron-title.inc line 6. You are calling patron-title.inc incorrectly. My guess is that you are doing [% patron-title.inc patron =>

Re: [Koha] 500 error for News, HTML customizations, Pages

2023-11-15 Thread Aida Djikic
Hello Jonathan, thank you for the instructions. I tried that, and got the following: ==> /var/log/koha/librarym21/api-error.log <== ==> /var/log/koha/librarym21/indexer-error.log <== 20231113 22:31:12 librarym21-koha-indexer: client (pid 1121) killed by signal 15, stopping ==>

Re: [Koha] 500 error for News, HTML customizations, Pages

2023-11-15 Thread Jonathan Druart
Try `tail -f /var/log/koha/*/*.log` then hit the page that causes the 500. You should then see the relevant error. Le mer. 15 nov. 2023 à 10:42, Aida Djikic a écrit : > Alright, restarting Plack and memcached didn't work, and neither did > upgrading the schema. I haven't yet been able to find

Re: [Koha] 500 error for News, HTML customizations, Pages

2023-11-15 Thread Aida Djikic
Alright, restarting Plack and memcached didn't work, and neither did upgrading the schema. I haven't yet been able to find where to go to access the error logs; once I do I should post them here? On Wed, Nov 15, 2023 at 9:03 AM Aida Djikic wrote: > Thank you Anke, > > I will try those! > > > On

Re: [Koha] 500 error for News, HTML customizations, Pages

2023-11-15 Thread Aida Djikic
Thank you Anke, I will try those! On Tue, Nov 14, 2023, 16:33 Bruns, Anke wrote: > Hi, > > a quick shot would be to restart Plack (if you use Plack, of course) > and/or memcached. > Or perhaps a "koha-upgrade-schema " may help. > > You might also have a look into the Plack log or the MySQL

Re: [Koha] 500 error for News, HTML customizations, Pages

2023-11-14 Thread Bruns, Anke
Hi, a quick shot would be to restart Plack (if you use Plack, of course) and/or memcached. Or perhaps a "koha-upgrade-schema " may help. You might also have a look into the Plack log or the MySQL error log. These are just some things that helped us in some cases. Unfortunately a 500 error is