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

Administer CiviCRM -> Directories fails after upgrade to 4.7.1

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 4.7.1
    • Fix Version/s: None
    • Component/s: Core CiviCRM
    • Labels:
      None
    • Documentation Required?:
      None
    • Funding Source:
      Needs Funding

      Description

      Administer CiviCRM -> Directories under Joomla gives:

      CiviCRM-001 <p><b>RuntimeException: "Cannot resolve path using &quot;cms.root.path&quot;"</b></p><pre>#0 D:\CiviCRM_Custom.git\joomla\administrator\components\com_civicrm\civicrm\CRM\Core\Resources.php(475): Civi\Core\Paths-&gt;getVariable(&quot;cms.root&quot;, &quot;path&quot;) #1 D:\CiviCRM_Custom.git\joomla\administrator\components\com_civicrm\civicrm\CRM\Core\Smarty\plugins\function.crmResPath.php(55): CRM_Core_Resources-&gt;getPath(&quot;cms.root&quot;, NULL) #2 D:\CiviCRM_Custom.git\joomla\media\civicrm\templates_c\en_GB\%%86\86A\86A46492%%Path.hlp.php(11): smarty_function_crmResPath((Array:1), Object(CRM_Core_Smarty)) #3 D:\CiviCRM_Custom.git\joomla\administrator\components\com_civicrm\civicrm\packages\Smarty\Smarty.class.php(1264): include(&quot;D:\CiviCRM_Custom.git\joomla\media\civicrm\templates_c\en_GB\%%86\86A\86A4649...&quot;) #4 D:\CiviCRM_Custom.git\joomla\administrator\components\com_civicrm\civicrm\CRM\Core\Smarty.php(194): Smarty-&gt;fetch(&quot;CRM\Admin\Form\Setting\Path.hlp&quot;, NULL, NULL, FALSE) #5 D:\CiviCRM_Custom.git\joomla\administrator\components\com_civicrm\civicrm\CRM\Core\Smarty\plugins\function.help.php(64): CRM_Core_Smarty-&gt;fetch(&quot;CRM\Admin\Form\Setting\Path.hlp&quot;) #6 D:\CiviCRM_Custom.git\joomla\media\civicrm\templates_c\en_GB\%%61\61E\61EE3F94%%Path.tpl.php(9): smarty_function_help((Array:1), Object(CRM_Core_Smarty)) #7 D:\CiviCRM_Custom.git\joomla\administrator\components\com_civicrm\civicrm\packages\Smarty\Smarty.class.php(1907): include(&quot;D:\CiviCRM_Custom.git\joomla\media\civicrm\templates_c\en_GB\%%61\61E\61EE3F9...&quot;) #8 D:\CiviCRM_Custom.git\joomla\media\civicrm\templates_c\en_GB\%%0C\0CB\0CBEC124%%default.tpl.php(19): Smarty-&gt;_smarty_include((Array:2)) #9 D:\CiviCRM_Custom.git\joomla\administrator\components\com_civicrm\civicrm\packages\Smarty\Smarty.class.php(1907): include(&quot;D:\CiviCRM_Custom.git\joomla\media\civicrm\templates_c\en_GB\%%0C\0CB\0CBEC12...&quot;) #10 D:\CiviCRM_Custom.git\joomla\media\civicrm\templates_c\en_GB\%%EA\EAA\EAA96A89%%joomla.tpl.php(86): Smarty-&gt;_smarty_include((Array:2)) #11 D:\CiviCRM_Custom.git\joomla\administrator\components\com_civicrm\civicrm\packages\Smarty\Smarty.class.php(1264): include(&quot;D:\CiviCRM_Custom.git\joomla\media\civicrm\templates_c\en_GB\%%EA\EAA\EAA96A8...&quot;) #12 D:\CiviCRM_Custom.git\joomla\administrator\components\com_civicrm\civicrm\CRM\Core\Smarty.php(194): Smarty-&gt;fetch(&quot;CRM/common/joomla.tpl&quot;, NULL, NULL, FALSE) #13 D:\CiviCRM_Custom.git\joomla\administrator\components\com_civicrm\civicrm\CRM\Core\QuickForm\Action\Display.php(133): CRM_Core_Smarty-&gt;fetch(&quot;CRM/common/joomla.tpl&quot;) #14 D:\CiviCRM_Custom.git\joomla\administrator\components\com_civicrm\civicrm\CRM\Core\QuickForm\Action\Display.php(99): CRM_Core_QuickForm_Action_Display-&gt;renderForm(Object(CRM_Admin_Form_Setting_Path)) #15 D:\CiviCRM_Custom.git\joomla\administrator\components\com_civicrm\civicrm\packages\HTML\QuickForm\Controller.php(203): CRM_Core_QuickForm_Action_Display-&gt;perform(Object(CRM_Admin_Form_Setting_Path), &quot;display&quot;) #16 D:\CiviCRM_Custom.git\joomla\administrator\components\com_civicrm\civicrm\packages\HTML\QuickForm\Page.php(103): HTML_QuickForm_Controller-&gt;handle(Object(CRM_Admin_Form_Setting_Path), &quot;display&quot;) #17 D:\CiviCRM_Custom.git\joomla\administrator\components\com_civicrm\civicrm\CRM\Core\Controller.php(351): HTML_QuickForm_Page-&gt;handle(&quot;display&quot;) #18 D:\CiviCRM_Custom.git\joomla\administrator\components\com_civicrm\civicrm\CRM\Utils\Wrapper.php(113): CRM_Core_Controller-&gt;run() #19 D:\CiviCRM_Custom.git\joomla\administrator\components\com_civicrm\civicrm\CRM\Core\Invoke.php(286): CRM_Utils_Wrapper-&gt;run(&quot;CRM_Admin_Form_Setting_Path&quot;, &quot;Directories&quot;, NULL) #20 D:\CiviCRM_Custom.git\joomla\administrator\components\com_civicrm\civicrm\CRM\Core\Invoke.php(86): CRM_Core_Invoke::runItem((Array:13)) #21 D:\CiviCRM_Custom.git\joomla\administrator\components\com_civicrm\civicrm\CRM\Core\Invoke.php(54): CRM_Core_Invoke::_invoke((Array:4)) #22 D:\CiviCRM_Custom.git\joomla\administrator\components\com_civicrm\civicrm.php(116): CRM_Core_Invoke::invoke((Array:4)) #23 D:\CiviCRM_Custom.git\joomla\administrator\components\com_civicrm\civicrm.php(40): civicrm_invoke() #24 D:\CiviCRM_Custom.git\joomla\libraries\cms\component\helper.php(392): require_once(&quot;D:\CiviCRM_Custom.git\joomla\administrator\components\com_civicrm\civicrm.php&quot;) #25 D:\CiviCRM_Custom.git\joomla\libraries\cms\component\helper.php(372): JComponentHelper::executeComponent(&quot;D:\CiviCRM_Custom.git\joomla\administrator/components/com_civicrm/civicrm.php&quot;) #26 D:\CiviCRM_Custom.git\joomla\libraries\cms\application\administrator.php(98): JComponentHelper::renderComponent(&quot;com_civicrm&quot;) #27 D:\CiviCRM_Custom.git\joomla\libraries\cms\application\administrator.php(152): JApplicationAdministrator-&gt;dispatch() #28 D:\CiviCRM_Custom.git\joomla\libraries\cms\application\cms.php(252): JApplicationAdministrator-&gt;doExecute() #29
      D:\CiviCRM_Custom.git\joomla\administrator\index.php(47): JApplicationCms-&gt;execute() #30 

      Others have reported this in StackExchange.

        Attachments

        1. Help.patch
          0.4 kB
          Stephen Palmstrom
        2. wordpress_4.4_4.7_upgrade2.png
          36 kB
          Stoob

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              spalmstr Stephen Palmstrom
            • Votes:
              2 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: