Bug 27425 - Koha as a CMS - software error when accessing static pages (problem with "GetDailyQuote")
Summary: Koha as a CMS - software error when accessing static pages (problem with "Get...
Status: CLOSED INVALID
Alias: None
Product: Koha
Classification: Unclassified
Component: OPAC (show other bugs)
Version: 20.11
Hardware: All All
: P5 - low normal (vote)
Assignee: Owen Leonard
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-13 15:08 UTC by Isabel Pineda
Modified: 2021-12-13 21:10 UTC (History)
0 users

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Isabel Pineda 2021-01-13 15:08:12 UTC
After updating to Koha 20.11, static pages (added at Global preferences -> local use) cannot be accessed anymore. The error message is:
Software error:
"GetDailyQuote" is not exported by the C4::Koha module
Can't continue after import errors at /usr/share/koha/opac/cgi-bin/opac/pages.pl line 27.
BEGIN failed--compilation aborted at /usr/share/koha/opac/cgi-bin/opac/pages.pl line 27.

Temporary solution: In the file /usr/share/koha/opac/cgi-bin/opac/pages.pl I commented all lines that mention the functionality "GetDailyQuote".
Comment 1 Katrin Fischer 2021-01-13 15:12:13 UTC
Hi Isabel, pages.pl is a file that only exists in your installation as it's part of the CMS "hack", so we can't fix this in Koha itself. It needs to be fixed locally. As you are not using the DailyQuotes feature and if it works now, your fix should be ok.