I would like to report this from our testing enviroment to put on record for whom it may concern.

Error message:

PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'session_id' in 'field list': INSERT INTO {mollom} (entity, id, session_id, form_id, changed, moderate, spam) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3, :db_insert_placeholder_4, :db_insert_placeholder_5, :db_insert_placeholder_6); Array ( [:db_insert_placeholder_0] => comment [:db_insert_placeholder_1] => 20 [:db_insert_placeholder_2] => 11091628f9d2cf9dd0 [:db_insert_placeholder_3] => comment_node_article_form [:db_insert_placeholder_4] => 1316190131 [:db_insert_placeholder_5] => 0 [:db_insert_placeholder_6] => 1 ) in drupal_write_record() (line 6868 of /www/----/x-x-x-x-x/y-y-y-y-y/includes/common.inc).

Info: Drupal 7.8 with latest mollom release and commenting anonymously providing email,homepage message input.

You can reproduce it here: http://www.digidog.de (please rush by checking link, I'll keep it up only some hours left to avoid repeating errors showing our server path) (EDIT: uninstalled mollom now to prevent further error messages.)

reproducable only on last completion step if there is no form check failed.

Comments

diqidoq’s picture

Issue summary:View changes

typo

diqidoq’s picture

Title:PDOException: SQLSTATE[42S22] error causes security issue by showing the server path of installation » PDOException: SQLSTATE[42S22] Column not found: 1054 Unknown column 'session_id' in 'field list
Version:7.x-2.x-dev» 7.x-1.1
Priority:Critical» Normal
diqidoq’s picture

Issue summary:View changes

link closed now

Liliplanet’s picture

fixed by uninstalling mollom completely, and re-installing and all is fabulous :)

thank you for this wonderful module!

sun’s picture

Status:Active» Closed (cannot reproduce)

Yeah, I think that completely re-installing the module is the only option here, as something must have gone horribly wrong during the module installation (which would be an issue with Drupal core to be exact).

GiorgosK’s picture

updated from 7.x 1.1 to 7.x 2.2 and problem was solved after update.php

GiorgosK’s picture

Issue summary:View changes

typo