https://bugzilla.wikimedia.org/show_bug.cgi?id=19447





--- Comment #27 from ThomasV <thoma...@gmx.de>  2009-07-08 12:41:07 UTC ---
here it is :

A database error has occurred
Query: SELECT  lc_value  FROM `l10n_cache`  WHERE lc_lang = 'en' AND lc_key =
'deps'  LIMIT 1  
Function: LCStore_DB::get
Error: 1146 Table 'wikidb.l10n_cache' doesn't exist (localhost)

Backtrace:
#0 /var/www/w/includes/db/Database.php(502):
DatabaseBase->reportQueryError('Table 'wikidb.l...', 1146, 'SELECT 
lc_valu...', 'LCStore_DB::get', false)
#1 /var/www/w/includes/db/Database.php(838): DatabaseBase->query('SELECT 
lc_valu...', 'LCStore_DB::get')
#2 /var/www/w/includes/db/Database.php(918): DatabaseBase->select('l10n_cache',
Array, Array, 'LCStore_DB::get', Array, Array)
#3 /var/www/w/includes/LocalisationCache.php(725):
DatabaseBase->selectRow('l10n_cache', Array, Array, 'LCStore_DB::get')
#4 /var/www/w/includes/LocalisationCache.php(299): LCStore_DB->get('en',
'deps')
#5 /var/www/w/includes/LocalisationCache.php(324):
LocalisationCache->isExpired('en')
#6 /var/www/w/includes/LocalisationCache.php(275):
LocalisationCache->initLanguage('en')
#7 /var/www/w/includes/LocalisationCache.php(230):
LocalisationCache->loadSubitem('en', 'messages', 'proofreadpage_n...')
#8 /var/www/w/languages/Language.php(1462): LocalisationCache->getSubitem('en',
'messages', 'proofreadpage_n...')
#9 /var/www/w/includes/MessageCache.php(531):
Language->getMessage('proofreadpage_n...')
#10 [internal function]: MessageCache->get('proofreadpage_n...', true, true)
#11 /var/www/w/includes/StubObject.php(58): call_user_func_array(Array, Array)
#12 /var/www/w/includes/StubObject.php(76): StubObject->_call('get', Array)
#13 [internal function]: StubObject->__call('get', Array)
#14 /var/www/w/includes/GlobalFunctions.php(646):
StubObject->get('proofreadpage_n...', true, true)
#15 /var/www/w/includes/GlobalFunctions.php(611):
wfMsgGetKey('proofreadpage_n...', true, true, true)
#16 /var/www/w/includes/GlobalFunctions.php(559):
wfMsgReal('proofreadpage_n...', Array, true, true)
#17 /var/www/w/extensions/ProofreadPage/ProofreadPage.php(74):
wfMsgForContent('proofreadpage_n...')
#18 [internal function]: pr_main()
#19 /var/www/w/includes/Setup.php(328): call_user_func('pr_main')
#20 /var/www/w/maintenance/commandLine.inc(259):
require_once('/var/www/w/incl...')
#21 /var/www/w/maintenance/update.php(14): require('/var/www/w/main...')
#22 {main}


It looks like the initialization pr_main() of extensions/ProofreadPage should
not invoke wfMsgForContent. I did this in order to store the names of the
"page" and "index" namespaces as globals, because they are frequently needed by
the extension. I suppose this was not the right way to do it, but I do not know
how to fix it..


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
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

Reply via email to