Answers.Body: <p>For anyone else who might have this same snafu, this was what happened:</p>
  <ol>
  <li><p>Asset caching had been enabled in <strong>Debugging and Error Handling</strong>  I usually set this as disabled, but we have been working on website speed for a while, so I enabled it.  For two weeks, I had no problem with it.</p>
  </li>
  <li><p>BUT the uploaded image files resource url which is usually [civicrm.files]/persist/contribute/dyn  is set to go somewhere outside of civi.</p>
  </li>
  </ol>
  <p>With the asset caching set, it was looking for js and css files in [civicrm.files]/persist/contribute/dyn, which is where it would store those for caching.  This meant NO menu as the crm-menu related things would be stored there.  I have no idea why I didn't have this problem sooner.</p>
  <p>However, there was also a little piece of javascript in a formatting field in the profile I was using for this event, which caused the screens and errors above.</p>
  <p>So, two unrelated errors, I think.  An extra two hours troubleshooting.  And, as always with me, it was a PICNIC error (Problem in chair, not in computer). Hopefully, my late night troubleshooting will help someone else.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-01-31T14:41:05.053Z
Answers.LastActivityDate: 2023-01-31T14:41:05.053Z
Answers.UserDisplayName: BubbaWanders
Body: <p>This evening, I was working on adding a few custom fields to a profile we're using for an event.  Finished up, tested, all was well.  I went to take my test registration off the event and check that the right staff were copied on the notification and instead, I'm getting screens that look like this:
  <a href="https://i.sstatic.net/TXRjc.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/TXRjc.png" alt="enter image description here" /></a></p>
  <p>Errors look like this:</p>
  <p><a href="https://i.sstatic.net/dVqke.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/dVqke.png" alt="enter image description here" /></a></p>
  <p>Any suggestions?  I have torn out most of my hair now.  I'm also a javascript idiot, so be gentle.</p>
  
Tags: <civievent><javascript>
Title: Event config page suddenly not working
ThreadText: # Event config page suddenly not working
  
  (Asked by: username_0 on 2023-01-31)
  
  This evening, I was working on adding a few custom fields to a profile we're using for an event. Finished up, tested, all was well. I went to take my test registration off the event and check that the right staff were copied on the notification and instead, I'm getting screens that look like this:
  [![enter image description here](https://i.sstatic.net/TXRjc.png)](https://i.sstatic.net/TXRjc.png)
  
  Errors look like this:
  
  [![enter image description here](https://i.sstatic.net/dVqke.png)](https://i.sstatic.net/dVqke.png)
  
  Any suggestions? I have torn out most of my hair now. I'm also a javascript idiot, so be gentle.
  
  **Tags:** civievent, javascript
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2023-01-31. Score: 2
  
  For anyone else who might have this same snafu, this was what happened:
  
  1. Asset caching had been enabled in **Debugging and Error Handling** I usually set this as disabled, but we have been working on website speed for a while, so I enabled it. For two weeks, I had no problem with it.
  2. BUT the uploaded image files resource url which is usually [civicrm.files]/persist/contribute/dyn is set to go somewhere outside of civi.
  
  With the asset caching set, it was looking for js and css files in [civicrm.files]/persist/contribute/dyn, which is where it would store those for caching. This meant NO menu as the crm-menu related things would be stored there. I have no idea why I didn't have this problem sooner.
  
  However, there was also a little piece of javascript in a formatting field in the profile I was using for this event, which caused the screens and errors above.
  
  So, two unrelated errors, I think. An extra two hours troubleshooting. And, as always with me, it was a PICNIC error (Problem in chair, not in computer). Hopefully, my late night troubleshooting will help someone else.
  
  
  ---
  
  