Last modified: 2014-03-10 16:16:14 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 T64481, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 62481 - Semantic Mediawiki fails to Initialize or Upgrade table on PostgreSQL
Semantic Mediawiki fails to Initialize or Upgrade table on PostgreSQL
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Semantic MediaWiki (Other open bugs)
unspecified
All All
: Unprioritized major (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-03-10 14:17 UTC by gebhkla
Modified: 2014-03-10 16:16 UTC (History)
4 users (show)

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


Attachments

Description gebhkla 2014-03-10 14:17:43 UTC
During the installation of SMW 1.9.1.1 in a Postgres based Mediawiki 1.22.3 the following error occurs:

The SMWAdmin function "Initialize or Upgrade Tables" fails because of the use of the ENGINE keyword on Postgres. The corresponding code in SemanticMediaWiki/includes/storage/SMW_SQLHelpers.php line 285:

 $db->query( "ALTER TABLE " . $tableName . " ALT\ER COLUMN \"" . $name . "\" ENGINE " . $type, __METHOD__ );

must be changed to:

 $db->query( "ALTER TABLE " . $tableName . " ALT\ER COLUMN \"" . $name . "\" TYPE " . $type, __METHOD__ );
Comment 1 Jeroen De Dauw 2014-03-10 16:16:14 UTC
Thanks for reporting!

Moved to our actual issue tracker: https://github.com/SemanticMediaWiki/SemanticMediaWiki/issues/221

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


Navigation
Links