Answers.Body: <p>That first error, "SyntaxError: expected expression, got "&lt;" suggests that something in WordPress - a poorly behaving theme or plugin - is injecting text on every page load.  That'll screw up CiviCRM.</p>
  
  <p>I would troubleshoot this by switching to one of the core themes (e.g. twentyseventeen) and disabling plugins (ideally on a test site if this site is already live).  Assuming the problem goes away, you can turn things back on to identify the bad actor.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-12-14T12:18:43.280Z
Answers.Text: Exactly, such as a footer code, for example.
Answers.UserDisplayName: Christia
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-12-14T04:21:11.770Z
Answers.LastActivityDate: 2018-12-14T04:21:11.770Z
Answers.UserDisplayName: Jon G - Megaphone Tech
Answers.Body: <p>Check your Directories and Resource URLs - both under Administer > System Settings</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-12-14T04:28:14.120Z
Answers.Text: What exactly am I looking for here?
Answers.UserDisplayName: Ryan Neudorf
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-12-14T05:14:34.830Z
Answers.Text: you want to check you have got all the paths set up correctly
Answers.UserDisplayName: petednz - fuzion
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-12-14T12:19:38.280Z
Answers.Text: Feel free to post a screenshot of your paths and the URL of your installation so we others can see if they look correct if you are unsure. A lot of times I'll just reset them to whatever the system things they should be and then make sure that the file paths have correct chmod and chown, etc.
Answers.UserDisplayName: Christia
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-12-14T04:10:54.823Z
Answers.LastActivityDate: 2018-12-14T04:10:54.823Z
Answers.UserDisplayName: petednz - fuzion
Body: <p>I'm new to civicrm so I'm not totally sure if I'm using all the right language here. </p>
  
  <hr>
  
  <p>Something seems to be messed up with the way civiCRM is resolving system paths. Causing jQuery to fail in resolving its own path and/or paths to some of the assets. </p>
  
  <p>This problem is manifesting itself as a javascript error which causes various front-end features to break.</p>
  
  <p><a href="https://i.sstatic.net/hCHuX.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/hCHuX.png" alt="enter image description here"></a></p>
  
  <ul>
  <li>I have attempted running the tools at: Admin > System Settings > Cleanup Caches and Update Paths. <strong>No effect.</strong> </li>
  <li>I've looked at <code>/wp-content/uploads/civcrm/civcrm.settings.php</code> the paths look correct.</li>
  <li><code>/wp-content/uploads/civicrm/templates_c/</code> is getting new files written, so I don't believe there is a permissions issue.</li>
  </ul>
  
  <p>Any ideas? </p>
  
Tags: <jquery>
Title: Having Trouble With Paths
ThreadText: # Having Trouble With Paths
  
  (Asked by: username_0 on 2018-12-14)
  
  I'm new to civicrm so I'm not totally sure if I'm using all the right language here.
  
  ---
  
  Something seems to be messed up with the way civiCRM is resolving system paths. Causing jQuery to fail in resolving its own path and/or paths to some of the assets.
  
  This problem is manifesting itself as a javascript error which causes various front-end features to break.
  
  [![enter image description here](https://i.sstatic.net/hCHuX.png)](https://i.sstatic.net/hCHuX.png)
  
  * I have attempted running the tools at: Admin > System Settings > Cleanup Caches and Update Paths. **No effect.**
  * I've looked at `/wp-content/uploads/civcrm/civcrm.settings.php` the paths look correct.
  * `/wp-content/uploads/civicrm/templates_c/` is getting new files written, so I don't believe there is a permissions issue.
  
  Any ideas?
  
  **Tags:** jquery
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_1 on 2018-12-14. Score: 3
  
  That first error, "SyntaxError: expected expression, got "<" suggests that something in WordPress - a poorly behaving theme or plugin - is injecting text on every page load. That'll screw up CiviCRM.
  
  I would troubleshoot this by switching to one of the core themes (e.g. twentyseventeen) and disabling plugins (ideally on a test site if this site is already live). Assuming the problem goes away, you can turn things back on to identify the bad actor.
  
  > **Comments:**
  > **username_2**: Exactly, such as a footer code, for example.  
  
  ---
  
  ### Answer by username_3 on 2018-12-14. Score: 0
  
  Check your Directories and Resource URLs - both under Administer > System Settings
  
  > **Comments:**
  > **username_0**: What exactly am I looking for here?  
  > **username_3**: you want to check you have got all the paths set up correctly  
  > **username_2**: Feel free to post a screenshot of your paths and the URL of your installation so we others can see if they look correct if you are unsure. A lot of times I'll just reset them to whatever the system things they should be and then make sure that the file paths have correct chmod and chown, etc.  
  
  ---
  
  