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) »
  • Validation error when saving an HTML message Template in FCK editor
Pages: [1]

Author Topic: Validation error when saving an HTML message Template in FCK editor  (Read 2295 times)

ctarascio

  • I post frequently
  • ***
  • Posts: 334
  • Karma: 30
    • American Friends Service Committee
  • CiviCRM version: 4.1.3
  • CMS version: Drupal 6.26
  • MySQL version: 5.5.20
  • PHP version: 5.3.13
Validation error when saving an HTML message Template in FCK editor
July 14, 2009, 07:45:47 am
Hi,
I realize there are several other posts about this topic, but it is unclear to me whether or not it has been fixed.

Using the FCK editor, I receive the following error message when I try to save an HTML message template that was copied and pasted from a file in Notepad:
"Sorry a non-recoverable error has occurred. There is a validation error with your html input. Your activity is a bit suspicious, hence aborting".

I get this error both in Firefox and in IE and I am able to replicate it on the demo site.

I did try deleting the config.ids.ini file but that did not help. I also tried deleting the non-english text from the message body but that did not help either.

I've attached a copy of the file from which I copied the HTML text and would appreciate any guidance/help.

Thanks,
Cynthia


ctarascio

  • I post frequently
  • ***
  • Posts: 334
  • Karma: 30
    • American Friends Service Committee
  • CiviCRM version: 4.1.3
  • CMS version: Drupal 6.26
  • MySQL version: 5.5.20
  • PHP version: 5.3.13
Re: Validation error when saving an HTML message Template in FCK editor
July 15, 2009, 06:17:40 am
Hi,
I turned debugging and backtrace on so I have more detail about the error. When I try to save the template file, this is the message I receive:

backTrace

/usr/local/lib/civicrm/2.2.5.starcafecrm/CRM/Core/Error.php, backtrace, 258
/usr/local/lib/civicrm/2.2.5.starcafecrm/CRM/Core/IDS.php, fatal, 222
/usr/local/lib/civicrm/2.2.5.starcafecrm/CRM/Core/IDS.php, kick, 156
/usr/local/lib/civicrm/2.2.5.starcafecrm/CRM/Core/IDS.php, react, 135
/usr/local/lib/civicrm/2.2.5.starcafecrm/CRM/Core/Invoke.php, check, 74
/usr/local/lib/civicrm/2.2.5.starcafecrm/drupal/civicrm.module, invoke, 342
, civicrm_invoke,
/var/www/html/starcafecrm/includes/menu.inc, call_user_func_array, 348
/var/www/html/starcafecrm/index.php, menu_execute_active_handler, 18

I don't know how to interpret the above so any help will be appreciated.

Thanks,
Cynthia

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Validation error when saving an HTML message Template in FCK editor
July 15, 2009, 07:26:33 am

hey cynthia:

do u get the same error on the demo server if u have the same editor enabled?

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

ctarascio

  • I post frequently
  • ***
  • Posts: 334
  • Karma: 30
    • American Friends Service Committee
  • CiviCRM version: 4.1.3
  • CMS version: Drupal 6.26
  • MySQL version: 5.5.20
  • PHP version: 5.3.13
Re: Validation error when saving an HTML message Template in FCK editor
July 15, 2009, 07:45:11 am
hi lobo,
thanks for replying :)

Using the FCK editor and the same template file I attached to my initial post, here is the error that I get on the demo:

backTrace

/var/www/drupal-6.civicrm.org/public/sites/drupal.demo.civicrm.org/modules/civicrm/CRM/Core/Error.php, backtrace, 258
/var/www/drupal-6.civicrm.org/public/sites/drupal.demo.civicrm.org/modules/civicrm/CRM/Core/IDS.php, fatal, 222
/var/www/drupal-6.civicrm.org/public/sites/drupal.demo.civicrm.org/modules/civicrm/CRM/Core/IDS.php, kick, 156
/var/www/drupal-6.civicrm.org/public/sites/drupal.demo.civicrm.org/modules/civicrm/CRM/Core/IDS.php, react, 135
/var/www/drupal-6.civicrm.org/public/sites/drupal.demo.civicrm.org/modules/civicrm/CRM/Core/Invoke.php, check, 74
/var/www/drupal-6.civicrm.org/public/sites/drupal.demo.civicrm.org/modules/civicrm/drupal/civicrm.module, invoke, 342
, civicrm_invoke,
/var/www/drupal-6.civicrm.org/public/includes/menu.inc, call_user_func_array, 348
/var/www/drupal-6.civicrm.org/public/index.php, menu_execute_active_handler, 18

Thanks for your help,
Cynthia

ctarascio

  • I post frequently
  • ***
  • Posts: 334
  • Karma: 30
    • American Friends Service Committee
  • CiviCRM version: 4.1.3
  • CMS version: Drupal 6.26
  • MySQL version: 5.5.20
  • PHP version: 5.3.13
Re: Validation error when saving an HTML message Template in FCK editor
July 15, 2009, 08:31:52 am
At the request of lobo, I posted this as an issue. You can find it here: http://issues.civicrm.org/jira/browse/CRM-4747.

Fix to follow shortly.

Thanks lobo,
Cynthia

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Validation error when saving an HTML message Template in FCK editor
July 15, 2009, 08:37:54 am

this issue is now fixed :)

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Validation error when saving an HTML message Template in FCK editor

This forum was archived on 2017-11-26.