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

soap.php throws an error when authenticating in Joomla

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.1.0, 4.1.1
    • Fix Version/s: 4.1.2
    • Component/s: CiviMail
    • Labels:

      Description

      authenticating against soap.php results in an error in Joomla:

      Call to undefined function jimport()

      This error is thrown from CRM_Utils_System_Joomla::authenticate line 439 and happens when $loadCMSBootstrap == false. jimport is an internal joomla function and is only available when the joomla environment is loaded.

      I was able to repro on Joomla 1.7.5 and Joomla 2.5.1 with CCRM 4.1.0 and 4.1.1

      I attached a patch for making this work for soap, however in the current form CRM_Utils_System_Joomla::authenticate will always fail if $loadCMSBootstrap == false.

      So perhaps there also needs to be an exception thrown when $loadCMSBootstrap is passed as false saying that this param being false is not supported on the joomla platform.

        Attachments

          Activity

            People

            • Assignee:
              lcdweb Brian Shaughnessy
              Reporter:
              alleyla Leyla Alieva
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: