Last modified: 2010-05-15 15:33:26 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T5426, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 3426 - Variable wgContLang is null in ObjectCache.php and Title.php
Variable wgContLang is null in ObjectCache.php and Title.php
Status: RESOLVED WORKSFORME
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
1.4.x
All other
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
http://freemind.sourceforge.net/wiki/...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-09-11 15:57 UTC by Daniel Polansky
Modified: 2010-05-15 15:33 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Daniel Polansky 2005-09-11 15:57:38 UTC
Often, but not always, an error occurs saying that a method of non-object has
been called, in ObjectCache.php and in Title.php. An investigation shows that it
is because of $wgContLang being null.

At the same time, although the file caching is on, wiki almost does not respond.
This was not the case before upgrading from 1.4.5 to 1.4.9.

I am not sure about operating system and platform; we are running at SourceForge.

Thanks a lot.
Comment 1 T. Gries 2005-09-11 18:03:21 UTC
I think, this is related to the problem which I reported in
http://bugzilla.wikimedia.org/show_bug.cgi?id=1805 "new User() objects see
undefined $wgContLang due to early call of loadfromsession() in Setup.php"

The problem can be solved by a slight delay (move) of a few lines of codes, see
the patch in 1805. (EnotifWiki has this problem solved.)
Comment 2 Daniel Polansky 2005-09-12 17:00:53 UTC
I have downgraded the severity of this bug. Without any action on my side, our
wiki is working fine again. Also, the file cache seems to take effect now. My
guess is that the bug appears under rare circumstances, which is why it has not
been detected and removed before in the first place.
Comment 3 Rob Church 2007-06-08 01:25:39 UTC
Reopen if this recurs in current trunk; suspect it was fixed ages ago.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links