Last modified: 2013-07-30 00:10:57 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 T42966, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 40966 - 0 for the SQLite database name (as in 0.sqlite) breaks installation without warnings
0 for the SQLite database name (as in 0.sqlite) breaks installation without w...
Status: NEW
Product: MediaWiki
Classification: Unclassified
Installer (Other open bugs)
1.22.0
All All
: Normal major (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: sqlite
  Show dependency treegraph
 
Reported: 2012-10-11 20:19 UTC by mediawiktor
Modified: 2013-07-30 00:10 UTC (History)
3 users (show)

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


Attachments

Description mediawiktor 2012-10-11 20:19:14 UTC
When filling 0 for the SQLite database name and filling anything else in other fields, the installation breaks at "Creating tables..." without any warnings. "00" (two zeroes) work fine. I imagine this must depend on some PHP conditional statements, but just in case my PHP is 5.3.3 and my server is nanoweb.
Comment 1 Sumana Harihareswara 2012-10-12 18:58:51 UTC
Thanks for the bug report!
Comment 2 Andre Klapper 2013-05-06 11:13:43 UTC
Confirming for 1.22alpha from git master. Stuck on "Install" page, displays
  * Creating tables...

From /var/log/httpd/error_log :

PHP Fatal error: Call to a member function query() on a non-object in /var/www/html/mediawiki/includes/db/DatabaseSqlite.php on line 231, referer: http://localhost/mediawiki/mw-config/index.php?page=Install

That's line
        $res = $this->mConn->query( $sql );

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


Navigation
Links