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

CIVICRM_SITE_KEY not generated properly during installation

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.1.5
    • Fix Version/s: 4.2.0
    • Component/s: Joomla Integration
    • Labels:

      Description

      On Joomla 2.5.6 on a new install of CiviCRM 4.1.5 the auto-generated CIVICRM_SITE_KEY in components/com_civicrm/civicrm.settings.php does not match the one in administrator/components/com_civicrm/civicrm.settings.php

      The one under administrator/components/com_civicrm/civicrm.settings.php appears to be the correct one.

      The mismatch causes issues with email related services within CiviCRM such as using the Forward to Friend

      {action.forward}

      functionality.

      When forward email is triggered the code uses the CIVICRM_SITE_KEY from components/com_civicrm/civicrm.settings.php to decrypt the smtp auth password which produces bad password and results in failed authentication with smtp server.

      Changing the CIVICRM_SITE_KEY value in components/com_civicrm/civicrm.settings.php to the one from administrator/components/com_civicrm/civicrm.settings.php solves the issue.

      It appears that during installation perhaps the autogenerated CIVICRM_SITE_KEY only makes it to

      administrator/components/com_civicrm/civicrm.settings.php

      and not to

      components/com_civicrm/civicrm.settings.php

        Attachments

          Activity

            People

            • Assignee:
              pratik.joshi Pratik Joshi
              Reporter:
              alleyla Leyla Alieva
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: