Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
tried running update after upgrading... on drupal drupal-7.x-dev (2010/08/30), got this:
An AJAX HTTP error occurred. HTTP Result Code: 200 Debugging information follows. Path: update.php?id=12&op=do StatusText: OK ResponseText: Fatal error: Call to undefined function db_column_exists() in /home/public_html/sites/all/modules/webform/webform.install on line 415
it's refering to this function:
/**
* Add columns for e-mail HTML and attachment settings.
*/
function webform_update_7302() {
if (!db_column_exists('webform_emails', 'html')) {
db_add_field('webform_emails', 'html', array('type' => 'int', 'size' => 'tiny', 'unsigned' => TRUE, 'default' => 0, 'not null' => TRUE));
db_add_field('webform_emails', 'attachments', array('type' => 'int', 'size' => 'tiny', 'unsigned' => TRUE, 'default' => 0, 'not null' => TRUE));
}
}
Comment | File | Size | Author |
---|---|---|---|
#3 | webform_db_field_exists.patch | 844 bytes | quicksketch |
Comments
Comment #1
duntuk CreditAttribution: duntuk commentedHere's the reason.
http://drupal.org/node/776856
"Rename db_column_exists() to db_field_exists()"
according to that should be the following:
*edit*
yup that fixed it.
Comment #2
duntuk CreditAttribution: duntuk commentedComment #3
quicksketchThanks duntuk, committed.
Comment #4
quicksketch