Warning: PDOStatement::execute() [function.PDOStatement-execute]: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in system/classes/databaseconnection.php line 289 system/classes/databaseconnection.php line 289: PDOStatement->execute(array ( )) system/classes/databaseconnection.php line 772: DatabaseConnection->query('PRAGMA auto_vacuum = 1') system/classes/databaseconnection.php line 746: DatabaseConnection->query_file('/var/www/test/habari-head/system/schema/sqlite/upgrades/2264.sql') system/schema/sqlite/connection.php line 179: DatabaseConnection->upgrade('1845', '/var/www/test/habari-head/system/schema/sqlite/upgrades') system/classes/db.php line 404: SQLiteConnection->upgrade('1845') system/classes/installhandler.php line 1211: DB::upgrade('1845') index.php line 185: InstallHandler->upgrade_db() Warning: PDOStatement::execute() [function.PDOStatement-execute]: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /var/www/test/habari-head/system/classes/databaseconnection.php on line 289 Notice: Undefined index: Error in /var/www/test/habari-head/system/classes/logentry.php on line 182 Warning: PDOStatement::execute() [function.PDOStatement-execute]: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /var/www/test/habari-head/system/classes/databaseconnection.php on line 289 Warning: PDOStatement::execute() [function.PDOStatement-execute]: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in system/classes/databaseconnection.php line 289 system/classes/databaseconnection.php line 289: PDOStatement->execute(array ( )) system/schema/sqlite/connection.php line 148: DatabaseConnection->query('PRAGMA auto_vacuum = 1;') system/classes/db.php line 394: SQLiteConnection->dbdelta(array ( 0 => 'PRAGMA auto_vacuum = 1;', 1 => 'CREATE TABLE posts ( id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, slug VARCHAR(255) NOT NULL, content_type SMALLINTEGER NOT NULL, title VARCHAR(255) NOT NULL, guid VARCHAR(255) NOT NULL, content TEXT NOT NULL, cached_content LONGTEXT NOT NULL, user_id SMALLINTEGER NOT NULL, status SMALLINTEGER NOT NULL, pubdate INTEGER NOT NULL, updated INTEGER NOT NULL, modified INTEGER NOT NULL );', 2 => 'CREATE UNIQUE INDEX IF NOT EXISTS slug ON posts(slug);', 3 => 'CREATE TABLE postinfo ( post_id INTEGER NOT NULL, name VARCHAR(255) NOT NULL, type SMALLINTEGER NOT NULL DEFAULT 0, value TEXT, PRIMARY KEY (post_id, name) );', 4 => 'CREATE TABLE posttype ( id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, name VARCHAR(255) NOT NULL, active TINYINT(1) DEFAULT 1 );', 5 => 'CREATE TABLE poststatus ( id INTEGER PRIMARY KEY...) system/classes/installhandler.php line 1215: DB::dbdelta(array ( 0 => 'PRAGMA auto_vacuum = 1;', 1 => 'CREATE TABLE posts ( id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, slug VARCHAR(255) NOT NULL, content_type SMALLINTEGER NOT NULL, title VARCHAR(255) NOT NULL, guid VARCHAR(255) NOT NULL, content TEXT NOT NULL, cached_content LONGTEXT NOT NULL, user_id SMALLINTEGER NOT NULL, status SMALLINTEGER NOT NULL, pubdate INTEGER NOT NULL, updated INTEGER NOT NULL, modified INTEGER NOT NULL );', 2 => 'CREATE UNIQUE INDEX IF NOT EXISTS slug ON posts(slug);', 3 => 'CREATE TABLE postinfo ( post_id INTEGER NOT NULL, name VARCHAR(255) NOT NULL, type SMALLINTEGER NOT NULL DEFAULT 0, value TEXT, PRIMARY KEY (post_id, name) );', 4 => 'CREATE TABLE posttype ( id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, name VARCHAR(255) NOT NULL, active TINYINT(1) DEFAULT 1 );', 5 => 'CREATE TABLE poststatus ( id INTEGER PRIMARY KEY...) index.php line 185: InstallHandler->upgrade_db() Warning: PDOStatement::execute() [function.PDOStatement-execute]: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /var/www/test/habari-head/system/classes/databaseconnection.php on line 289 Notice: Undefined index: Error in /var/www/test/habari-head/system/classes/logentry.php on line 182 Warning: PDOStatement::execute() [function.PDOStatement-execute]: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /var/www/test/habari-head/system/classes/databaseconnection.php on line 289 Warning: PDOStatement::execute() [function.PDOStatement-execute]: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in system/classes/databaseconnection.php line 289 system/classes/databaseconnection.php line 289: PDOStatement->execute(array ( 0 => 'admin', )) system/classes/databaseconnection.php line 592: DatabaseConnection->query('INSERT INTO groups ( name ) VALUES ( ? );', array ( 0 => 'admin', )) system/classes/db.php line 318: DatabaseConnection->insert('groups', array ( 'name' => 'admin', )) system/classes/queryrecord.php line 126: DB::insert('groups', array ( 'name' => 'admin', )) system/classes/usergroup.php line 88: QueryRecord->insertRecord('groups') system/classes/usergroup.php line 55: UserGroup->insert() system/classes/installhandler.php line 1268: UserGroup::create(array ( 'name' => 'admin', )) [core] line 0: InstallHandler->upgrade_db_post_2264() system/classes/installhandler.php line 1129: call_user_func(array ( 0 => InstallHandler::__set_state(array( 'action' => '', 'handler_vars' => NULL, )), 1 => 'upgrade_db_post_2264', )) system/classes/installhandler.php line 1218: InstallHandler->upgrade_db_post('1845') index.php line 185: InstallHandler->upgrade_db() Warning: PDOStatement::execute() [function.PDOStatement-execute]: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /var/www/test/habari-head/system/classes/databaseconnection.php on line 289 Notice: Undefined index: Error in /var/www/test/habari-head/system/classes/logentry.php on line 182 Warning: PDOStatement::execute() [function.PDOStatement-execute]: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /var/www/test/habari-head/system/classes/databaseconnection.php on line 289 Warning: PDOStatement::execute() [function.PDOStatement-execute]: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in system/classes/databaseconnection.php line 289 system/classes/databaseconnection.php line 289: PDOStatement->execute(array ( 0 => '0', )) system/classes/db.php line 134: DatabaseConnection->query('DELETE FROM {users_groups} WHERE group_id=?', array ( 0 => '0', )) system/classes/usergroup.php line 125: DB::query('DELETE FROM {users_groups} WHERE group_id=?', array ( 0 => '0', )) system/classes/usergroup.php line 91: UserGroup->set_member_list() system/classes/usergroup.php line 55: UserGroup->insert() system/classes/installhandler.php line 1268: UserGroup::create(array ( 'name' => 'admin', )) [core] line 0: InstallHandler->upgrade_db_post_2264() system/classes/installhandler.php line 1129: call_user_func(array ( 0 => InstallHandler::__set_state(array( 'action' => '', 'handler_vars' => NULL, )), 1 => 'upgrade_db_post_2264', )) system/classes/installhandler.php line 1218: InstallHandler->upgrade_db_post('1845') index.php line 185: InstallHandler->upgrade_db() Warning: PDOStatement::execute() [function.PDOStatement-execute]: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /var/www/test/habari-head/system/classes/databaseconnection.php on line 289 Notice: Undefined index: Error in /var/www/test/habari-head/system/classes/logentry.php on line 182 Warning: PDOStatement::execute() [function.PDOStatement-execute]: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /var/www/test/habari-head/system/classes/databaseconnection.php on line 289 Warning: Invalid argument supplied for foreach() in system/classes/usergroup.php line 127 system/classes/usergroup.php line 91: UserGroup->set_member_list() system/classes/usergroup.php line 55: UserGroup->insert() system/classes/installhandler.php line 1268: UserGroup::create(array ( 'name' => 'admin', )) [core] line 0: InstallHandler->upgrade_db_post_2264() system/classes/installhandler.php line 1129: call_user_func(array ( 0 => InstallHandler::__set_state(array( 'action' => '', 'handler_vars' => NULL, )), 1 => 'upgrade_db_post_2264', )) system/classes/installhandler.php line 1218: InstallHandler->upgrade_db_post('1845') index.php line 185: InstallHandler->upgrade_db() Warning: PDOStatement::execute() [function.PDOStatement-execute]: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /var/www/test/habari-head/system/classes/databaseconnection.php on line 289 Notice: Undefined index: Error in /var/www/test/habari-head/system/classes/logentry.php on line 182 Warning: PDOStatement::execute() [function.PDOStatement-execute]: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /var/www/test/habari-head/system/classes/databaseconnection.php on line 289 Warning: PDOStatement::execute() [function.PDOStatement-execute]: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in system/classes/databaseconnection.php line 289 system/classes/databaseconnection.php line 289: PDOStatement->execute(array ( 0 => NULL, 1 => '2130706433', 2 => 'User Group admin: Member list reset', 3 => 4, 4 => HabariDateTime::__set_state(array( )), 5 => '2', 6 => 0, )) system/classes/databaseconnection.php line 592: DatabaseConnection->query('INSERT INTO log ( data, ip, message, severity_id, timestamp, type_id, user_id ) VALUES ( ?,?,?,?,?,?,? );', array ( 0 => NULL, 1 => '2130706433', 2 => 'User Group admin: Member list reset', 3 => 4, 4 => HabariDateTime::__set_state(array( )), 5 => '2', 6 => 0, )) system/classes/db.php line 318: DatabaseConnection->insert('log', array ( 'user_id' => 0, 'type_id' => '2', 'severity_id' => 4, 'message' => 'User Group admin: Member list reset', 'data' => NULL, 'timestamp' => HabariDateTime::__set_state(array( )), 'ip' => '2130706433', )) system/classes/queryrecord.php line 126: DB::insert('log', array ( 'user_id' => 0, 'type_id' => '2', 'severity_id' => 4, 'message' => 'User Group admin: Member list reset', 'data' => NULL, 'timestamp' => HabariDateTime::__set_state(array( )), 'ip' => '2130706433', )) system/classes/logentry.php line 203: QueryRecord->insertRecord('log') system/classes/eventlog.php line 95: LogEntry->insert() system/classes/usergroup.php line 130: EventLog::log('User Group admin: Member list reset', 'notice', 'user', 'habari') system/classes/usergroup.php line 91: UserGroup->set_member_list() system/classes/usergroup.php line 55: UserGroup->insert() system/classes/installhandler.php line 1268: UserGroup::create(array ( 'name' => 'admin', )) [core] line 0: InstallHandler->upgrade_db_post_2264() system/classes/installhandler.php line 1129: call_user_func(array ( 0 => InstallHandler::__set_state(array( 'action' => '', 'handler_vars' => NULL, )), 1 => 'upgrade_db_post_2264', )) system/classes/installhandler.php line 1218: InstallHandler->upgrade_db_post('1845') index.php line 185: InstallHandler->upgrade_db() Warning: PDOStatement::execute() [function.PDOStatement-execute]: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /var/www/test/habari-head/system/classes/databaseconnection.php on line 289 Notice: Undefined index: Error in /var/www/test/habari-head/system/classes/logentry.php on line 182 Warning: PDOStatement::execute() [function.PDOStatement-execute]: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /var/www/test/habari-head/system/classes/databaseconnection.php on line 289 Warning: PDOStatement::execute() [function.PDOStatement-execute]: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in system/classes/databaseconnection.php line 289 system/classes/databaseconnection.php line 289: PDOStatement->execute(array ( 0 => NULL, 1 => '2130706433', 2 => 'New group created: admin', 3 => 3, 4 => HabariDateTime::__set_state(array( )), 5 => '1', 6 => 0, )) system/classes/databaseconnection.php line 592: DatabaseConnection->query('INSERT INTO log ( data, ip, message, severity_id, timestamp, type_id, user_id ) VALUES ( ?,?,?,?,?,?,? );', array ( 0 => NULL, 1 => '2130706433', 2 => 'New group created: admin', 3 => 3, 4 => HabariDateTime::__set_state(array( )), 5 => '1', 6 => 0, )) system/classes/db.php line 318: DatabaseConnection->insert('log', array ( 'user_id' => 0, 'type_id' => '1', 'severity_id' => 3, 'message' => 'New group created: admin', 'data' => NULL, 'timestamp' => HabariDateTime::__set_state(array( )), 'ip' => '2130706433', )) system/classes/queryrecord.php line 126: DB::insert('log', array ( 'user_id' => 0, 'type_id' => '1', 'severity_id' => 3, 'message' => 'New group created: admin', 'data' => NULL, 'timestamp' => HabariDateTime::__set_state(array( )), 'ip' => '2130706433', )) system/classes/logentry.php line 203: QueryRecord->insertRecord('log') system/classes/eventlog.php line 95: LogEntry->insert() system/classes/usergroup.php line 93: EventLog::log('New group created: admin', 'info', 'default', 'habari') system/classes/usergroup.php line 55: UserGroup->insert() system/classes/installhandler.php line 1268: UserGroup::create(array ( 'name' => 'admin', )) [core] line 0: InstallHandler->upgrade_db_post_2264() system/classes/installhandler.php line 1129: call_user_func(array ( 0 => InstallHandler::__set_state(array( 'action' => '', 'handler_vars' => NULL, )), 1 => 'upgrade_db_post_2264', )) system/classes/installhandler.php line 1218: InstallHandler->upgrade_db_post('1845') index.php line 185: InstallHandler->upgrade_db() Warning: PDOStatement::execute() [function.PDOStatement-execute]: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /var/www/test/habari-head/system/classes/databaseconnection.php on line 289 Notice: Undefined index: Error in /var/www/test/habari-head/system/classes/logentry.php on line 182 Warning: PDOStatement::execute() [function.PDOStatement-execute]: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /var/www/test/habari-head/system/classes/databaseconnection.php on line 289 Fatal error: Call to a member function add() on a non-object in /var/www/test/habari-head/system/classes/installhandler.php on line 1277