Closed (cannot reproduce)
Project:
Display Suite
Version:
7.x-2.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 Dec 2012 at 02:35 UTC
Updated:
22 Dec 2012 at 12:14 UTC
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
Comment #1
MilOrg commentedI 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.
Comment #2
swentel commentedDid you upgrade from branch 1 or is this a french DS install ?
Comment #3
MilOrg commentedHi!
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.
Comment #4
swentel commentedWell, 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.
Comment #5
MilOrg commentedDuh - 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!