Error when activating the View Mode Page module I am trying to activate the View Mode Page module because I need to use URLs to jump from one view mode to another. From teaser to presentation to full node.
Every time I try to activate the View Mode Page it gives me an error and after that I am unable to view the Manage Display section for any of my content types. It mentions there is an error in the view_mode_page.module (or something similar).
Does anyone know if this module is incompatible with some other modules or what the problem might be?

Thanks in advance. 


  PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'drp_obdcbn7hei.view_mode_page' doesn't exist:  

SELECT view_mode_page.* FROM {view_mode_page} view_mode_page WHERE (content_type = :db_condition_placeholder_0) AND (view_mode = :db_condition_placeholder_1) ; Array ( [:db_condition_placeholder_0] =&gt; tu_mooc [:db_condition_placeholder_1] =&gt; default )

  
  en view_mode_page_get_patterns() (línea 281 de /hermes/waloraweb021/b1678/moo.blasbray/sites/all/modules/view_mode_page/view_mo‌de_page.module).
I don't know about the View Mode Page module specifically, but here's how you can find out yourself.


Check the issue queue for the module.  You can find a link to "all issues" on the module's project page (in this case, here).  In this case, there aren't many issues; if there were a lot, you can use the search function.  If searching, make sure to set the status to all issues, not just open issues, as if you're lucky your issue will already have been reported and fixed.
If step 1 doesn't solve the problem, create a fresh install of Drupal 7 on your local machine or another server and install the Views Mode Page module and its dependencies.  Make sure it works properly by itself when you have no other modules enabled.  (For a small module like View Mode Page which has less than a few hundred installs, this step is especially important; for an extremely common module like Views itself, you can assume that someone has already done this and it's your problem.)
If step 2 doesn't solve the problem, you'll need to start disabling the modules on your site one by one.  Of course, don't do this on your live site-- do it on a backup site.  Just guess which module might be causing the problem, disable it, and then clear the cache.  Then try to enable Views Mode Page.  If it doesn't work, choose another module to disable and repeat.


Yes, this is really painful and frustrating, but sometimes it is necessary if a search of the issue queues on drupal.org doesn't turn up anything.  If you do have to do this and find the source of the problem, please don't forget to create an issue on drupal.org and report what you found!