CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Error when changing a message template
Pages: [1]

Author Topic: Error when changing a message template  (Read 481 times)

vidry

  • I’m new here
  • *
  • Posts: 20
  • Karma: 0
Error when changing a message template
December 10, 2010, 09:01:04 am
Hi

I would want to change4 the content of confirmation messages for events, so, I went to the templates management section and edited the one I wanted to change. But, when saving, I got the error :
Code: [Select]
There is a validation error with your HTML input. Your activity is a bit suspicious, hence aborting
I had the problem before in another section and, disabling TinyMCE, it worked. But, for that case, it didn't...

I tried to go to change the template in the DB and it seems to work. The record in the table "civicrm_msg_template" has my changes. But, when I edit the template from CiviCRM, it's like the changes were not taken...

Does anyone know how to fix the first error ? Or, at least, can tell me why the changes in the DB don't work ?

Thanks

vidry

  • I’m new here
  • *
  • Posts: 20
  • Karma: 0
Re: Error when changing a message template
December 10, 2010, 11:39:18 am
I was able to change the data from the DB (I didn't use the right DB before...). So, the message is changed in the admin. But, the email sent is still at the old version.
I deleted the cache files (sites/default, civicrm/templates_c/en_US), but, no change...

An idea ?
Thanks

Kiran Jagtap

  • Ask me questions
  • ****
  • Posts: 533
  • Karma: 51
Re: Error when changing a message template
December 11, 2010, 04:01:07 am
Hello vidry,

Ideally you should not update db directly.

you might want to integrate this patch : https://fisheye2.atlassian.com/changelog/CiviCRM?cs=25214
with your installation, now hopefully UI will allow you to change the data for respective message template.

It seems like you are using bit old CiviCRM version. ( 3.1.2 )

We have implemented many more features as well as lot more functionality enhancement from v3.1 onward,
to get all features, you might want to upgrade your installation to latest stable release ( CiviCRM v3.3.1 )   :)

kiran
You Are Designed To Choose... Defined By Choice.

vidry

  • I’m new here
  • *
  • Posts: 20
  • Karma: 0
Re: Error when changing a message template
December 13, 2010, 06:14:21 am
Thanks for the answer. I could finally change the template. I just didn't work on the right one...
And my CiviCRM version is 3.2.5 and the patch is there. But, I cannot save from the admin.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Error when changing a message template

This forum was archived on 2017-11-26.