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

Make the Joomla! Upgrade easier by including commented lines in file

    Details

    • Type: Improvement
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Core CiviCRM
    • Labels:
      None

      Description

      When doing a Joomla upgrade of civicrm you must do this:

      edit the file HOME/com_civicrm/configure.php and make the following changes on line 120 (approx). THIS IS VERY IMPORTANT. MAKE SURE YOU FIND THE RIGHT FILE AND THE RIGHT FUNCTION

      function civicrm_source( $fileName ) {
      global $dsn, $crmPath;

      require_once 'DB.php';

      TO

      function civicrm_source( $fileName ) {

      return;

      global $dsn, $crmPath;

      require_once 'DB.php';

      Change the configure.php file to:

      function civicrm_source( $fileName ) {

      //Uncomment next line if doing an upgrade.
      // return;

      global $dsn, $crmPath;

      require_once 'DB.php';

      (It can be confusing to find the exact right location since there are similar lines in various files)
      Of course, better yet put in code o detect an existing installation.

        Attachments

          Activity

            People

            • Assignee:
              lobo Donald A. Lobo
              Reporter:
              mcsmom Elin Waring
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: