You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Configuration via autoconfig.php fails in Owncloud 4.0.7 w/sqlite #836
Description:
Headless setup of Owncloud instances via autoconfig.php fails due to a fatal error in the sqlite3 adapter. When creating an autoconfig.php (see below) and executing index.php, a fatal error is logged: PHP Fatal error: Call to a member function lastErrorMsg() on a non-object in /var/www/lib/MDB2/Driver/sqlite3.php on line 102 autoconfig.php is unlink()ed successfully, and a config.php is created - however, database creation and population fails, rendering the installation unsuccessfull. After reloading index.php, $_POST is no longer autopopulated by setup.php and the standard installation screen is displayed.
I checked line 102 in sqlite3.php and it says $native_msg = $this->_lasterror
I haven't dug into this very deep, but I presume neither $this->_lasterror nor $this->connection exist and the ternary is therefore false + the fallthrough method is nonexistant.
I commented out the ternary line 102 and replaced it by a simple
Activity
VicDeo commentedon Dec 13, 2012
Possible duplicate of #787