Last modified: 2006-09-05 02:06:03 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 T9236, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 7236 - Installation with PostgreSQL fails during creation of tables
Installation with PostgreSQL fails during creation of tables
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Database (Other open bugs)
1.8.x
All Linux
: Normal blocker (vote)
: ---
Assigned To: Sven Klemm
:
Depends on:
Blocks: postgres
  Show dependency treegraph
 
Reported: 2006-09-04 19:02 UTC by Sven Klemm
Modified: 2006-09-05 02:06 UTC (History)
1 user (show)

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


Attachments
Fixes the typo (775 bytes, patch)
2006-09-04 19:04 UTC, Sven Klemm
Details

Description Sven Klemm 2006-09-04 19:02:33 UTC
There is a typo in the installation script for PostgreSQL.

Backtrace:
Warning: pg_query() [function.pg-query.php]: Query failed: ERROR: syntax error
at or near "ctype" at character 278 in
/var/www-ssl/pentabarf.org/mediawiki-svn/includes/DatabasePostgres.php on line 386
A database error has occurred Query: UPDATE mediawiki_version SET
mw_version='1.8alpha', pg_version='PostgreSQL 8.1.4 on i486-pc-linux-gnu,
compiled by GCC cc (GCC) 4.1.2 20060729 (prerelease) (Debian 4.1.1-10)',
pg_user='sven', mw_schema = 'mediawiki', ts2_schema = 'public', pg_port='5432',
pg_dbname='wikitest' ctype = 'C' WHERE type = 'Creation' Function: Error: 1
ERROR: syntax error at or near "ctype" at character 278 

Backtrace: 
#0 /var/www-ssl/pentabarf.org/mediawiki-svn/includes/Database.php(641):
DatabasePostgres->reportQueryError('ERROR: syntax ...', 1, 'UPDATE mediawik...',
'', false) 
#1 /var/www-ssl/pentabarf.org/mediawiki-svn/includes/DatabasePostgres.php(797):
Database->query('UPDATE mediawik...') 
#2 /var/www-ssl/pentabarf.org/mediawiki-svn/config/index.php(812):
DatabasePostgres->setup_database() 
#3 {main}
Comment 1 Sven Klemm 2006-09-04 19:04:55 UTC
Created attachment 2314 [details]
Fixes the typo
Comment 2 Greg Sabino Mullane 2006-09-05 02:06:03 UTC
Fixed in subversion 16400.

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


Navigation
Links