I just installed DS and after enabling the whole kit and caboodle, I did an update(.php)

It grabbed #7201 and installed this, but gave me this error message at the end:

The following updates returned messages
ds module
Update #7201

Failed: DatabaseSchemaObjectDoesNotExistException: Cannot add field ds_fields.ui_limit: table doesn't exist. in DatabaseSchema_mysql->addField() (line 325 of (.....)includes/database/mysql/schema.inc).

Wasn't really able to find much info on this one out there, so thought I'd run it by the brilliant minds in here - thoughts?

Comments

MilOrg’s picture

I went ahead and tried a user display. When saving:

PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table '..._drupdb.dr_ds_layout_settings' doesn't exist: INSERT INTO {ds_layout_settings} (id, entity_type, bundle, view_mode, layout, settings) 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); Array ( [:db_insert_placeholder_0] => user|user|default [:db_insert_placeholder_1] => user [:db_insert_placeholder_2] => user [:db_insert_placeholder_3] => default [:db_insert_placeholder_4] => ds_2col [:db_insert_placeholder_5] => a:7:{s:7:"regions";a:1:{s:4:"left";a:2:{i:0;s:6:"domain";i:1;s:7:"summary";}}s:6:"fields";a:2:{s:6:"domain";s:4:"left";s:7:"summary";s:4:"left";}s:7:"classes";a:0:{}s:8:"wrappers";a:0:{}s:14:"layout_wrapper";s:3:"div";s:17:"layout_attributes";s:0:"";s:23:"layout_attributes_merge";b:0;} ) in drupal_write_record() (line 7106 of .../includes/common.inc).
The website encountered an unexpected error. Please try again later.

swentel’s picture

Priority: Major » Normal
Status: Active » Postponed (maintainer needs more info)

Did you upgrade from branch 1 or is this a french DS install ?

MilOrg’s picture

Hi!

This was a fresh install.

I tried disabling and removing the module, dropped all the ds_* tables from the db, reinstalled the module and ran update.php - same error messages. No ds_* tables reappeared in the database though.

swentel’s picture

Well, manually dropping those tables is not enough, Drupal will also need to know the module is uninstalled which you can do either using the 'Uninstall' tab or removing the entry in the system table.

I don't get why that update should run too, that's simply no core behavior.

MilOrg’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

Duh - I had a blonde moment there it seems.

After uninstalling the module from the uninstall tab and reinstalling it (like I should have done in the first place) everything worked like a charm.

Many thanks, swentel - much appreciated!