Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Minor
-
Resolution: Cannot Reproduce
-
Affects Version/s: 1.2
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
Description
Not sure if this is the place to put a support request/problem, but here goes. The documentation on configuring config.inc.php is a bit confusing so I'm not at all sure I have it right.
I'm trying to install CiviCRM with an existing drupal installation. Upon trying to configure blocks for the civicrm module, I'm getting the following error:
Fatal error: Undefined class name 'crm_utils_array' in /home/
Info on my setup:
Installing to use a separate database for civicrm
This is an Apache/MYSQL system – sql version is 4.0.x
Entire civicrm files d/l into {mysite}
/drupal/modules/civicrm
Created the tables
Drupal is 4.6.2 – a working multi-site installation
The (seemingly) essential lines from config.inc.php are:
define( 'CIVICRM_UF_DSN' , 'mysql://myuser:mypassword@localhost/name_mydrupal_db?new_link=true' );
define( 'CIVICRM_UF_USERSTABLENAME', 'mine_users' ); — Note: 'mine_' is my drupal db prefix
global $civicrm_root;
$civicrm_root = '/home/
define( 'CIVICRM_TEMPLATE_COMPILEDIR', '/home/{mysite}
/public_html/drupal/files.mine/civicrm/templates_c' );
define( 'CIVICRM_UPLOADDIR' , '/home/
Note, the /drupal/files.mine/ is due to separate 'files' directory being used for this instance in the multi-site install of drupal. The subdirectories indicated were verified to be created with 755 access.
define( 'CIVICRM_UF_BASEURL' , 'http://{mysite}
/drupal' );
define( 'CIVICRM_HTTPBASE' , '/drupal/' );
define( 'CIVICRM_RESOURCEBASE', '/drupal/modules/civicrm/' );
define( 'CIVICRM_MAINMENU' , '/drupal/civicrm' ); — Note — clean URL's are turned on
define( 'CIVICRM_MYSQL_VERSION', 4.0 );
define( 'CIVICRM_DSN' , 'mysql://myuser:mypassword@localhost/name_civicrm_db?new_link=true' );
define( 'CIVICRM_MYSQL_PATH', '/usr/bin/' );
define('CIVICRM_DOMAIN_ID' , 1 ); — not at all certain about this one — left it at default. I do have two sites running on this drupal codebase.
thanks – gil – giljones@spamcop.net