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





--- Comment #26 from Tim Starling <tstarl...@wikimedia.org>  2009-07-08 
10:49:25 UTC ---
(In reply to comment #25)
> I have the same problem after updating at revision r52836
> update.php fails with the following message : 
> 
> 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)
> 
> it works if I create the table manually

Can you get a backtrace please? Just comment out the whole of
DBQueryError::getText(). So includes/db/Database.php around line 2559 becomes:

/**** REMOVED TO GET BACKTRACE
function getText() {
        if ( $this->useMessageCache() ) {
                return wfMsg( 'dberrortextcl', htmlspecialchars(
$this->getSQL() ),
                  htmlspecialchars( $this->fname ), $this->errno,
htmlspecialchars( $this->error ) ) . "\n";
        } else {
                return $this->getMessage();
        }
}
****/

I've tested an upgrade from a fresh install of 1.15, but it's possible that
there are problematic extensions that invoke the localisation cache before it's
disabled.


-- 
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