Answers.Body: <p>It turns out the issue was being caused by the resource url for the extensions directory. The path was set correctly but the resource url had a typo. The extension directory was not the standard /ext. Once the resource url was corrected and the cache cleared all works fine.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-10-02T17:44:26.067Z
Answers.LastActivityDate: 2020-10-02T17:44:26.067Z
Answers.UserDisplayName: KilakwaBT
Body: <p>Just migrated a WordPress site to a new server. When we try to create, edit or adjust a template that uses Mosaico we cannot get the following (this is from the edit mosaico templates page and the console shows 404 errors.</p>
  <p><a href="https://i.sstatic.net/EWCjs.jpg" rel="nofollow noreferrer"><img src="https://i.sstatic.net/EWCjs.jpg" alt="template screen" /></a></p>
  <p><a href="https://i.sstatic.net/uBhvr.jpg" rel="nofollow noreferrer"><img src="https://i.sstatic.net/uBhvr.jpg" alt="Console 404 errors" /></a></p>
  <p>We have done the following:</p>
  <ul>
  <li>Checked both directories &amp; resource urls settings. We have also put hte full paths in these settings</li>
  <li>Cleared Cache</li>
  <li>Reinstalled Mosaico &amp; Flexmailer</li>
  <li>Upgraded CiviCRM from 5.28.2 to 5.28.4</li>
  </ul>
  <p>It seems Mosaico cannot load the requested</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-09-30T06:25:57.907Z
Comments.Text: Try deleting everything in the `templates_c` dir. Also, Mosaico hard-codes a lot of its paths/urls in the database. Calling the API3 `Job.mosaico_migrate` action may help (backup first). https://github.com/veda-consulting-company/uk.co.vedaconsulting.mosaico/blob/2.x/api/v3/Job/MosaicoMigrate.php
Comments.UserDisplayName: artfulrobot
Tags: <mosaico>
Title: Cannot create or edit emails or templates in Mosaico
ThreadText: # Cannot create or edit emails or templates in Mosaico
  
  (Asked by: username_0 on 2020-09-29)
  
  Just migrated a WordPress site to a new server. When we try to create, edit or adjust a template that uses Mosaico we cannot get the following (this is from the edit mosaico templates page and the console shows 404 errors.
  
  [![template screen](https://i.sstatic.net/EWCjs.jpg)](https://i.sstatic.net/EWCjs.jpg)
  
  [![Console 404 errors](https://i.sstatic.net/uBhvr.jpg)](https://i.sstatic.net/uBhvr.jpg)
  
  We have done the following:
  
  * Checked both directories & resource urls settings. We have also put hte full paths in these settings
  * Cleared Cache
  * Reinstalled Mosaico & Flexmailer
  * Upgraded CiviCRM from 5.28.2 to 5.28.4
  
  It seems Mosaico cannot load the requested
  
  **Tags:** mosaico
  
  > **Comments:**
  > **username_1**: Try deleting everything in the `templates_c` dir. Also, Mosaico hard-codes a lot of its paths/urls in the database. Calling the API3 `Job.mosaico_migrate` action may help (backup first). https://github.com/veda-consulting-company/uk.co.vedaconsulting.mosaico/blob/2.x/api/v3/Job/MosaicoMigrate.php  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2020-10-02. Score: 1
  
  It turns out the issue was being caused by the resource url for the extensions directory. The path was set correctly but the resource url had a typo. The extension directory was not the standard /ext. Once the resource url was corrected and the cache cleared all works fine.
  
  
  ---
  
  