Yup, another civicrm user with problems. Newbie here.

civicrm-1.7.beta.9184-drupal-php5.tar.gz
Drupal 5.1

Using Siteground as host, see
http://andrewbecker.net/phpInfo.php

Error:
Fatal error: civicrm_initialize() [function.require]: Failed opening required 'CRM/Core/Config.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/andrewbe/public_html/modules/civicrm/drupal/civicrm.module on line 224

Here's my config file:

define( 'ENABLE_COMPONENTS', 'CiviContribute,CiviMember' );
define( 'CIVICRM_UF'               , 'Drupal'        );
define( 'CIVICRM_UF_VERSION'       , '5.1' );
define( 'CIVICRM_UF_URLVAR'        , 'q'  );
define( 'CIVICRM_UF_DSN'           , 'mysql://andrewbe_civicrm:PASSWORD@localhost/andrewbe_civicrm?new_link=true' );
define( 'CIVICRM_UF_USERSTABLENAME', 'users' );
global $civicrm_root;
$civicrm_root = '/home/andrewbe/public_html/modules/civicrm/drupal/';
define( 'CIVICRM_TEMPLATE_COMPILEDIR', '/home/andrewbe/public_html/drupal/files/civicrm/templates_c/' );
define( 'CIVICRM_UPLOADDIR'          , '/home/andrewbe/public_html/drupal/files/civicrm/upload/'  );
define( 'CIVICRM_IMAGE_UPLOADDIR'    , '/home/andrewbe/public_html/drupal/files/civicrm/persist/');
define( 'CIVICRM_CUSTOM_FILE_UPLOADDIR'    , '/home/andrewbe/public_html/drupal/files/civicrm/crm_docs/' );
define( 'CIVICRM_UF_BASEURL'      , 'http://www.andrewbecker.net/' );
define( 'CIVICRM_UF_RESOURCEURL'  , 'http://www.andrewbecker.net/modules/civicrm/' );
define( 'CIVICRM_IMAGE_UPLOADURL' , 'http://www.andrewbecker.net/files/civicrm/persist/' );
define( 'CIVICRM_MYSQL_VERSION', 5.0 );
define( 'CIVICRM_DSN'          , 'mysql://andrewbe_civicrm:PASSWORD@localhost/andrewbe_civicrm?new_link=true' );
define( 'CIVICRM_MYSQL_PATH', '/usr/bin/' );
define( 'CIVICRM_SMTP_PASSWORD', '' );
define( 'CIVICRM_CONTRIBUTE_PAYMENT_TEST_PASSWORD' , '' );
define( 'CIVICRM_CONTRIBUTE_PAYMENT_TEST_KEY' , '' );
define( 'CIVICRM_CONTRIBUTE_PAYMENT_TEST_SUBJECT' , '' );
define( 'CIVICRM_CONTRIBUTE_PAYMENT_PASSWORD' , '' );
define( 'CIVICRM_CONTRIBUTE_PAYMENT_KEY' , '' );
define( 'CIVICRM_CONTRIBUTE_PAYMENT_SUBJECT' , '' );
define('CIVICRM_DOMAIN_ID' , 1 );
define( 'CIVICRM_UF_FRONTEND', 0 );

I also am still confused how to access the Mysql shell. Was using siteground's phpadmin. Couldn't connect via cmd telnet, putty or phpadministrator... not sure what I was doing wrong or if this is critical. I think I was able to create the mysql database (separate one) with the siteground MySQL Account Maintenance tool.

However this part confused me http://tinyurl.com/2mbt2z - I couldnt find var/www/drupal/modules/civicrm/sql/civicrm_41.mysql and click Go like they said to do.... instead if I create a separate mysql database, do I just not import civicrm_41.mysql into that separate database????? otherwise its just a blank separate database? unless I can figure out how to browse to the damn thing in phpadmin as the instructions state?

Comments

harriska2’s picture

I'm sure it is a step I missed.

You are supposed to replace "var/www/drupal/modules/civicrm/sql/civicrm_41.mysql" with the actual directory of your install. For instance mine is "/home/myusername/public_html/fundcore/modules/civicrm"

Under there you will find the mysql file that you will need to run to create the tables in your already created database (I called my database fundcore).

Oreps’s picture

i have the same error and can not find the problem, Help please:)

__Tango’s picture

Make sure that the civicrm.settings.php file is in the same directory as your settings.php (DRUPAL_DIR/sites/default, or wherever if you have a multisite).

Look at this for more info: http://wiki.civicrm.org/confluence/display/CRMDOC/Error+Config

dinandjait’s picture

Hello there, i still cannot solve the problem. The civicrm.settings.php IS in the same directory as settings.php.
What next?