https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22217
--- Comment #5 from David Cook <[email protected]> --- (In reply to Jonathan Druart from comment #4) > What's happening? > debian/scripts/koha-translate set KOHA_CONF (for non-dev installs) to > /etc/koha/koha-conf-site.xml.in, ecause our LangInstaller module needs some > paths from there (like intrahtdoc). > The problem is that this koha-conf does not have a valid memcached config, > and so we reach Koha::Cache without correct values and get the warning. > > We definitively can ignore this warning, but it would be better to remove it > of course. However I have no idea how to clean that. I've thought of a few strategies. The easiest is probably to add an environmental variable to koha-translate that can prevent L2 caching from being initialized in Koha::Cache. Alternatively: 1. Remove the dependency on C4::Context in LangInstaller, and instead pass intranetdir, opacdir, intrahtdocs, and opachtdocs as arguments to the LangInstaller constructor. 2. Customize C4::Context and Koha::Caches to pass an argument to the Koha::Cache constructor to prevent L2 (ie memcached) caching from initialising, and use this argument in koha-translate -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
