Answers.Body: <p>Nothing else I could find worked so I totally removed and reinstalled Mosaico and can now use Versafix-1 to create and use new templates.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-03-02T21:21:10.657Z
Answers.LastActivityDate: 2023-03-02T21:21:10.657Z
Answers.UserDisplayName: kathc
Answers.Body: <p>Check you extension url in Resource URL settings(CiviCRM &gt;&gt; System Settings &gt;&gt; Resource url)</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-02-22T16:19:41.943Z
Answers.Text: It's set to [civicrm.files]/ext/. [civicrm_files] is correctly as https://secure.srigeneva.org/sites/default/files/civicrm
Answers.UserDisplayName: kathc
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-02-22T16:50:41.533Z
Answers.Text: Now that I'm looking for it, all of my CiviCRM pages are showing up with /en/ (I can take it out and they still appear, but clicking on any link goes to /en/civicrm/...
Answers.UserDisplayName: kathc
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-02-22T17:06:41.893Z
Answers.Text: I found another question that seems to have a similar problem so I'll try that solution. https://civicrm.stackexchange.com/a/38177/3596
Answers.UserDisplayName: kathc
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-03-02T21:19:45.423Z
Answers.Text: That didn't work, so I went back and removed and reinstalled Mosaico and it's working now (all of our recent new templates are still grey screen but we can make new ones. Hopefully this doesn't happen often because we've made a lot of templates to do system messages so it's a lot of wasted work every time.
Answers.UserDisplayName: kathc
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-04-09T19:03:17.437Z
Answers.Text: The new templates had the same issue shortly after posting above. I went back to Mosaico 2.9 and it's working again.
Answers.UserDisplayName: kathc
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-05-23T16:03:51.557Z
Answers.Text: Same here in civi 5.61.3
  
  I replicate a production site on a sandbox domain. I then use the extension "Mosaico Extension Directory Changes" to update all the Mosaico paths from production URL to sandbox URL. 
  
  I then go to Mailings->Mosaico Templates and I see the list of all my custom templates. In Mosaico 2.9 I can view all my templates, edit them, etc (and same with draft mailings).
  
  I then update to Mosaico 2.12 and when I return to edit templates/draft newsletters, editor page opens with just a gray background and nothing else.
  
  Only solution is to not update to 2.12
Answers.UserDisplayName: A. Block
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-02-22T15:38:07.200Z
Answers.LastActivityDate: 2023-02-22T15:38:07.200Z
Answers.UserDisplayName: Pradeep Nayak
Body: <p>After Drupal (9.5.3) and CiviCRM (5.58.1) updates last week, all versafix-based templates are just displaying a blank screen. I had also updated Mosaico to the latest, but reverting to the version in use last week hasn't helped.</p>
  <p>The problem is that something is adding /en/ to the template path, but the files are in the folder without a language id.</p>
  <p>The Drupal site is multilingual (to allow for webforms in different languages) but CiviCRM is not.</p>
  <p>(GET <a href="https://secure.srigeneva.org/**en**/sites/default/files/civicrm/ext/uk.co.vedaconsulting.mosaico/packages/mosaico/templates/versafix-1/template-versafix-1.html" rel="nofollow noreferrer">https://secure.srigeneva.org/**en**/sites/default/files/civicrm/ext/uk.co.vedaconsulting.mosaico/packages/mosaico/templates/versafix-1/template-versafix-1.html</a> 404).</p>
  <p>The file is where it says it should be, permissions 644.</p>
  <p><a href="https://secure.srigeneva.org/sites/default/files/civicrm/ext/uk.co.vedaconsulting.mosaico/packages/mosaico/templates/versafix-1/template-versafix-1.html" rel="nofollow noreferrer">https://secure.srigeneva.org/sites/default/files/civicrm/ext/uk.co.vedaconsulting.mosaico/packages/mosaico/templates/versafix-1/template-versafix-1.html</a></p>
  <p>I can create new versafix templates, but not use them.</p>
  <p>What works for today is to copy messages that worked last week and replace the contents, but several templates were created last week and not used so we can't pull them up.</p>
  <p>Does anyone know how that /en is getting put into the path to the template?</p>
  <p>Kathryn</p>
  
Tags: <drupal><mosaico>
Title: Problem with path to Mosaico versafix template
ThreadText: # Problem with path to Mosaico versafix template
  
  (Asked by: username_0 on 2023-02-21)
  
  After Drupal (9.5.3) and CiviCRM (5.58.1) updates last week, all versafix-based templates are just displaying a blank screen. I had also updated Mosaico to the latest, but reverting to the version in use last week hasn't helped.
  
  The problem is that something is adding /en/ to the template path, but the files are in the folder without a language id.
  
  The Drupal site is multilingual (to allow for webforms in different languages) but CiviCRM is not.
  
  (GET [https://secure.srigeneva.org/\*\*en\*\*/sites/default/files/civicrm/ext/uk.co.vedaconsulting.mosaico/packages/mosaico/templates/versafix-1/template-versafix-1.html](https://secure.srigeneva.org/**en**/sites/default/files/civicrm/ext/uk.co.vedaconsulting.mosaico/packages/mosaico/templates/versafix-1/template-versafix-1.html) 404).
  
  The file is where it says it should be, permissions 644.
  
  <https://secure.srigeneva.org/sites/default/files/civicrm/ext/uk.co.vedaconsulting.mosaico/packages/mosaico/templates/versafix-1/template-versafix-1.html>
  
  I can create new versafix templates, but not use them.
  
  What works for today is to copy messages that worked last week and replace the contents, but several templates were created last week and not used so we can't pull them up.
  
  Does anyone know how that /en is getting put into the path to the template?
  
  Kathryn
  
  **Tags:** drupal, mosaico
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_0 on 2023-03-02. Score: 2
  
  Nothing else I could find worked so I totally removed and reinstalled Mosaico and can now use Versafix-1 to create and use new templates.
  
  
  ---
  
  ### Answer by username_1 on 2023-02-22. Score: 0
  
  Check you extension url in Resource URL settings(CiviCRM >> System Settings >> Resource url)
  
  > **Comments:**
  > **username_0**: It's set to [civicrm.files]/ext/. [civicrm_files] is correctly as https://secure.srigeneva.org/sites/default/files/civicrm  
  > **username_0**: Now that I'm looking for it, all of my CiviCRM pages are showing up with /en/ (I can take it out and they still appear, but clicking on any link goes to /en/civicrm/...  
  > **username_0**: I found another question that seems to have a similar problem so I'll try that solution. https://civicrm.stackexchange.com/a/38177/3596  
  > **username_0**: That didn't work, so I went back and removed and reinstalled Mosaico and it's working now (all of our recent new templates are still grey screen but we can make new ones. Hopefully this doesn't happen often because we've made a lot of templates to do system messages so it's a lot of wasted work every time.  
  > **username_0**: The new templates had the same issue shortly after posting above. I went back to Mosaico 2.9 and it's working again.  
  > **username_2**: Same here in civi 5.61.3  I replicate a production site on a sandbox domain. I then use the extension "Mosaico Extension Directory Changes" to update all the Mosaico paths from production URL to sandbox URL.   I then go to Mailings->Mosaico Templates and I see the list of all my custom templates. In Mosaico 2.9 I can view all my templates, edit them, etc (and same with draft mailings).  I then update to Mosaico 2.12 and when I return to edit templates/draft newsletters, editor page opens with just a gray background and nothing else.  Only solution is to not update to 2.12  
  
  ---
  
  