My apologies if this is total user error. I've been trying to install the civicrm starter kit on pantheon using instructions here: https://drupal.org/node/1982526 and here: http://forum.civicrm.org/index.php?topic=30303.0. I have an existing site (locally), but don't want to port any of my old civicrm data, so I'm not combining the drupal/civicrm tables in my database backup. (Maybe that's my problem?)

I get through the installation of the starter kit, uploading of themes, modules, and files, importing of the database (I'm using a backup-migrate .gz), and installation of profile-switcher. Once I try to enable civicrm, I get this error every time (clearing caches, rewriting the registry, etc....nothing works so far).

Thanks in advance for any help!

The error:

Initialization Error

Array
(
    [callback] => Array
        (
            [0] => CRM_Core_Error
            [1] => simpleHandler
        )

    [code] => -18
    [message] => DB Error: no such table
    [mode] => 16
    [debug_info] => SELECT *,  config_backend  
 FROM civicrm_domain 
 
 WHERE (  civicrm_domain.id = 1 )  
 
 
 
 [nativecode=1146 ** Table 'pantheon.civicrm_domain' doesn't exist]
    [type] => DB_Error
    [user_info] => SELECT *,  config_backend  
 FROM civicrm_domain 
 
 WHERE (  civicrm_domain.id = 1 )  
 
 
 
 [nativecode=1146 ** Table 'pantheon.civicrm_domain' doesn't exist]
    [to_string] => [db_error: message="DB Error: no such table" code=-18 mode=callback callback=CRM_Core_Error::simpleHandler prefix="" info="SELECT *,  config_backend  
 FROM civicrm_domain 
 
 WHERE (  civicrm_domain.id = 1 )  
 
 
 
 [nativecode=1146 ** Table 'pantheon.civicrm_domain' doesn't exist]"]
)

Comments

kreynen’s picture

Status: Active » Postponed (maintainer needs more info)

Hard to troubleshoot this without seeing the tables in the current db. If the civicrm_domain table doesn't exist, you've done something wrong. That table should exist after the initial install and shouldn't get deleted while importing other tables.

If you aren't familiar with using mysql from the command line, you'll find some MySQL tools for different OSes at https://drupal.org/node/2014127... one way or another we need to be able to see the tables.

If the tables prefixed with civicrm_ don't exist, you can re-add all the tables manually using the civicrm.mysql file found in civicrm/sql. That should get you to the point that you have your Drupal tables and data with a clean CiviCRM install.

kreynen’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)