[Bug 19447] Table '...l10n_cache' doesn't exist
https://bugzilla.wikimedia.org/show_bug.cgi?id=19447 --- Comment #1 from jida...@jidanni.org 2009-06-30 18:49:03 UTC --- my $wgDebugLogFile contains: Start command line script maintenance/update.php Main cache: FakeMemCachedClient Message cache: MediaWikiBagOStuff Parser cache: MediaWikiBagOStuff Fully initialised Unstubbing $wgContLang on call of $wgContLang::ucfirst from Title::secureAndSplit Class LanguageZh_tw not found; skipped loading LocalisationCache: using store LCStore_DB Connecting to mysql.transgender-taiwan.org transgender... Connected SQL ERROR: Table 'transgender.l10n_cache' doesn't exist (mysql.transgender-taiwan.org) -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 19447] Table '...l10n_cache' doesn't exist
https://bugzilla.wikimedia.org/show_bug.cgi?id=19447 --- Comment #2 from jida...@jidanni.org 2009-06-30 19:02:13 UTC --- Here's the same thing, but when run on an English site. All is well. Start command line script abj.jidanni.org/maintenance/update.php Main cache: FakeMemCachedClient Message cache: MediaWikiBagOStuff Parser cache: MediaWikiBagOStuff Fully initialised Unstubbing $wgContLang on call of $wgContLang::ucfirst from Title::secureAndSplit LocalisationCache: using store LCStore_DB Connecting to mysql.transgender-taiwan.org mwabj... Connected DatabaseBase::query: Writes done: DESCRIBE `ipblocks` SQL ERROR (ignored): Table 'mwabj.profiling' doesn't exist (mysql.transgender-taiwan.org) SQL ERROR (ignored): Table 'mwabj.l10n_cache' doesn't exist (mysql.transgender-taiwan.org) Unstubbing $wgAuth on call of $wgAuth::getCanonicalName from User::getCanonicalName LocalisationCache::isExpired(en): cache missing, need to make one LocalisationCache::recache: got localisation for en from source -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 19447] Table '...l10n_cache' doesn't exist
https://bugzilla.wikimedia.org/show_bug.cgi?id=19447 Andrew Garrett agarr...@wikimedia.org changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|INVALID | --- Comment #4 from Andrew Garrett agarr...@wikimedia.org 2009-06-30 19:07:35 UTC --- Oops, didn't read the report properly. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 19447] Table '...l10n_cache' doesn't exist
https://bugzilla.wikimedia.org/show_bug.cgi?id=19447 --- Comment #5 from jida...@jidanni.org 2009-06-30 20:11:34 UTC --- By the way, adding $ cat StartProfiler.php require_once( dirname(__FILE__).'/includes/Profiler.php' ); $wgProfiler = new Profiler; for the zh-tw case doesn't add any more information to $wgDebugLogFile, but just proceeds to eat 100% CPU until one hits ^C. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 19447] Table '...l10n_cache' doesn't exist
https://bugzilla.wikimedia.org/show_bug.cgi?id=19447 OverlordQ overlo...@gmail.com changed: What|Removed |Added CC||overlo...@gmail.com --- Comment #6 from OverlordQ overlo...@gmail.com 2009-06-30 20:33:24 UTC --- Here's a slightly better backtrace: Warning: pg_query(): Query failed: ERROR: relation l10n_cache does not exist in /var/www/thedarkcitadel.com/wiki/includes/db/DatabasePostgres.php on line 580 A database error has occurred Query: SELECT lc_value FROM l10n_cache WHERE lc_lang = 'en_gb' AND lc_key = 'deps' LIMIT 1 Function: LCStore_DB::get Error: 1 ERROR: relation l10n_cache does not exist Backtrace: #0 /var/www/site.com/wiki/includes/db/Database.php(502): DatabasePostgres-reportQueryError('ERROR: relatio...', 1, 'SELECT lc_valu...', 'LCStore_DB::get', false) #1 /var/www/site.com/wiki/includes/db/Database.php(838): DatabaseBase-query('SELECT lc_valu...', 'LCStore_DB::get') #2 /var/www/site.com/wiki/includes/db/Database.php(918): DatabaseBase-select('l10n_cache', Array, Array, 'LCStore_DB::get', Array, Array) #3 /var/www/site.com/wiki/includes/LocalisationCache.php(690): DatabaseBase-selectRow('l10n_cache', Array, Array, 'LCStore_DB::get') #4 /var/www/site.com/wiki/includes/LocalisationCache.php(289): LCStore_DB-get('en_gb', 'deps') #5 /var/www/site.com/wiki/includes/LocalisationCache.php(314): LocalisationCache-isExpired('en_gb') #6 /var/www/site.com/wiki/includes/LocalisationCache.php(232): LocalisationCache-initLanguage('en_gb') #7 /var/www/site.com/wiki/includes/LocalisationCache.php(198): LocalisationCache-loadItem('en_gb', 'fallback') #8 /var/www/site.com/wiki/languages/Language.php(2426): LocalisationCache-getItem('en_gb', 'fallback') #9 /var/www/site.com/wiki/languages/Language.php(160): Language::getFallbackFor('en_gb') #10 /var/www/site.com/wiki/languages/Language.php(131): Language::newFromCode('en_gb') #11 /var/www/site.com/wiki/includes/StubObject.php(122): Language::factory('en_gb') #12 /var/www/site.com/wiki/includes/StubObject.php(99): StubContLang-_newObject() #13 /var/www/site.com/wiki/includes/StubObject.php(57): StubObject-_unstub('ucfirst', 5) #14 /var/www/site.com/wiki/includes/StubObject.php(117): StubObject-_call('ucfirst', Array) #15 [internal function]: StubContLang-__call('ucfirst', Array) #16 /var/www/site.com/wiki/includes/Title.php(2341): StubContLang-ucfirst('MediaWiki_datab...') #17 /var/www/site.com/wiki/includes/Title.php(137): Title-secureAndSplit() #18 /var/www/site.com/wiki/maintenance/update.php(16): Title::newFromText('MediaWiki datab...') #19 {main} -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 19447] Table '...l10n_cache' doesn't exist
https://bugzilla.wikimedia.org/show_bug.cgi?id=19447 --- Comment #7 from OverlordQ overlo...@gmail.com 2009-06-30 20:38:24 UTC --- Forgot to mention, workaround is to temporarily set your $wgLanguageCode to en, run the update, then switch back. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 19447] Table '...l10n_cache' doesn't exist
https://bugzilla.wikimedia.org/show_bug.cgi?id=19447 --- Comment #8 from jida...@jidanni.org 2009-06-30 20:43:52 UTC --- temporarily set your $wgLanguageCode Sounds risky. By the way, for the English case where the new table was successfully added, $ mysqldump --no-data mwabj|perl -nwle '$h{$_}++ for /CHARSET=\w+/g;END{print $h{$_}\t$_ for keys %h}' 41 CHARSET=binary 2 CHARSET=utf8 1 CHARSET=latin1 Guess which new table is latin1 :-( . Please ensure new table creation follows the same rules the other tables were created with. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l