I am currently trying to setup drupal on lighttpd and sqlite.
I have individually verified that php, lighttpd and sqlite are working properly. (I think)
But when I go through the install I get the following warnings and errors:
Warning: Illegal string offset 'field' in UpdateQuery_sqlite->removeFieldsInCondition() (line 75 of /var/www/includes/database/sqlite/query.inc).
Warning: Illegal string offset 'field' in UpdateQuery_sqlite->removeFieldsInCondition() (line 79 of /var/www/includes/database/sqlite/query.inc).
Warning: Illegal string offset 'field' in UpdateQuery_sqlite->removeFieldsInCondition() (line 75 of /var/www/includes/database/sqlite/query.inc).
Warning: Illegal string offset 'field' in UpdateQuery_sqlite->removeFieldsInCondition() (line 79 of /var/www/includes/database/sqlite/query.inc).
Warning: Illegal string offset 'field' in UpdateQuery_sqlite->removeFieldsInCondition() (line 75 of /var/www/includes/database/sqlite/query.inc).
Warning: Illegal string offset 'field' in UpdateQuery_sqlite->removeFieldsInCondition() (line 79 of /var/www/includes/database/sqlite/query.inc).
Warning: Illegal string offset 'field' in UpdateQuery_sqlite->removeFieldsInCondition() (line 75 of /var/www/includes/database/sqlite/query.inc).
Warning: Illegal string offset 'field' in UpdateQuery_sqlite->removeFieldsInCondition() (line 79 of /var/www/includes/database/sqlite/query.inc).
Warning: Illegal string offset 'field' in UpdateQuery_sqlite->removeFieldsInCondition() (line 75 of /var/www/includes/database/sqlite/query.inc).
Warning: Illegal string offset 'field' in UpdateQuery_sqlite->removeFieldsInCondition() (line 79 of /var/www/includes/database/sqlite/query.inc).
Warning: Illegal string offset 'field' in UpdateQuery_sqlite->removeFieldsInCondition() (line 75 of /var/www/includes/database/sqlite/query.inc).
Warning: Illegal string offset 'field' in UpdateQuery_sqlite->removeFieldsInCondition() (line 79 of /var/www/includes/database/sqlite/query.inc).
SQLSTATE[HY000]: General error: 1 no such table: watchdog
Comments
Comment #1
madmaze commentedThe fix from here: http://drupal.org/node/1611828
seems to prevent the warnings and install succeeds.
adding the isset():
Comment #2
faboski commentedit's working
Comment #4
honza801 commentedThe problem stil occurs in 7.21. The above patch should be applied to the distribution.
Comment #5
euleralves commentedSame bug here with:
Archbang 3.8.4
PHP 5.4.13
Lighttpd 1.4.32
Sqlite 5.4.13
Drupal 7.21
The isset() fix worked!
Comment #6
helmo commentedTwo related issues:
#1542186: PHP 5.4 "Illegal string offset" warning when install
#1266572: Workaround in UpdateQuery_sqlite for affected rows count causes certain updates to be suppressed
It looks like this is a duplicate....