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

PHP Notice: Use of undefined constant CIVICRM_CONFDIR

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 3.3.5
    • Fix Version/s: 3.4.alpha
    • Component/s: CiviMail
    • Labels:
      None

      Description

      Apache log reports:
      PHP Notice: Use of undefined constant CIVICRM_CONFDIR - assumed 'CIVICRM_CONFDIR' in /path_to_joomla/administrator/components/com_civicrm/civicrm/bin/cli.php on line 112
      PHP Notice: Use of undefined constant CIVICRM_CONFDIR - assumed 'CIVICRM_CONFDIR' in /path_to_joomla/administrator/components/com_civicrm/civicrm/bin/cli.php on line 113

      Solution Define in civicrm.settings.php
      /**

      • To avoid an php notice when runnning the cron job
        */
        define( 'CIVICRM_CONFDIR', '/path_to_joomla/administrator/components/' );

      Installation is in Joomla on mac OSX 10.6.6 server

        Attachments

          Activity

            People

            • Assignee:
              lobo Donald A. Lobo
              Reporter:
              oak Ward Bouwman
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: