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

            Bug ID: 62481
           Summary: Semenatic Mediawiki fails to Initialize or Upgrade
                    table on PostgreSQL
           Product: MediaWiki extensions
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: major
          Priority: Unprioritized
         Component: Semantic MediaWiki
          Assignee: wikibugs-l@lists.wikimedia.org
          Reporter: gebh...@gmx.net
                CC: jamesin.hongkon...@gmail.com, jeroen_ded...@yahoo.com,
                    mar...@semantic-mediawiki.org, nischay...@gmail.com
       Web browser: ---
   Mobile Platform: ---

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__ );

-- 
You are receiving this mail because:
You are the assignee for the bug.
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