Last modified: 2006-10-31 13:33:37 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 T9689, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 7689 - ERROR: syntax error at or near "NULL" during install on PostgresSQL
ERROR: syntax error at or near "NULL" during install on PostgresSQL
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Installer (Other open bugs)
1.9.x
Other All
: Low minor (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: postgres
  Show dependency treegraph
 
Reported: 2006-10-25 09:16 UTC by Marcin Mikołajczak
Modified: 2006-10-31 13:33 UTC (History)
1 user (show)

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


Attachments

Description Marcin Mikołajczak 2006-10-25 09:16:05 UTC
There seems to be a problem with reading the wiki database user's 
password from the config.php form into the global variable $wgDBpass, 
which stops the install with the error "ERROR:  syntax error at or near 
"NULL"" in the wiki database user creation phase. The variable is empty, 
which in combination with addQuote causes the query "CREATE USER wikiuser 
(...) PASSWORD NULL" to be executed. Didn't have time to investigate 
further, unfortunately.
Comment 1 Greg Sabino Mullane 2006-10-31 13:33:37 UTC
Thanks for the report. Looks like include/DatabasePostgres.php had the wrong var
name : change $wgDBpass to $wgDBpassword in two places within that file and you
should be good. Fixed in r17323.

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


Navigation
Links