Answers.Body: <p>I had similar issues with my Joomla site. If you already have Civigrant installed it must be enabled or completely uninstalled. Weird, I know, but it is true. Something conflicts. If Civigrant is already installed but disabled and not needed it is best to uninstall it completely or it can still cause issues. My guess it has something to do with the code, since it once was part of core and is now an extension. Then you will want to disable Mosaico, Search Kit, and Form Core (I believe that is the full list.) Then, you will want to enable them 1 at a time. Search kit, form core, then Mosaico. Clear cache and test. See if that helps you too. If just disabling and enabling in that order doesn't work, try uninstalling the extensions and reinstalling in that order.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-01-27T16:05:35.570Z
Answers.LastActivityDate: 2023-01-27T16:05:35.570Z
Answers.UserDisplayName: Lester
Body: <p>I've got a CiviCRM v 5.57.0 site running on WordPress v6.1.1 and I have the following symptoms on an otherwise healthy site:</p>
  <ul>
  <li>FormBuilder isn't working, I can only see tokens on the UI</li>
  <li>I can't view Mosaico Templates - once I've created one, I can select it when creating a new mailing so I know it is saved, but when I go to the page to view the Templates (which uses FormBuilder), there are none displayed</li>
  <li>When trying to create a 'traditional' mailing, I can't upload an image and the error message says &quot;Cannot write to upload folder.&quot; but the permissions for civicrm/persist/contribute/images/uploads folder is 775</li>
  <li>Possibly related, I have also attempted to install Mosaico Message Templates but it doesn't install and I don't get any error messages</li>
  </ul>
  <p>This is what I see when I try to view the FormBuilder UI:
  <a href="https://i.sstatic.net/jCVKE.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/jCVKE.png" alt="broken FormBuilder UI" /></a></p>
  <p>I'm also getting lots of error messages in the browser console like
  <code>Uncaught Error: Can only have one anonymous define call per script file</code>
  and
  <code>Uncaught TypeError: n is undefined</code></p>
  <p>I'm really not sure where to look so any help would be very appreciated!</p>
  
Tags: <mosaico><message-templates><formbuilder>
Title: FormBuilder and Mosaico installation problems
ThreadText: # FormBuilder and Mosaico installation problems
  
  (Asked by: username_0 on 2023-01-18)
  
  I've got a CiviCRM v 5.57.0 site running on WordPress v6.1.1 and I have the following symptoms on an otherwise healthy site:
  
  * FormBuilder isn't working, I can only see tokens on the UI
  * I can't view Mosaico Templates - once I've created one, I can select it when creating a new mailing so I know it is saved, but when I go to the page to view the Templates (which uses FormBuilder), there are none displayed
  * When trying to create a 'traditional' mailing, I can't upload an image and the error message says "Cannot write to upload folder." but the permissions for civicrm/persist/contribute/images/uploads folder is 775
  * Possibly related, I have also attempted to install Mosaico Message Templates but it doesn't install and I don't get any error messages
  
  This is what I see when I try to view the FormBuilder UI:
  [![broken FormBuilder UI](https://i.sstatic.net/jCVKE.png)](https://i.sstatic.net/jCVKE.png)
  
  I'm also getting lots of error messages in the browser console like
  `Uncaught Error: Can only have one anonymous define call per script file`
  and
  `Uncaught TypeError: n is undefined`
  
  I'm really not sure where to look so any help would be very appreciated!
  
  **Tags:** mosaico, message-templates, formbuilder
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2023-01-27. Score: 1
  
  I had similar issues with my Joomla site. If you already have Civigrant installed it must be enabled or completely uninstalled. Weird, I know, but it is true. Something conflicts. If Civigrant is already installed but disabled and not needed it is best to uninstall it completely or it can still cause issues. My guess it has something to do with the code, since it once was part of core and is now an extension. Then you will want to disable Mosaico, Search Kit, and Form Core (I believe that is the full list.) Then, you will want to enable them 1 at a time. Search kit, form core, then Mosaico. Clear cache and test. See if that helps you too. If just disabling and enabling in that order doesn't work, try uninstalling the extensions and reinstalling in that order.
  
  
  ---
  
  