Last modified: 2014-07-18 12:21:13 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 T28999, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 26999 - [Reflect] DB setup fails
[Reflect] DB setup fails
Status: RESOLVED WONTFIX
Product: MediaWiki extensions
Classification: Unclassified
Other (Other open bugs)
unspecified
All All
: Lowest normal (vote)
: ---
Assigned To: Nobody - You can work on this!
http://www.mediawiki.org/wiki/Extensi...
extension[unmaintained]
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-01-28 00:17 UTC by Brion Vibber
Modified: 2014-07-18 12:21 UTC (History)
0 users

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


Attachments

Description Brion Vibber 2011-01-28 00:17:15 UTC
As of r81113

Following install directions at http://www.mediawiki.org/wiki/Extension:Reflect

$ php maintenance/sql.php extensions/Reflect/reflect.sql
A database error has occurred.  Did you forget to run maintenance/update.php after upgrading?  See: http://www.mediawiki.org/wiki/Manual:Upgrading#Run_the_update_script
Query: CREATE TABLE `reflect_bullet_current` (
 blc_id mediumint(9) NOT NULL AUTO_INCREMENT,
 bl_id mediumint(9),
 comment_id mediumint(9),
 bl_rev_id mediumint(9),
 PRIMARY KEY blc_id (blc_id),
 FOREIGN KEY (comment_id) REFERENCES `comments`(comment_ID) ON DELETE SET NULL ON UPDATE CASCADE,
 FOREIGN KEY (bl_id) REFERENCES `reflect_bullets_revision`(bl_id) ON DELETE CASCADE ON UPDATE CASCADE,
 FOREIGN KEY (bl_rev_id) REFERENCES `reflect_bullets_revision`(bl_rev_id) ON DELETE CASCADE ON UPDATE CASCADE
 ) ENGINE=InnoDB, DEFAULT CHARSET=binary

Function: DatabaseBase::sourceStream
Error: 1005 Can't create table 'wikidb.reflect_bullet_current' (errno: 150) (localhost)

$ perror 150
MySQL error code 150: Foreign key constraint is incorrectly formed

May be related to the non-existence of a reflect_bullets_revision table. (There is a reflect_bullet_revision defined, but it's not defined yet when reflect_bullet_current is created, and it's spelled differently.)
Comment 1 Quim Gil 2013-04-21 01:04:53 UTC
http://www.mediawiki.org/wiki/Extension:Reflect seems to be abandoned. Assuming Lowest priority.
Comment 2 Andre Klapper 2013-04-22 08:09:42 UTC
Homepage of author seems to be down too.
Candidate to close, together with updating the extension homepage.

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


Navigation
Links