Bug 41252

Summary: Template error with library_name_title
Product: Koha Reporter: Sven Seeberg <mail>
Component: OPACAssignee: Owen Leonard <oleonard>
Status: CLOSED INVALID QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: mail
Version: 25.05   
Hardware: All   
OS: All   
GIT URL: Initiative type: ---
Sponsorship status: --- Comma delimited list of Sponsors:
Crowdfunding goal: 0 Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Sven Seeberg 2025-11-14 06:53:27 UTC
After installing the newest version today (25.05.05-2) on Debian Bookworm, the OPAC site only shows "Internal Server Error".

The plack-error.log shows this error message:
```
Template process failed: file error - library_name_title: not found at /usr/share/koha/lib/C4/Templates.pm line 146.
```
Comment 1 Sven Seeberg 2025-11-14 09:07:12 UTC
I removed the library_name_title field from /usr/share/koha/opac/htdocs/opac-tmpl/bootstrap/de-DE/modules/opac-main.tt. It then fails with the next variable: koha_news_block

I assume that all variables are missing and something is broken were the variables are handed to the template. However, I'm too unfamiliar with Perl and Koha to quickly provide any additional input.
Comment 2 Sven Seeberg 2025-11-15 08:36:51 UTC
It seems the code base was not the issue but rather the installation. I was able to solve it, however I don't know which of the 2 steps provided a solution:
- editing the OPACLanguages setting (removed de-DE and re-enabled it)
- apt install --reinstall koha-community