[Mahara-contributors] [Bug 787123] Re: static $lang in mahara.php
** Changed in: mahara/1.4 Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Mahara Contributors, which is subscribed to Mahara. https://bugs.launchpad.net/bugs/787123 Title: static $lang in mahara.php Status in Mahara ePortfolio: Fix Released Status in Mahara 1.4 series: Fix Released Bug description: Hi, please check if the line with static $lang around line 821 or 925 prevents that language packs are installable? I noticed/read this problem in a few German installations. Cheers Heinz To manage notifications about this bug go to: https://bugs.launchpad.net/mahara/+bug/787123/+subscriptions ___ Mailing list: https://launchpad.net/~mahara-contributors Post to : mahara-contributors@lists.launchpad.net Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp
[Mahara-contributors] [Bug 787123] Re: static $lang in mahara.php
** Changed in: mahara/1.4 Status: In Progress => Fix Committed -- You received this bug notification because you are a member of Mahara Contributors, which is subscribed to Mahara. https://bugs.launchpad.net/bugs/787123 Title: static $lang in mahara.php Status in Mahara ePortfolio: Fix Released Status in Mahara 1.4 series: Fix Committed Bug description: Hi, please check if the line with static $lang around line 821 or 925 prevents that language packs are installable? I noticed/read this problem in a few German installations. Cheers Heinz To manage notifications about this bug go to: https://bugs.launchpad.net/mahara/+bug/787123/+subscriptions ___ Mailing list: https://launchpad.net/~mahara-contributors Post to : mahara-contributors@lists.launchpad.net Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp
[Mahara-contributors] [Bug 787123] Re: static $lang in mahara.php
** Changed in: mahara Milestone: 1.5.0 => None ** Changed in: mahara Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Mahara Contributors, which is subscribed to Mahara. https://bugs.launchpad.net/bugs/787123 Title: static $lang in mahara.php Status in Mahara ePortfolio: Fix Released Status in Mahara 1.4 series: In Progress Bug description: Hi, please check if the line with static $lang around line 821 or 925 prevents that language packs are installable? I noticed/read this problem in a few German installations. Cheers Heinz To manage notifications about this bug go to: https://bugs.launchpad.net/mahara/+bug/787123/+subscriptions ___ Mailing list: https://launchpad.net/~mahara-contributors Post to : mahara-contributors@lists.launchpad.net Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp
[Mahara-contributors] [Bug 787123] Re: static $lang in mahara.php
** Changed in: mahara/1.4 Status: New => In Progress ** Changed in: mahara/1.4 Assignee: (unassigned) => Richard Mansfield (richard-mansfield) -- You received this bug notification because you are a member of Mahara Contributors, which is subscribed to Mahara. https://bugs.launchpad.net/bugs/787123 Title: static $lang in mahara.php Status in Mahara ePortfolio: Fix Released Status in Mahara 1.4 series: In Progress Bug description: Hi, please check if the line with static $lang around line 821 or 925 prevents that language packs are installable? I noticed/read this problem in a few German installations. Cheers Heinz To manage notifications about this bug go to: https://bugs.launchpad.net/mahara/+bug/787123/+subscriptions ___ Mailing list: https://launchpad.net/~mahara-contributors Post to : mahara-contributors@lists.launchpad.net Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp
[Mahara-contributors] [Bug 787123] Re: static $lang in mahara.php
Also see bug 800512 for a fixup. ** Also affects: mahara/1.4 Importance: Undecided Status: New ** Changed in: mahara/1.4 Milestone: None => 1.4.1 ** Changed in: mahara/1.4 Importance: Undecided => Medium -- You received this bug notification because you are a member of Mahara Contributors, which is subscribed to Mahara. https://bugs.launchpad.net/bugs/787123 Title: static $lang in mahara.php Status in Mahara ePortfolio: Fix Committed Status in Mahara 1.4 series: New Bug description: Hi, please check if the line with static $lang around line 821 or 925 prevents that language packs are installable? I noticed/read this problem in a few German installations. Cheers Heinz To manage notifications about this bug go to: https://bugs.launchpad.net/mahara/+bug/787123/+subscriptions ___ Mailing list: https://launchpad.net/~mahara-contributors Post to : mahara-contributors@lists.launchpad.net Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp
[Mahara-contributors] [Bug 787123] Re: static $lang in mahara.php
** Changed in: mahara Status: In Progress => Fix Committed -- You received this bug notification because you are a member of Mahara Contributors, which is subscribed to Mahara. https://bugs.launchpad.net/bugs/787123 Title: static $lang in mahara.php Status in Mahara ePortfolio: Fix Committed Bug description: Hi, please check if the line with static $lang around line 821 or 925 prevents that language packs are installable? I noticed/read this problem in a few German installations. Cheers Heinz ___ Mailing list: https://launchpad.net/~mahara-contributors Post to : mahara-contributors@lists.launchpad.net Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp
[Mahara-contributors] [Bug 787123] Re: static $lang in mahara.php
If I'm right about what's causing it, a better workaround which doesn't involve modifying the code would be to add the site language setting into config.php: $cfg->lang = 'de.utf8'; -- You received this bug notification because you are a member of Mahara Contributors, which is subscribed to Mahara. https://bugs.launchpad.net/bugs/787123 Title: static $lang in mahara.php Status in Mahara ePortfolio: In Progress Bug description: Hi, please check if the line with static $lang around line 821 or 925 prevents that language packs are installable? I noticed/read this problem in a few German installations. Cheers Heinz ___ Mailing list: https://launchpad.net/~mahara-contributors Post to : mahara-contributors@lists.launchpad.net Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp
[Mahara-contributors] [Bug 787123] Re: static $lang in mahara.php
** Changed in: mahara Status: Confirmed => In Progress -- You received this bug notification because you are a member of Mahara Contributors, which is subscribed to Mahara. https://bugs.launchpad.net/bugs/787123 Title: static $lang in mahara.php Status in Mahara ePortfolio: In Progress Bug description: Hi, please check if the line with static $lang around line 821 or 925 prevents that language packs are installable? I noticed/read this problem in a few German installations. Cheers Heinz ___ Mailing list: https://launchpad.net/~mahara-contributors Post to : mahara-contributors@lists.launchpad.net Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp
[Mahara-contributors] [Bug 787123] Re: static $lang in mahara.php
Looks to me like this is due to get_string being called before the config is loaded up, which can happen if, for example, the site fails one of the sanity checks, and calls get_string to report an error. If that's the problem, then to fix it without any impact on performance, we can just reset the current language after loading the config. -- You received this bug notification because you are a member of Mahara Contributors, which is subscribed to Mahara. https://bugs.launchpad.net/bugs/787123 Title: static $lang in mahara.php Status in Mahara ePortfolio: Confirmed Bug description: Hi, please check if the line with static $lang around line 821 or 925 prevents that language packs are installable? I noticed/read this problem in a few German installations. Cheers Heinz ___ Mailing list: https://launchpad.net/~mahara-contributors Post to : mahara-contributors@lists.launchpad.net Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp
[Mahara-contributors] [Bug 787123] Re: static $lang in mahara.php
** Changed in: mahara Status: Triaged => Confirmed ** Changed in: mahara Importance: Undecided => Medium ** Changed in: mahara Assignee: (unassigned) => Richard Mansfield (richard-mansfield) ** Changed in: mahara Milestone: None => 1.5.0 -- You received this bug notification because you are a member of Mahara Contributors, which is subscribed to Mahara. https://bugs.launchpad.net/bugs/787123 Title: static $lang in mahara.php Status in Mahara ePortfolio: Confirmed Bug description: Hi, please check if the line with static $lang around line 821 or 925 prevents that language packs are installable? I noticed/read this problem in a few German installations. Cheers Heinz ___ Mailing list: https://launchpad.net/~mahara-contributors Post to : mahara-contributors@lists.launchpad.net Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp
[Mahara-contributors] [Bug 787123] Re: static $lang in mahara.php
Sounds like we need to investigate this one properly. Removing static here is likely to have a performance impact. ** Changed in: mahara Status: Incomplete => Triaged -- You received this bug notification because you are a member of Mahara Contributors, which is subscribed to Mahara. https://bugs.launchpad.net/bugs/787123 Title: static $lang in mahara.php Status in Mahara ePortfolio: Triaged Bug description: Hi, please check if the line with static $lang around line 821 or 925 prevents that language packs are installable? I noticed/read this problem in a few German installations. Cheers Heinz ___ Mailing list: https://launchpad.net/~mahara-contributors Post to : mahara-contributors@lists.launchpad.net Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp
[Mahara-contributors] [Bug 787123] Re: static $lang in mahara.php
please look at http://mahara.org/interaction/forum/topic.php?id=1736#post16283 too -- You received this bug notification because you are a member of Mahara Contributors, which is subscribed to Mahara. https://bugs.launchpad.net/bugs/787123 Title: static $lang in mahara.php Status in Mahara ePortfolio: Incomplete Bug description: Hi, please check if the line with static $lang around line 821 or 925 prevents that language packs are installable? I noticed/read this problem in a few German installations. Cheers Heinz ___ Mailing list: https://launchpad.net/~mahara-contributors Post to : mahara-contributors@lists.launchpad.net Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp
[Mahara-contributors] [Bug 787123] Re: static $lang in mahara.php
Hi Richard, yep several users reported this at mahara.org forums and Nigel modified my code also. Cheers Heinz -- You received this bug notification because you are a member of Mahara Contributors, which is subscribed to Mahara. https://bugs.launchpad.net/bugs/787123 Title: static $lang in mahara.php Status in Mahara ePortfolio: Incomplete Bug description: Hi, please check if the line with static $lang around line 821 or 925 prevents that language packs are installable? I noticed/read this problem in a few German installations. Cheers Heinz ___ Mailing list: https://launchpad.net/~mahara-contributors Post to : mahara-contributors@lists.launchpad.net Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp
[Mahara-contributors] [Bug 787123] Re: static $lang in mahara.php
** Changed in: mahara Status: New => Incomplete -- You received this bug notification because you are a member of Mahara Contributors, which is subscribed to Mahara. https://bugs.launchpad.net/bugs/787123 Title: static $lang in mahara.php Status in Mahara ePortfolio: Incomplete Bug description: Hi, please check if the line with static $lang around line 821 or 925 prevents that language packs are installable? I noticed/read this problem in a few German installations. Cheers Heinz ___ Mailing list: https://launchpad.net/~mahara-contributors Post to : mahara-contributors@lists.launchpad.net Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp
[Mahara-contributors] [Bug 787123] Re: static $lang in mahara.php
Heinz, Does that mean the sites that are having the problems have fixed it by removing the 'static' keyword? -- You received this bug notification because you are a member of Mahara Contributors, which is subscribed to Mahara. https://bugs.launchpad.net/bugs/787123 Title: static $lang in mahara.php Status in Mahara ePortfolio: Incomplete Bug description: Hi, please check if the line with static $lang around line 821 or 925 prevents that language packs are installable? I noticed/read this problem in a few German installations. Cheers Heinz ___ Mailing list: https://launchpad.net/~mahara-contributors Post to : mahara-contributors@lists.launchpad.net Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp