Page MenuHomePhabricator

Database update for l10n_cache fails when running update.php for the first time
Closed, ResolvedPublic

Description

Author: jlerner

Description:
On 1.l5.0, update.php fails on the do_category_population() call (when update.php is running for the very first time).

Comment out array( 'do_category_population' ) and update.php seems to work fine (no complaints, anyway).

Removing the comment and running update.php a second time also succeeds (no-op).

Any reason why update.php can't be smarter and just run the 1.15->1.16 bits? Happy to code that.


Version: 1.16.x
Severity: enhancement

Details

Reference
bz19491

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:42 PM
bzimport set Reference to bz19491.
bzimport added a subscriber: Unknown Object (MLST).

Summary sounds like a dupe of bug 19447, but the description indicates otherwise. Rephrase summary, or is this a dupe?

jlerner wrote:

I don't it's a dupe - $wgLanguageCode was already 'en'. Tried setting it anyway, which made no difference.

Can you be more specific and say _what_ fails? What error message is generated?

jlerner wrote:

update.php error message

Sorry, should've included this in the first place.

Attached:

Judging by the error message this *does* look like a dupe after all. Marking as such; if the error persists after updating to SVN HEAD, please reopen.

  • This bug has been marked as a duplicate of bug 19447 ***

Change 424865 had a related patch set uploaded (by Zoranzoki21; owner: Zoranzoki21):
[mediawiki/extensions/Survey@master] New version 0.4.0

https://gerrit.wikimedia.org/r/424865