After updating today site via drush, I got this error:

PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'db.responsive_preview' doesn't exist: SELECT rp.* FROM {responsive_preview} rp ORDER BY weight ASC; Array ( ) in responsive_preview_get_devices_list() (line 93 of/var/www/vhosts/sitename/htdocs/profiles/spark/modules/contrib/responsive_preview/responsive_preview.module).sugg

I was able to disable the module to get site working again. I don't really use this module much, it came with the spark distribution. But if you have any suggestions that I can try, since this is a small personal site, I am open to trying them. But this bug is not critical to me.

Thanks

Comments

wim leers’s picture

Category: Bug report » Support request

Please try disabling + uninstalling the module and then installing it again.

resonance’s picture

I'm having the same error in the Spark distribution. I tried disabling by Drush and deleting the files, and then downloading and enabling again without success.

I also moved the module from /sites/all/modules/ to profiles/spark/modules/contrib/ run Drush cc all and still get the same error.

bdornbush’s picture

I had just initially loaded Spark, so I had no work to lose. I reinstalled Spark and before updating anything, I disabled and uninstalled this module, then ran "drush up" then reenabled the module. That worked. So there must be a bug in the module updating process.

jessebeach’s picture

We used to do the device configuration in code, not the DB. It seems I need an update function to get older installs up to the new DB method. I'm adding this...

jessebeach’s picture

Status: Active » Needs review

I put an update function (7000) in place to upgrade pre-schema installations to the new schema model.

I've tested as many scenarios as I can think of, but it would be nice to get confirmation from folks in this thread that the update function works.

Fix committed in 5550b790.

jessebeach’s picture

Category: Support request » Bug report
jessebeach’s picture

Status: Needs review » Fixed

Please reopen if you find that this issue has not been fixed in the development branch.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.