Answers.Body: <p>I updated Civicrm to 4.7.6 in a Joomla 3.5.1 site, with "System Status: Ok" reported as a result.
  However the reported fix was not there: CMS Database integration shows nothing (no paths or fields displayed) only two buttons. </p>
  
  <p>I manually edited the file as in the answer Jern gave, and then the system reported a sync of users.
  Still no database-name for the Joomla users is displayed: no path or field. I tested the sync operation and it worked okay, so I guess the field is no longer necessary.</p>
  
  <p>And reset it to the startsituation: my edit was not needed after all, see comment Jern below.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-04-23T11:57:32.090Z
Answers.Text: Exactly. The manual fix is not needed in 4.7.6, and you could/should reverse it. It is still confusing because there is now nothing to see on the CMS Database Integration page. The field "Joomla Users Table name" which was previously the only field on this page, has been intentionally removed from the Joomla version of 4.7.6 - see comment from Jitendra Purohit on this page: https://issues.civicrm.org/jira/browse/CRM-18058
Answers.UserDisplayName: Jern
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-04-22T10:41:21.077Z
Answers.LastActivityDate: 2016-04-26T12:12:25.733Z
Answers.LastEditDate: 2016-04-26T12:12:25.733Z
Answers.UserDisplayName: Paul Kleingeld
Answers.Body: <p>Thanks to eug for finding the problem (see comments). Eug's solution worked for me: <br><br> Edit the file <i>administrator/components/com_civicrm/civicrm/templates/CRM/Admin/Form/Setting/Pa‌​th.hlp</i> to replace the first crmResPath with crmResURL </p>
  
  <p>Update: problem persists in 4.7.3. Have upgraded the <a href="https://issues.civicrm.org/jira/browse/CRM-18058" rel="nofollow">bug report</a> priority to Major.</p>
  
  <p>Update: problem persists in 4.7.4.</p>
  
  <p>Update: problem persists in 4.7.5.</p>
  
  <p>Update: fix prepared for 4.7.6. See above bug report link for PR details.</p>
  
  <p>Update: problem fixed in 4.7.6.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-02-24T16:44:57.180Z
Answers.Text: Thanks this fixed it for me!!  Joomla 3.4.8 and CiviCRM 4.7.2.
Answers.UserDisplayName: Hudson Essex Terraplane Club
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-02-13T16:59:29.987Z
Answers.LastActivityDate: 2016-04-09T09:36:11.947Z
Answers.LastEditDate: 2016-04-09T09:36:11.947Z
Answers.UserDisplayName: Jern
Body: <p>I upgraded two installations of CiviCRM 4.6.11 to 4.7 on the same server. Both upgraded fine, but now have the following errors:</p>
  
  <p>1) <b>Systems Settings --> CMS Database integration</b> shows nothing (no paths or fields displayed). Normally I would expect at least a field to enter the Joomla Users Table name.</p>
  
  <p>2) <b>Systems Settings --> Directories</b> shows this error:</p>
  
  <pre><code>&lt;div id="crm-container" class="crm-container" lang="en" xml:lang="en"&gt; &lt;style type="text/css" media="screen"&gt; 
  @import url(http://domain.com/administrator/components/com_civicrm/civicrm/css/civicrm.css); 
  @import url(http://domain.com/administrator/components/com_civicrm/civicrm/bower_components/font-awesome/css/font-awesome.min.css);
  &lt;/style&gt; &lt;div class="messages status no-popup"&gt; &lt;i class="crm-i fa-exclamation-triangle crm-i-red"&gt;&lt;/i&gt; 
  &lt;span class="status-fatal"&gt;Sorry but we are not able to provide this at the moment.&lt;/span&gt; 
  &lt;div class="crm-section crm-error-message"&gt;Cannot resolve path using "cms.root.path"&lt;/div&gt; 
  &lt;p&gt;&lt;a href="http://domain.com/administrator/" title="Main Menu"&gt;Return to home page.&lt;/a&gt;&lt;/p&gt; 
  &lt;/div&gt; &lt;/div&gt; 
  &lt;script language="JavaScript"&gt; function toggle( element ) { var parent = element.parentNode; var className = parent.className; if ( className == 'crm-accordion-wrapper collapsed crm-fatal-error-details-block') { parent.className = 'crm-accordion-wrapper crm-fatal-error-details-block'; } else { parent.className = 'crm-accordion-wrapper collapsed crm-fatal-error-details-block'; } } &lt;/script&gt;
  </code></pre>
  
  <p><br/><br/></p>
  
  <p>Anyone else seen anything like this? There are no php errors logged (but some warnings), and the CiviCRM log shows this:<br/><br/></p>
  
  <pre><code>$backTrace = #0 ...civicrm/CRM/Core/Error.php(444): CRM_Core_Error::backtrace("backTrace", TRUE)
  #1 ...civicrm/CRM/Core/Invoke.php(57): CRM_Core_Error::handleUnhandledException(Object(RuntimeException))
  #2 ...civicrm.php(116): CRM_Core_Invoke::invoke((Array:4))
  #3 ...civicrm.php(40): civicrm_invoke()
  #4 ...CMS_root_directory.../libraries/cms/component/helper.php(392): require_once("...civicrm...")
  #5 ...CMS_root_directory.../libraries/cms/component/helper.php(372): JComponentHelper::executeComponent("...CMS_root_directory.../administrator/components/com_civicrm/civicrm...")
  #6 ...CMS_root_directory.../libraries/cms/application/administrator.php(98): JComponentHelper::renderComponent("com_civicrm")
  #7 ...CMS_root_directory.../libraries/cms/application/administrator.php(152): JApplicationAdministrator-&gt;dispatch()
  #8 ...CMS_root_directory.../libraries/cms/application/cms.php(252): JApplicationAdministrator-&gt;doExecute()
  #9 ...CMS_root_directory.../administrator/index.php(47): JApplicationCms-&gt;execute()
  #10 {main}
  </code></pre>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-02-01T08:52:33.783Z
Comments.Text: I got the same error (running on Joomla 3); also it appears that in some instances Civi generates a path where the /administrator piece is left out. In civicrm.settings.php the URL's are defined correctly both in /administrator/components/com_civicrm and /components/com_civicrm
  @Jern, were you able to resolve this?
Comments.UserDisplayName: MtnPavlas
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-02-02T10:48:47.123Z
Comments.Text: No, I haven't found a solution. The settings files seems fine. I tried adding an override for the CMS root, but this made no difference. One other strange things is that the css isn't loading on the Directories page. It's displaying without the CiviCRM css. I wonder if it could be a problem with the pathname of the Civi css file.
Comments.UserDisplayName: Jern
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-02-04T20:53:57.177Z
Comments.Text: I've seen the problem with Directories too running Joomla 3.x
Comments.UserDisplayName: Stephen Palmstrom
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-02-05T02:24:29.160Z
Comments.Text: After similar upgrade on Joomla 3.4.8, I got a "cron not recorded" error. Cleared caches and reset paths, now completely broken. All blank pages, frontend and backend. Please advise.
Comments.UserDisplayName: BruceW
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-02-06T11:03:37.523Z
Comments.Text: Well, here I am with still no progress. I notice that there was a bug fix in 4.7 which was designed to fix a problem with the cmsRootPath in WP installations where one installation was in a sub-folder of another installation. This is the situation I have with my Joomla setup. Is there a possibility that the WP fix has broken the Joomla version? By the way, is there a demo or sandbox version of CiviCRM 4.7 Joomla?
Comments.UserDisplayName: Jern
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-02-08T04:19:16.870Z
Comments.Text: You can add me to the list of Joomla/CiviCRM users seeing this error. Nothing listed under the CMS Database Integration, along with the Directories page not reflecting any directory, nor is the page reflecting the CSS or template formatting. J!: 3.4.8
  CiviCRM: 4.7.1
  PHP: 5.5.30 UPDATE: I couldn't test this type of error on the Joomla Demo site, as its still running CiviCRM **4.6.0** !!!!!!!
Comments.UserDisplayName: Neil Z
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-02-12T09:00:11.760Z
Comments.Text: I'm also seeing trouble with cms.root, but by hacking administrator/components/com_civicrm/civicrm/templates/CRM/Admin/Form/Setting/Path.hlp to replace the first crmResPath with crmResURL my Directories page now loads..
  
  I also note this in administrator/components/com_civicrm/civicrm/CRM/Extension/System.php::
   // At time of writing, D6, D7, and WP support cmsRootPath() but J does not
Comments.UserDisplayName: eug
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-02-12T09:38:14.597Z
Comments.Text: It looks like this is a simple bug caused by the addition of a help info pop-up
Comments.UserDisplayName: eug
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-02-13T09:25:42.533Z
Comments.Text: Thanks! That seems to be it. How did you debug that? Please would you post this as an answer, so I can accept it.
Comments.UserDisplayName: Jern
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-04-06T06:42:08.970Z
Comments.Text: If any of you will be at CiviCon this year, let's get a Joomla group together and beef up our chops to help support.
Comments.UserDisplayName: BruceW
Tags: <joomla><upgrade><error><cms-integration>
Title: cms.root.path error after upgrade to 4.7 (Joomla)
ThreadText: # cms.root.path error after upgrade to 4.7 (Joomla)
  
  (Asked by: username_0 on 2016-01-30)
  
  I upgraded two installations of CiviCRM 4.6.11 to 4.7 on the same server. Both upgraded fine, but now have the following errors:
  
  1) **Systems Settings --> CMS Database integration** shows nothing (no paths or fields displayed). Normally I would expect at least a field to enter the Joomla Users Table name.
  
  2) **Systems Settings --> Directories** shows this error:
  
  ```
  <div id="crm-container" class="crm-container" lang="en" xml:lang="en"> <style type="text/css" media="screen"> 
  @import url(http://domain.com/administrator/components/com_civicrm/civicrm/css/civicrm.css); 
  @import url(http://domain.com/administrator/components/com_civicrm/civicrm/bower_components/font-awesome/css/font-awesome.min.css);
  </style> <div class="messages status no-popup"> <i class="crm-i fa-exclamation-triangle crm-i-red"></i> 
  <span class="status-fatal">Sorry but we are not able to provide this at the moment.</span> 
  <div class="crm-section crm-error-message">Cannot resolve path using "cms.root.path"</div> 
  <p><a href="http://domain.com/administrator/" title="Main Menu">Return to home page.</a></p> 
  </div> </div> 
  <script language="JavaScript"> function toggle( element ) { var parent = element.parentNode; var className = parent.className; if ( className == 'crm-accordion-wrapper collapsed crm-fatal-error-details-block') { parent.className = 'crm-accordion-wrapper crm-fatal-error-details-block'; } else { parent.className = 'crm-accordion-wrapper collapsed crm-fatal-error-details-block'; } } </script>
  
  ```
  
  Anyone else seen anything like this? There are no php errors logged (but some warnings), and the CiviCRM log shows this:
  
  ```
  $backTrace = #0 ...civicrm/CRM/Core/Error.php(444): CRM_Core_Error::backtrace("backTrace", TRUE)
  #1 ...civicrm/CRM/Core/Invoke.php(57): CRM_Core_Error::handleUnhandledException(Object(RuntimeException))
  #2 ...civicrm.php(116): CRM_Core_Invoke::invoke((Array:4))
  #3 ...civicrm.php(40): civicrm_invoke()
  #4 ...CMS_root_directory.../libraries/cms/component/helper.php(392): require_once("...civicrm...")
  #5 ...CMS_root_directory.../libraries/cms/component/helper.php(372): JComponentHelper::executeComponent("...CMS_root_directory.../administrator/components/com_civicrm/civicrm...")
  #6 ...CMS_root_directory.../libraries/cms/application/administrator.php(98): JComponentHelper::renderComponent("com_civicrm")
  #7 ...CMS_root_directory.../libraries/cms/application/administrator.php(152): JApplicationAdministrator->dispatch()
  #8 ...CMS_root_directory.../libraries/cms/application/cms.php(252): JApplicationAdministrator->doExecute()
  #9 ...CMS_root_directory.../administrator/index.php(47): JApplicationCms->execute()
  #10 {main}
  
  ```
  
  **Tags:** joomla, upgrade, error, cms-integration
  
  > **Comments:**
  > **username_1**: I got the same error (running on Joomla 3); also it appears that in some instances Civi generates a path where the /administrator piece is left out. In civicrm.settings.php the URL's are defined correctly both in /administrator/components/com_civicrm and /components/com_civicrm @username_0, were you able to resolve this?  
  > **username_0**: No, I haven't found a solution. The settings files seems fine. I tried adding an override for the CMS root, but this made no difference. One other strange things is that the css isn't loading on the Directories page. It's displaying without the CiviCRM css. I wonder if it could be a problem with the pathname of the Civi css file.  
  > **username_2**: I've seen the problem with Directories too running Joomla 3.x  
  > **username_3**: After similar upgrade on Joomla 3.4.8, I got a "cron not recorded" error. Cleared caches and reset paths, now completely broken. All blank pages, frontend and backend. Please advise.  
  > **username_0**: Well, here I am with still no progress. I notice that there was a bug fix in 4.7 which was designed to fix a problem with the cmsRootPath in WP installations where one installation was in a sub-folder of another installation. This is the situation I have with my Joomla setup. Is there a possibility that the WP fix has broken the Joomla version? By the way, is there a demo or sandbox version of CiviCRM 4.7 Joomla?  
  > **username_4**: You can add me to the list of Joomla/CiviCRM users seeing this error. Nothing listed under the CMS Database Integration, along with the Directories page not reflecting any directory, nor is the page reflecting the CSS or template formatting. J!: 3.4.8 CiviCRM: 4.7.1 PHP: 5.5.30 UPDATE: I couldn't test this type of error on the Joomla Demo site, as its still running CiviCRM **4.6.0** !!!!!!!  
  > **username_5**: I'm also seeing trouble with cms.root, but by hacking administrator/components/com_civicrm/civicrm/templates/CRM/Admin/Form/Setting/Path.hlp to replace the first crmResPath with crmResURL my Directories page now loads..  I also note this in administrator/components/com_civicrm/civicrm/CRM/Extension/System.php::  // At time of writing, D6, D7, and WP support cmsRootPath() but J does not  
  > **username_5**: It looks like this is a simple bug caused by the addition of a help info pop-up  
  > **username_0**: Thanks! That seems to be it. How did you debug that? Please would you post this as an answer, so I can accept it.  
  > **username_3**: If any of you will be at CiviCon this year, let's get a Joomla group together and beef up our chops to help support.  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_0 on 2016-02-13. Score: 7 | Accepted answer
  
  Thanks to eug for finding the problem (see comments). Eug's solution worked for me:   
    
   Edit the file *administrator/components/com\_civicrm/civicrm/templates/CRM/Admin/Form/Setting/Pa‌​th.hlp* to replace the first crmResPath with crmResURL
  
  Update: problem persists in 4.7.3. Have upgraded the [bug report](https://issues.civicrm.org/jira/browse/CRM-18058) priority to Major.
  
  Update: problem persists in 4.7.4.
  
  Update: problem persists in 4.7.5.
  
  Update: fix prepared for 4.7.6. See above bug report link for PR details.
  
  Update: problem fixed in 4.7.6.
  
  > **Comments:**
  > **username_7**: Thanks this fixed it for me!!  Joomla 3.4.8 and CiviCRM 4.7.2.  
  
  ---
  
  ### Answer by username_6 on 2016-04-22. Score: 0
  
  I updated Civicrm to 4.7.6 in a Joomla 3.5.1 site, with "System Status: Ok" reported as a result.
  However the reported fix was not there: CMS Database integration shows nothing (no paths or fields displayed) only two buttons.
  
  I manually edited the file as in the answer username_0 gave, and then the system reported a sync of users.
  Still no database-name for the Joomla users is displayed: no path or field. I tested the sync operation and it worked okay, so I guess the field is no longer necessary.
  
  And reset it to the startsituation: my edit was not needed after all, see comment username_0 below.
  
  > **Comments:**
  > **username_0**: Exactly. The manual fix is not needed in 4.7.6, and you could/should reverse it. It is still confusing because there is now nothing to see on the CMS Database Integration page. The field "Joomla Users Table name" which was previously the only field on this page, has been intentionally removed from the Joomla version of 4.7.6 - see comment from Jitendra Purohit on this page: https://issues.civicrm.org/jira/browse/CRM-18058  
  
  ---
  
  