I was updating an email template and made a typo. Now I can't save the template because I get a 400 error "Bad Request your browser sent a request that the server does not understand"

This is the typo (forgot to close the message variable - there are also <hr> elements in the message):

Ažurirani Tiket:

%{poster.name} je upravo poslao poruku vezanu za tiket u kome učestvujete.

%{message

Dobili ste ovu poruku zato što sarađujete na tiketu #%{ticket.number}. Odgovorite na ovaj mejl ili kliknite ovde za kompletnu konverzaciju vezanu za ovaj tiket.

If I'm correct this means the response system wont work and could potentially break the site if the system tries to send this malformed mail.

Please help..

Note: I can't even click inside the message area because the browser is treating that area as an image and when I click it gives me the 400 error.

I'm guessing that I'll have to fix this via the database, but this isn't my area of expertise so any assistance would be appreciated.

Have you tried opening the site in a different browsers and going to that page to try editing it?

If that doesn't work then you would either have to re-import the templates or edit the entry in the database directly using your favorite 3rd party database editing software. (I use MySQL WorkBench from the folks at MySQL).

I modified the template with MySQL Workbench. All is well.

ntozier changed the title to [resolved] Email Template Broken.
Write a Reply...