Description of problem: Trying to initialize a drupal7 instance fails with various warnings and errors. Version-Release number of selected component (if applicable): drupal7 7.14-2 php 5.4.4-1 Steps to Reproduce: 1. Start setting up a drupal7-based website by visiting 'localhost/drupal7' 2. Follow the usual default steps 3. Actual results: A variety of warnings and errors are raised. For example: "Warning: Illegal string offset 'field' in UpdateQuery_sqlite->removeFieldsInCondition() (line 75 of /usr/share/drupal7/includes/database/sqlite/query.inc)." and somewhat later: "PDOException: SQLSTATE[HY000]: General error: 1 no such table: watchdog: INSERT INTO {watchdog} (..." Expected results: The installation should go smoothly without errors or warnings. Additional info: (I'm using an sqlite backend for a quick website prototype.)
Hello Stefan, it's a known issue, http://drupal.org/node/1542186. I think a possible workaround, if you use PHP 5.3.x.
Hello Stefan, as I can see it's fixed[1][2] in the next release, hopefully it will be released soon. I will close this issue when it's released. Thank you! 1: http://drupalcode.org/project/drupal.git/commit/bfaa7b4 2: http://drupal.org/node/1266572
Hello Stefan, sorry for the delayed reply but I have a good news for you that you might know as well. - "Fixed a bug with update queries in the SQLite database driver that prevented Drupal from being installed with SQLite on PHP 5.4." - "#1266572 by znerol, joshf: Fixed Workaround in UpdateQuery_sqlite() for affected rows count causes certain updates to be suppressed." https://drupal.org/drupal-7.22-release-notes Anyway, thanks for reporting this bug!