# HTML Email Templates ALL Show up Blank in Editor/Builder

**URL:** <https://forum.mautic.org/t/html-email-templates-all-show-up-blank-in-editor-builder/16841>\
**Category:** Mautic 3 - Install/Upgrade Support\
**Tags:** mautic-3, development, community, discussion\
**Created:** [November 3, 2020, 4:37pm UTC](https://forum.mautic.org/t/html-email-templates-all-show-up-blank-in-editor-builder/16841 "2020-11-03T16:37:25Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![aaronesteban](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/aaronesteban/32/3550_2.png) [@aaronesteban](https://forum.mautic.org/u/aaronesteban)\
**Post date:** [November 3, 2020, 4:37pm UTC](https://forum.mautic.org/t/html-email-templates-all-show-up-blank-in-editor-builder/16841/1 "2020-11-03T16:37:25Z")

</div>

**Your software**  
_My PHP version is_ : v7.3  
_My MySQL/MariaDB version is_  
MariaDB version 10.3.25

**Updating/Installing Errors**

_Upgrading/installing via_ (delete as applicable) : Web / Command Line

OS: Linux Ubuntu 20.04  
Mautic Version: v3.1.2  
Method of Installation: command line/terminal

* * *

**Your problem**

The problem is that I try to select an HTML template for sending a test email to myself, and when trying to edit the template in the “Builder”, everything is blank. There is no template available to edit in the Builder/editor, even after clearly selecting a template (tried selecting multiple templates & still all blank).

Here’s what it’s looking like after trying to select an HTMl template to edit:

 ![Mautic-HTML-Template-Builder-Editor-Empty](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/8/8320a9060b57986e51320a6aa5592523b3c4ee4a.png)

It seems like I may be missing a package during installation, but not quite sure. Any ideas?

Any support is greatly appreciated.

---

<div class="post-metadata">

**Author:** ![aaronesteban](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/aaronesteban/32/3550_2.png) [@aaronesteban](https://forum.mautic.org/u/aaronesteban)\
**Post date:** [November 3, 2020, 5:30pm UTC](https://forum.mautic.org/t/html-email-templates-all-show-up-blank-in-editor-builder/16841/2 "2020-11-03T17:30:12Z")

</div>

UPDATE:  
So, I managed to get the HTML working again by using the following commands:

`chown -R www-data:www-data /var/www/html`  
`chmod -R 775 /var/www/html`

BUT, now the images do not show up.

 ![Mautic-No-Images-in-Builder-2](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/3/3d5ca1b0633398aed1bd644bc2be94c0e58fe66f.png)

After looking in the Google Chrome “Developer tools”, I can see a bunch of “404 error” messages in the console. Here’s what the error messages look like:

 ![Email-Templates-Images-404-email-preview](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/4/4601f403c679e73d21f37e33622270d280dec939.png)

It seems to be some error with the redirect. Even the HTML “email preview” page is completely blank after clicking on the “preview” button. HTML not blank in the 'Builder" (editor),but the whole template HTML & images are completely blank.

---

<div class="post-metadata">

**Author:** ![codes9](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/codes9/32/682_2.png) [@codes9](https://forum.mautic.org/u/codes9)\
**Post date:** [November 3, 2020, 6:20pm UTC](https://forum.mautic.org/t/html-email-templates-all-show-up-blank-in-editor-builder/16841/3 "2020-11-03T18:20:44Z")

</div>

You can try clearing cache.

Also have a look at the Mautic log for clues about what is going on. It’s at _/var/www/html/var/logs/_

> **[Troubleshooting](https://docs.mautic.org/en/troubleshooting)**
>
> . Follow these steps to solve your issue as fast as possible.My Mautic is acting weird. Even through the effort of the dev and test teams, it might happen. At first, let's try a few tricks which might fix it fast.1. Clear the cache. There are several...

---

<div class="post-metadata">

**Author:** ![aaronesteban](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/aaronesteban/32/3550_2.png) [@aaronesteban](https://forum.mautic.org/u/aaronesteban)\
**Post date:** [November 4, 2020, 5:12pm UTC](https://forum.mautic.org/t/html-email-templates-all-show-up-blank-in-editor-builder/16841/4 "2020-11-04T17:12:21Z")

</div>

Thank you for your response. Yeah, I’ve already tried clearing the cache and actually already have a cron job doing some cleanup. Logs aren’t showing anything either, only the browser is showing the 404 errors.

BTW, I am using NGINX and I’m wondering if it has anything to do with the server block.

Also, I know that it has something to do with connecting to the ‘/var/www/mautic/themes’ folder. The images in this folder are the ones that do not show up, only the html & css.

Any other ideas of what I need to do to fix this? Like I said, I think it could be NGINX not properly configured to process the redirects for the images, just not 100% sure how to fix it to get the images to load. Thanks again.

---

<div class="post-metadata">

**Author:** ![codes9](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/codes9/32/682_2.png) [@codes9](https://forum.mautic.org/u/codes9)\
**Post date:** [November 4, 2020, 5:58pm UTC](https://forum.mautic.org/t/html-email-templates-all-show-up-blank-in-editor-builder/16841/5 "2020-11-04T17:58:22Z")

</div>

One other thing you could try is to re-insert the images. I moved the domain name of one of our Mautic instances recently and the Images Break when you do this. Inserting them again in the email solved this form me. In that case the wrong links where in the email itself and caused errors on my emails

If that does not solve your problem I think you’ll do well to check your Ngnix config.  
Try the Ngnix Forums and check back here once you’re happy that end works as expected.

---

<div class="post-metadata">

**Author:** ![aaronesteban](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/aaronesteban/32/3550_2.png) [@aaronesteban](https://forum.mautic.org/u/aaronesteban)\
**Post date:** [November 4, 2020, 7:27pm UTC](https://forum.mautic.org/t/html-email-templates-all-show-up-blank-in-editor-builder/16841/6 "2020-11-04T19:27:18Z")

</div>

Thanks Codes9! Yeah, images worked after uploading my own. This is actually more of a workaround instead of a direct fix. I don’t know if this is a bug in Mautic or something misconfigured in nginx. Anyhow, I’ve decided to mark this as the solution because it still solves the problem of not having broken images, but it would still be nice to not have this problem straight out of the box after installation. Thanks again though.

---

<div class="post-metadata">

**Author:** ![piousbox](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/piousbox/32/9783_2.png) [@piousbox](https://forum.mautic.org/u/piousbox)\
**Post date:** [May 11, 2023, 5:42pm UTC](https://forum.mautic.org/t/html-email-templates-all-show-up-blank-in-editor-builder/16841/7 "2023-05-11T17:42:44Z")

</div>

I had the same issue, only on a second installation identital to the first. Re-installing (with the same exact steps) fixed the issue.
