Last modified: 2009-04-25 11:23:36 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 T20579, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 18579 - r49790 breaks MediaWiki installation when using table prefix
r49790 breaks MediaWiki installation when using table prefix
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Database (Other open bugs)
1.15.x
All All
: Normal critical (vote)
: ---
Assigned To: Nobody - You can work on this!
: patch, patch-need-review
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-04-25 10:48 UTC by Ahmad Sherif
Modified: 2009-04-25 11:23 UTC (History)
2 users (show)

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


Attachments
proposed patch (638 bytes, patch)
2009-04-25 10:48 UTC, Ahmad Sherif
Details

Description Ahmad Sherif 2009-04-25 10:48:48 UTC
Created attachment 6059 [details]
proposed patch

r49790 breaks MediaWiki installation when using table prefix, because of there is no "/*_*/" before "user_properties".

The patch fixes this bug.
Comment 1 Siebrand Mazeland 2009-04-25 10:54:58 UTC
Guess this is a works for me. We've updated translatewiki.net yesterday with prefix "bw_" and it works just fine.
Comment 2 Ahmad Sherif 2009-04-25 11:10:42 UTC
(In reply to comment #1)
> Guess this is a works for me. We've updated translatewiki.net yesterday with
> prefix "bw_" and it works just fine.
> 

You sure? This is the output

Creating tables...Query "CREATE UNIQUE INDEX user_properties_user_property on user_properties (up_user,up_property) " failed with error code "Table 'wikidb.user_properties' doesn't exist (localhost)".

At this point, the installation has completely created all tables (42 tables) but it didn't insert admin data in user table nor created LocalSettings.php.

Would you check your database to see if there is any indexes defined in user_properties.
Comment 3 Siebrand Mazeland 2009-04-25 11:16:34 UTC
Sorry, I misread your report. My "WFM" was when running update.php. I'll check the fresh install.
Comment 4 Andrew Garrett 2009-04-25 11:23:36 UTC
Fixed with my own patch in r49869.

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


Navigation
Links