Bug 41252 - Template error with library_name_title
Summary: Template error with library_name_title
Status: CLOSED INVALID
Alias: None
Product: Koha
Classification: Unclassified
Component: OPAC (show other bugs)
Version: 25.05
Hardware: All All
: P5 - low enhancement
Assignee: Owen Leonard
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-11-14 06:53 UTC by Sven Seeberg
Modified: 2025-11-15 08:36 UTC (History)
1 user (show)

See Also:
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:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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