Answers.Body: <p>Can you make sure in Directories and Resource url settings you are using real-time paths rather hardcoded paths in all text fields on the form. eg [cms.root]uploads/temp/ and not using /home/myusername/mysite.org/wp-content/plugins/civicrm/</p>
  
  <p>Some organisation define this settings in civicrm.settings.php if thats the case in yours than you will need to update your civicrm.settings.php file.</p>
  
  <blockquote>
    <p><strong>Note:</strong> After doing the change make sure everything is working fine specially cron job and online signup/registration forms.</p>
  </blockquote>
  
  <p>HTH</p>
  
  <p>Pradeep</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-01-15T18:01:39.067Z
Answers.Text: Thanks for you reply! Regardless of how the variables are achieved (default or in a settings file), if they're simply listed with their current (real-time) values somewhere in the admin page where they're needed, fewer mistakes will be made, right?
  
  Also, variables that are derived from a settings file could be noted as such.
Answers.UserDisplayName: Chris
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-01-15T18:15:48.863Z
Answers.Text: Yes, And it will be less pain to update these paths when site is moved or migrated to different path/server as [cms.root] etc will be derived from your apache and civicrm.settings file.
Answers.UserDisplayName: Pradeep Nayak
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-01-15T17:57:00.123Z
Answers.LastActivityDate: 2019-01-15T17:57:00.123Z
Answers.UserDisplayName: Pradeep Nayak
Answers.Body: <p>If you click the help icon in the help text at the top of the page, it shows you the current values. </p>
  
  <p><a href="https://i.sstatic.net/4UG1v.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/4UG1v.png" alt="enter image description here"></a></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-01-15T20:45:20.013Z
Answers.Text: Thanks. This has opened another can of worms, so I've opened a separate SE CiviCRM question. I wonder if there is a minor bug.
Answers.UserDisplayName: Chris
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-01-15T18:51:39.993Z
Answers.LastActivityDate: 2019-01-15T18:51:39.993Z
Answers.UserDisplayName: Aidan
Body: <p>Wordpress: 5.0.3</p>
  
  <p>CiviCRM: Upgraded from 4.7x to 5.9.0</p>
  
  <p>Everything is working, but now I'm getting these status notices about portable path variables. From my status page: </p>
  
  <blockquote>
    <p>To maximize portability, consider using a variable in each directory
    (eg "[cms.root]" or "[civicrm.files]").</p>
  </blockquote>
  
  <p>It would be great if a list of existing path variables and what they currently point to were actually made available on the "Directory Paths" and "Resource URLs" admin pages. Anything I can do to reduce possible mistakes makes me less anxious about updating my existing paths to the new preferred method.</p>
  
  <p>Sort of Like this:</p>
  
  <blockquote>
    <p><strong>List of available path variables with their current real-time paths:</strong></p>
    
    <p>[cms.root] --> /home/myusername/mysite.org/wp-content/plugins/civicrm/</p>
    
    <p>[civicrm.files] --> /home/myusername/mysite.org/wp-content/plugins/civicrm/uploads/files/</p>
    
    <p>[cms.other.path] --> /home/myusername/mysite.org/wp-content/plugins/civicrm/whatever/</p>
    
    <p>Also tips on whether to add a slash when using something like:</p>
    
    <p><em>Example temp file location: [cms.root]uploads/temp/</em></p>
  </blockquote>
  
  <p>Is this in the works?</p>
  
  <p>Cheers in advance.</p>
  
Tags: <directory><resource-urls>
Title: Portable Directory Path Variables Real-time List
ThreadText: # Portable Directory Path Variables Real-time List
  
  (Asked by: username_0 on 2019-01-15)
  
  Wordpress: 5.0.3
  
  CiviCRM: Upgraded from 4.7x to 5.9.0
  
  Everything is working, but now I'm getting these status notices about portable path variables. From my status page:
  
  > To maximize portability, consider using a variable in each directory
  > (eg "[cms.root]" or "[civicrm.files]").
  
  It would be great if a list of existing path variables and what they currently point to were actually made available on the "Directory Paths" and "Resource URLs" admin pages. Anything I can do to reduce possible mistakes makes me less anxious about updating my existing paths to the new preferred method.
  
  Sort of Like this:
  
  > **List of available path variables with their current real-time paths:**
  >
  > [cms.root] --> /home/myusername/mysite.org/wp-content/plugins/civicrm/
  >
  > [civicrm.files] --> /home/myusername/mysite.org/wp-content/plugins/civicrm/uploads/files/
  >
  > [cms.other.path] --> /home/myusername/mysite.org/wp-content/plugins/civicrm/whatever/
  >
  > Also tips on whether to add a slash when using something like:
  >
  > *Example temp file location: [cms.root]uploads/temp/*
  
  Is this in the works?
  
  Cheers in advance.
  
  **Tags:** directory, resource-urls
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_2 on 2019-01-15. Score: 4 | Accepted answer
  
  If you click the help icon in the help text at the top of the page, it shows you the current values.
  
  [![enter image description here](https://i.sstatic.net/4UG1v.png)](https://i.sstatic.net/4UG1v.png)
  
  > **Comments:**
  > **username_0**: Thanks. This has opened another can of worms, so I've opened a separate SE CiviCRM question. I wonder if there is a minor bug.  
  
  ---
  
  ### Answer by username_1 on 2019-01-15. Score: 0
  
  Can you make sure in Directories and Resource url settings you are using real-time paths rather hardcoded paths in all text fields on the form. eg [cms.root]uploads/temp/ and not using /home/myusername/mysite.org/wp-content/plugins/civicrm/
  
  Some organisation define this settings in civicrm.settings.php if thats the case in yours than you will need to update your civicrm.settings.php file.
  
  > **Note:** After doing the change make sure everything is working fine specially cron job and online signup/registration forms.
  
  HTH
  
  Pradeep
  
  > **Comments:**
  > **username_0**: Thanks for you reply! Regardless of how the variables are achieved (default or in a settings file), if they're simply listed with their current (real-time) values somewhere in the admin page where they're needed, fewer mistakes will be made, right?  Also, variables that are derived from a settings file could be noted as such.  
  > **username_1**: Yes, And it will be less pain to update these paths when site is moved or migrated to different path/server as [cms.root] etc will be derived from your apache and civicrm.settings file.  
  
  ---
  
  