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
Comment #1
wim leersPlease try disabling + uninstalling the module and then installing it again.
Comment #2
resonance commentedI'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 alland still get the same error.Comment #3
bdornbush commentedI 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.
Comment #4
jessebeach commentedWe 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...
Comment #5
jessebeach commentedI 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.
Comment #6
jessebeach commentedComment #7
jessebeach commentedPlease reopen if you find that this issue has not been fixed in the development branch.