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 "cms.root.path""</b></p><pre>#0 D:\CiviCRM_Custom.git\joomla\administrator\components\com_civicrm\civicrm\CRM\Core\Resources.php(475): Civi\Core\Paths->getVariable("cms.root", "path") #1 D:\CiviCRM_Custom.git\joomla\administrator\components\com_civicrm\civicrm\CRM\Core\Smarty\plugins\function.crmResPath.php(55): CRM_Core_Resources->getPath("cms.root", 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("D:\CiviCRM_Custom.git\joomla\media\civicrm\templates_c\en_GB\%%86\86A\86A4649...") #4 D:\CiviCRM_Custom.git\joomla\administrator\components\com_civicrm\civicrm\CRM\Core\Smarty.php(194): Smarty->fetch("CRM\Admin\Form\Setting\Path.hlp", 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->fetch("CRM\Admin\Form\Setting\Path.hlp") #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("D:\CiviCRM_Custom.git\joomla\media\civicrm\templates_c\en_GB\%%61\61E\61EE3F9...") #8 D:\CiviCRM_Custom.git\joomla\media\civicrm\templates_c\en_GB\%%0C\0CB\0CBEC124%%default.tpl.php(19): Smarty->_smarty_include((Array:2)) #9 D:\CiviCRM_Custom.git\joomla\administrator\components\com_civicrm\civicrm\packages\Smarty\Smarty.class.php(1907): include("D:\CiviCRM_Custom.git\joomla\media\civicrm\templates_c\en_GB\%%0C\0CB\0CBEC12...") #10 D:\CiviCRM_Custom.git\joomla\media\civicrm\templates_c\en_GB\%%EA\EAA\EAA96A89%%joomla.tpl.php(86): Smarty->_smarty_include((Array:2)) #11 D:\CiviCRM_Custom.git\joomla\administrator\components\com_civicrm\civicrm\packages\Smarty\Smarty.class.php(1264): include("D:\CiviCRM_Custom.git\joomla\media\civicrm\templates_c\en_GB\%%EA\EAA\EAA96A8...") #12 D:\CiviCRM_Custom.git\joomla\administrator\components\com_civicrm\civicrm\CRM\Core\Smarty.php(194): Smarty->fetch("CRM/common/joomla.tpl", NULL, NULL, FALSE) #13 D:\CiviCRM_Custom.git\joomla\administrator\components\com_civicrm\civicrm\CRM\Core\QuickForm\Action\Display.php(133): CRM_Core_Smarty->fetch("CRM/common/joomla.tpl") #14 D:\CiviCRM_Custom.git\joomla\administrator\components\com_civicrm\civicrm\CRM\Core\QuickForm\Action\Display.php(99): CRM_Core_QuickForm_Action_Display->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->perform(Object(CRM_Admin_Form_Setting_Path), "display") #16 D:\CiviCRM_Custom.git\joomla\administrator\components\com_civicrm\civicrm\packages\HTML\QuickForm\Page.php(103): HTML_QuickForm_Controller->handle(Object(CRM_Admin_Form_Setting_Path), "display") #17 D:\CiviCRM_Custom.git\joomla\administrator\components\com_civicrm\civicrm\CRM\Core\Controller.php(351): HTML_QuickForm_Page->handle("display") #18 D:\CiviCRM_Custom.git\joomla\administrator\components\com_civicrm\civicrm\CRM\Utils\Wrapper.php(113): CRM_Core_Controller->run() #19 D:\CiviCRM_Custom.git\joomla\administrator\components\com_civicrm\civicrm\CRM\Core\Invoke.php(286): CRM_Utils_Wrapper->run("CRM_Admin_Form_Setting_Path", "Directories", 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("D:\CiviCRM_Custom.git\joomla\administrator\components\com_civicrm\civicrm.php") #25 D:\CiviCRM_Custom.git\joomla\libraries\cms\component\helper.php(372): JComponentHelper::executeComponent("D:\CiviCRM_Custom.git\joomla\administrator/components/com_civicrm/civicrm.php") #26 D:\CiviCRM_Custom.git\joomla\libraries\cms\application\administrator.php(98): JComponentHelper::renderComponent("com_civicrm") #27 D:\CiviCRM_Custom.git\joomla\libraries\cms\application\administrator.php(152): JApplicationAdministrator->dispatch() #28 D:\CiviCRM_Custom.git\joomla\libraries\cms\application\cms.php(252): JApplicationAdministrator->doExecute() #29 D:\CiviCRM_Custom.git\joomla\administrator\index.php(47): JApplicationCms->execute() #30
Others have reported this in StackExchange.