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

$civicrm_root not defined in civicrm.config.php

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.2.2
    • Fix Version/s: 4.2.3
    • Component/s: Core CiviCRM
    • Labels:
      None

      Description

      Upgraded from 4.1.1 to 4.2.2.

      Upgraded successfully, but received many errors after upgrading due to:
      Notice: Undefined variable: civicrm_root in require_once() (line 113 of /persistent/html/sites/all/modules/civicrm/civicrm.config.php

      I put global $civicrm_root above line 113 and it worked fine.

        Attachments

          Activity

            People

            • Assignee:
              lobo Donald A. Lobo
              Reporter:
              bpmccain Brian McCain
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 30 minutes
                30m
                Remaining:
                Remaining Estimate - 30 minutes
                30m
                Logged:
                Time Spent - Not Specified
                Not Specified