Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-1640

Fatal error: civicrm_initialize, when enabling CiviCRM Module Drupal 5.1

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Blocker
    • Resolution: Cannot Reproduce
    • Affects Version/s: 1.6
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Hy
      I was trying to install the last CiviCrm module (civicrm-1.6.8517-drupal-php5.tar) on a Drupal 5.1 (drupal-5.1.tar) CMS.
      My configuration is: MySQL Server 5.026, and PHPMyAdmin 5.018.
      I'm totaly novice concerning this product so after having installed drupal correctly, I managed to install CiviCRM with the wiki documentation given by CiviCRM.
      (http://wiki.civicrm.org/confluence/display/CRM/Install+CiviCRM+1.6+for+Drupal#InstallCiviCRM1.6forDrupal-CreateFoldersforDrupal)

      First I got this error message: "Parse error: syntax error, unexpected ',', expecting '(' in /home.13/s/o/s/sosbuena/www/modules/civicrm/drupal/civicrm.module on line 429" -> Donald A. Lobo advised me to try with the CiviCRM module for PHP4 server, what I did.

      Now I got a new error message:

      Fatal error: civicrm_initialize() [function.require]: Failed opening required 'CRM/Core/Config.php' (include_path='.:/www/modules/civicrm:/www/modules/civicrm/packages:.:/usr/local/lib/php') in /home.13/s/o/s/sosbuena/www/modules/civicrm/drupal/civicrm.module on line 227

      I think that the mistake is situated in my civicrm.settings.php file.
      So I join the current configuration:

      define( 'CIVICRM_UF' , 'Drupal' );
      define( 'CIVICRM_UF_VERSION' , '5.1' );
      define( 'CIVICRM_UF_URLVAR' , 'q' );
      define( 'CIVICRM_UF_DSN' , 'mysql://sosbuenadrupal:mypassword@mysql5-2/sosbuenadrupal?new_link=true' );
      define( 'CIVICRM_UF_USERSTABLENAME', 'users' );
      define( 'CIVICRM_MYSQL_VERSION', 4.1 );
      define( 'CIVICRM_DSN' , 'mysql://sosbuenadrupal:mypassword@mysql5-2/sosbuenadrupal?new_link=true' );
      define( 'CIVICRM_MYSQL_PATH', '/usr/bin/' );
      global $civicrm_root;
      $civicrm_root = 'sosbuena/www/modules/civicrm';
      define( 'CIVICRM_TEMPLATE_COMPILEDIR', 'sosbuena/www/files/civicrm/templates_c/' );
      define( 'CIVICRM_UF_BASEURL' , 'http://www.sosbuena.fr/' );
      define( 'CIVICRM_SMTP_PASSWORD', 'mypassword' );
      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 );

      Server: Apache/1.3.37 (Unix)
      PHP Version 4.4.4
      PHP Version 5.2.1
      MySQL Server 5.026
      PHPMyAdmin 5.018
      Host: OVH (www.ovh.com)

      FTP: ftp.10startg.ovh.net: files
      cgi-bin
      requetes
      sessions
      www > modules>civicrm
      www > sites>default->civicrm.settings.php

      Please help, I've already spent 2 days on it, and I really get fed up with that!

        Attachments

          Activity

            People

            • Assignee:
              lobo Donald A. Lobo
              Reporter:
              sosbuena Flavien
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: