Answers.Body: <p>You can configure the web resources in the screen <em>Administer -> System Settings -> Resource URLs</em> (That is different from file locations).</p>
  
  <p>In this screen, you can set the resource URL (see (1)) as complete URL, as the relative path and with the use of URL variables. So you can avoid using the using <code>[civicrm.root]</code>. And it has another neat feature. If you ask help by clicking the question mark, the values of the URL variables are displayed.</p>
  
  <p><a href="https://i.sstatic.net/P5OQW.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/P5OQW.png" alt="enter image description here"></a></p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-12-03T11:37:12.303Z
Answers.Text: Thank you, adding the complete URL works now!
  Still I would like to know whey the variable [civicrm.root] does not work here.
  When I click on the question mark, the value of it show the correct URL!
  But it does now work using the variable
  Any idea why?
Answers.UserDisplayName: Marc
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-12-05T15:08:23.873Z
Answers.Text: Marc I have a patch in the works which may fix this problem for Joomla. If you could give it a try on your site that would be extremely helpful! Try changing the paths back to use `[civicrm_root]`, verify the problem persists and then apply [this patch](https://github.com/civicrm/civicrm-core/pull/9458.diff) to see if it fixes the issue. Please leave a comment on the [pull-request](https://github.com/civicrm/civicrm-core/pull/9458) to let us know how it works.
Answers.UserDisplayName: Coleman
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-12-02T10:03:49.307Z
Answers.LastActivityDate: 2016-12-02T10:03:49.307Z
Answers.UserDisplayName: Kainuk - CiviCooP
Body: <p>a fresh install on Joomla 3.6.4 with CiviCRM 4.7.13 results in countless 404 errors</p>
  
  <p>All files of those locations are not found:</p>
  
  <ul>
  <li>css</li>
  <li>bower_components</li>
  <li>packages</li>
  <li>js</li>
  </ul>
  
  <p>It tries to find the files from those folders in the wrong location:
  /home/...serverinfo.../www/...website.../components/com_civicrm/civicrm</p>
  
  <p>but the correct location would be:
  /home/...serverinfo.../www/...website.../<strong>administrator</strong>/components/com_civicrm/civicrm</p>
  
  <p>The variable: [civicrm.root] is set correctly including the <strong>administrator</strong> folder</p>
  
  <p>The civicrm.settings.php is defined like this:
  $civicrm_root = '/home/...serverinfo.../www/...website.../administrator/components/com_civicrm/civicrm/';</p>
  
  <p>Please, is there anywhere else where I can look for a wrong configuration of the [civicrm.root]?</p>
  
  <p>Thank you</p>
  
Tags: <joomla><installation><civicrm.settings.php><css>
Title: 404 css and js not found, wrong [civicrm.root]
ThreadText: # 404 css and js not found, wrong [civicrm.root]
  
  (Asked by: username_0 on 2016-12-01)
  
  a fresh install on Joomla 3.6.4 with CiviCRM 4.7.13 results in countless 404 errors
  
  All files of those locations are not found:
  
  * css
  * bower\_components
  * packages
  * js
  
  It tries to find the files from those folders in the wrong location:
  /home/...serverinfo.../www/...website.../components/com\_civicrm/civicrm
  
  but the correct location would be:
  /home/...serverinfo.../www/...website.../**administrator**/components/com\_civicrm/civicrm
  
  The variable: [civicrm.root] is set correctly including the **administrator** folder
  
  The civicrm.settings.php is defined like this:
  $civicrm\_root = '/home/...serverinfo.../www/...website.../administrator/components/com\_civicrm/civicrm/';
  
  Please, is there anywhere else where I can look for a wrong configuration of the [civicrm.root]?
  
  Thank you
  
  **Tags:** joomla, installation, civicrm.settings.php, css
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2016-12-02. Score: 1 | Accepted answer
  
  You can configure the web resources in the screen *Administer -> System Settings -> Resource URLs* (That is different from file locations).
  
  In this screen, you can set the resource URL (see (1)) as complete URL, as the relative path and with the use of URL variables. So you can avoid using the using `[civicrm.root]`. And it has another neat feature. If you ask help by clicking the question mark, the values of the URL variables are displayed.
  
  [![enter image description here](https://i.sstatic.net/P5OQW.png)](https://i.sstatic.net/P5OQW.png)
  
  > **Comments:**
  > **username_0**: Thank you, adding the complete URL works now! Still I would like to know whey the variable [civicrm.root] does not work here. When I click on the question mark, the value of it show the correct URL! But it does now work using the variable Any idea why?  
  > **username_2**: username_0 I have a patch in the works which may fix this problem for Joomla. If you could give it a try on your site that would be extremely helpful! Try changing the paths back to use `[civicrm_root]`, verify the problem persists and then apply [this patch](https://github.com/civicrm/civicrm-core/pull/9458.diff) to see if it fixes the issue. Please leave a comment on the [pull-request](https://github.com/civicrm/civicrm-core/pull/9458) to let us know how it works.  
  
  ---
  
  