Jump to content

Email Template Error


DiegoM

Recommended Posts

I'm trying to edit messages from "email template", but it gives me a error:

 

Email Template Update Failed

There was an error in the syntax used in your email template, either a missing curly backet or unclosed tag. Please go back and correct the error.

 

Even if I just open and click to save the same message, without any change.

 

How can I fix it?

Link to comment
Share on other sites

I'm having the same issue. This problem came up after I upgraded from 3.6.2 to 3.7.1. From what I can tell, the upgrade process automatically replaced the old merge fields to the new format.

 

But whenever I try to edit an email template, it goes back to the main email template listing and displays the following error:

 

Email Template Update Failed

There was an error in the syntax used in your email template, either a missing curly backet or unclosed tag. Please go back and correct the error.

Which is also followed by a empty pink textarea.

 

Even if I don't make any changes and save the email template I get this error. I even tried deleting all the content of the email template and still get the error.

 

When I upgraded, I uploaded all the 3.7.1 files unmodified.

Link to comment
Share on other sites

I also had the same issue. the only way to fix at my end is to edit my htacess file and comment out the https for my (custom) whmcs admin directory, modify the email templates & then reset htaccess.

 

Hoever, thats a pain in the @ss, so i hope a fix is incorporated in the next version.

Link to comment
Share on other sites

Yea I just comment out the HTTP authentication part in my htaccess file when I edit the email templates and put it back when I'm done.

 

Actually, I also use htaccess to restrict admin access to only my IP. I found this causes the same problem. To fix it, add the IP of your site/server and it should work.

Link to comment
Share on other sites

  • 3 weeks later...

I have the same problem and neither solution works. It worked just after I updated to 3.7.1 and applied the "custom admin" solution but today I noticed that it doesn't work again. I tried to completely rename my htaccess file and this did not help.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated