cross
Foswiki.org has been patched with a fix that will break all current logged in sessions. All users will have to log in again after the update.
You are here: Foswiki>Tasks Web>Item5637 (08 Jan 2009, KwangErnLiew)Edit Attach

Item5637: Move languages.cache to Working where webserver has permission to write so we can leave Locales read only

Priority: Normal
Current State: Closed
Released In: 1.0.0
Target Release: patch
Applies To: Engine
Component: I18N.pm
Branches:
Reported By: TWiki:Main.ChristianLudwig
Waiting For:
Last Change By: KwangErnLiew
In I18N.pm in the sub-routine _discover_languages the webserver tries to create (or read) the languages.cache file in the LocalesDir. Hence the webserver must have write permission on this file.

Please mention this in the docs (or perhaps it's mentioned somewhere, but I didn't find it) or move this cache in the working directory.

-- TWiki:Main/ChristianLudwig - 19 May 2008

moving to WorkingDir

ItemTemplate edit

Summary Move languages.cache to Working where webserver has permission to write so we can leave Locales read only
ReportedBy TWiki:Main.ChristianLudwig
Codebase trunk
SVN Range
AppliesTo Engine
Component I18N.pm
Priority Normal
CurrentState Closed
WaitingFor
Checkins distro:1ab3f8219be6
TargetRelease patch
ReleasedIn 1.0.0
Topic revision: r5 - 08 Jan 2009, KwangErnLiew - This page was cached on 02 Aug 2015 - 04:17. Get a fresh version here.
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License