Closed (won't fix)
Project:
Display Suite
Version:
7.x-1.0-rc3
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
25 Mar 2011 at 01:54 UTC
Updated:
7 Apr 2011 at 15:11 UTC
I had DS module on system but not enabled. I updated to latest ctools and panels, and DS rc3. When I enable DS and save configuration from the modules page, the following error is returned, and the site is broken:
PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'stellaja_7drupal.ds_layout_settings' doesn't exist: SELECT t__0.* FROM {ds_layout_settings} t__0; Array ( ) in ctools_export_load_object() (line 368 of /home/stellaja/public_html/sites/all/modules/ctools/includes/export.inc).
I was able to get the site working again only upon deleting DS from the modules directory. I uninstalled and reinstalled ctools and panels, then DS, with the same results.
Comments
Comment #1
7wonders commentedExact same problem here when enabling ds.
Comment #2
ousmaneo commentedsubscribe
Comment #3
ousmaneo commentedhi !! did anybody find a solution for this issue ?
Comment #4
cartagena commentedDid you run update.php after enabling to update database?
Comment #5
7wonders commentedIt wont even let me reach the update.php through the site or drush. In fact it wont let me reach anything through the site. Keeps giving the error:
PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'mysite.ds_layout_settings' doesn't exist: SELECT t__0.* FROM {ds_layout_settings} t__0; Array ( ) in ctools_export_load_object() (line 368 of /var/aegir/drupal7/sites/all/modules/ctools/includes/export.inc).Same result with rc3 and dev and ctools alpha or ctools dev.
Comment #6
cartagena commentedBut to run update.php you don't have to reach anything-- http://www.yoursitename.com/update.php
When you go to this url it runs. Forgot to add--back up your db first. Actually, the system screen that comes up tells you to do that. Once you update, the module you've installed will have it's tables set up in the db.
Comment #7
nerilka commentedI had the same issue,
I dropped manually the ds tables,
uninstalled the DS module via the modules panel
and used the latest release (at this date)
enabled DS an ran an update, no more "PDOException" message
- DS 7.x-1.x-dev - 2011-Mar-23
- Chaos tools 7.x-1.x-dev - 2011-Mar-27
- Panels 7.x-3.0-alpha3
It seams working for me... (I wish I know why !)
Comment #8
7wonders commentedThanks nerilka, I had a similar problem except I couldnt even reach the modules page, update.php page or anything! I did the same as you except I also had to remove the ds modules from the system table. Now all is good again :)
Comment #9
shadowmihai commentedOkay, I'll try that this weekend since others say it worked BUT...
...is this not an incorrect workflow? Isn't update.php always run when new modules and updates are installed into the directory, ie. AFTER copying them to modules directory but BEFORE activating them from the modules screen?
Comment #10
swentel commentedUpgrades from alpha releases were not supported because I knew there were going to be a lot of API changes (for stability and performance reasons), see #1078602: Went from alpha > rc1, it took down my site. (and a couple of others) - not during rc to the official releases there will be an upgrade path though, so you're safe from now on.
Comment #11
nerilka commentedYou're welcome :)
PS : when I wrote "I dropped manualy...", I meant I remove the 'ds_fields, ds_field_settings, ds_layout_settings, ds_vd and ds_view_modes' tables I found in phpMyAdmin.