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

Can't download extensions via the UI

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.6.3
    • Fix Version/s: 4.6.4
    • Labels:
      None
    • Documentation Required?:
      None

      Description

      Downloading extensions via the UI is broken in Civi 4.6. I can still install extensions on 4.5 installs, and this person[1] reported success installing on 4.4 after experiencing this issue, so I assume the problem is in code, not the extension infrastructure.

      I replicated this on two Drupal sites w/ Civi 4.6.3, and a Wordpress site with 4.6.2, and on a 4.6 civicrm-buildkit install. I couldn't find any 4.6 installs that didn't exhibit this behavior, so it's a good bet this affects all 4.6.x installs.

      To replicate:

      • Just click "Download" on any extension from the "Add New" tab of the "Manage Extensions" page.

      Backtrace follows:
      CRM_Extension_Exception_MissingException: Unknown extension: com.aghstrategies.civimonitor in /var/www/database.mysite.org/wp-content/plugins/civicrm/civicrm/CRM/Extension/Container/Collection.php on line 106
      Exception trace

      1. Function Location
        0 CRM_Extension_Container_Collection->getContainer('com.aghstrategie…') /var/www/database.mysite.org/wp-content/plugins/civicrm/civicrm/CRM/Extension/Container/Collection.php:106
        1 CRM_Extension_Container_Collection->getPath('com.aghstrategie…') /var/www/database.mysite.org/wp-content/plugins/civicrm/civicrm/CRM/Extension/Mapper.php:188
        2 CRM_Extension_Mapper->keyToInfo('com.aghstrategie…') /var/www/database.mysite.org/wp-content/plugins/civicrm/civicrm/CRM/Admin/Form/Extensions.php:104
        3 CRM_Admin_Form_Extensions->buildQuickForm() /var/www/database.mysite.org/wp-content/plugins/civicrm/civicrm/CRM/Core/Form.php:476
        4 CRM_Core_Form->buildForm() /var/www/database.mysite.org/wp-content/plugins/civicrm/civicrm/CRM/Core/QuickForm/Action/Display.php:94
        5 CRM_Core_QuickForm_Action_Display->perform(Object(CRM_Admin_Form_Extensions), 'display') /var/www/database.mysite.org/wp-content/plugins/civicrm/civicrm/packages/HTML/QuickForm/Controller.php:203
        6 HTML_QuickForm_Controller->handle(Object(CRM_Admin_Form_Extensions), 'display') /var/www/database.mysite.org/wp-content/plugins/civicrm/civicrm/packages/HTML/QuickForm/Page.php:103
        7 HTML_QuickForm_Page->handle('display') /var/www/database.mysite.org/wp-content/plugins/civicrm/civicrm/CRM/Core/Controller.php:353
        8 CRM_Core_Controller->run() /var/www/database.aclusandiego.org/wp-content/plugins/civicrm/civicrm/CRM/Core/Page/Basic.php:395
        9 CRM_Core_Page_Basic->edit(2, null) /var/www/database.mysite.org/wp-content/plugins/civicrm/civicrm/CRM/Core/Page/Basic.php:174
        10 CRM_Core_Page_Basic->run() /var/www/database.mysite.org/wp-content/plugins/civicrm/civicrm/CRM/Admin/Page/Extensions.php:125
        11 CRM_Admin_Page_Extensions->run(Array, null) /var/www/database.mysite.org/wp-content/plugins/civicrm/civicrm/CRM/Core/Invoke.php:312
        12 CRM_Core_Invoke::runItem(Array) /var/www/database.mysite.org/wp-content/plugins/civicrm/civicrm/CRM/Core/Invoke.php:86
        13 CRM_Core_Invoke::_invoke(Array) /var/www/database.mysite.org/wp-content/plugins/civicrm/civicrm/CRM/Core/Invoke.php:54
        14 CRM_Core_Invoke::invoke(Array) /var/www/database.mysite.org/wp-content/plugins/civicrm/civicrm.php:1133
        15 CiviCRM_For_WordPress->invoke('') unknown:unknown
        16 call_user_func_array(Array, Array) /var/www/database.mysite.org/wp-includes/plugin.php:496
        17 do_action('toplevel_page_Ci…') /var/www/database.mysite.org/wp-admin/admin.php:226
        18 {main}


        Sorry but we are not able to provide this at the moment.
        Unknown extension: com.aghstrategies.civimonitor

      Return to home page.

      [1] http://civicrm.stackexchange.com/questions/2048/cannot-install-extensions-on-a-wordpresscivicrm-install

        Attachments

          Activity

            People

            • Assignee:
              colemanw Coleman Watts
              Reporter:
              palantejon Jon K Goldberg
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: