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) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • 2.1 Release Testing »
  • Error while creating CiviMail header
Pages: [1]

Author Topic: Error while creating CiviMail header  (Read 8728 times)

Neil Adair

  • I post occasionally
  • **
  • Posts: 78
  • Karma: 4
  • CiviCRM version: 4.5.8
  • CMS version: Drupal 7
  • MySQL version: MariaDB 10
  • PHP version: 5.5 FPM
Error while creating CiviMail header
September 11, 2008, 12:19:33 pm
Drupal 6.4, CiviCRM 2.1 beta4

Sorry. A non-recoverable error has occurred.

Your activity is a bit suspicious, hence aborting

Return to home page.

 ???

I get this when I paste in the same messages (with name changes) I've used successfully on a number of CiviMail installs.

Will investigate other components and the message to try to narrow it down.

Neil

Neil Adair

  • I post occasionally
  • **
  • Posts: 78
  • Karma: 4
  • CiviCRM version: 4.5.8
  • CMS version: Drupal 7
  • MySQL version: MariaDB 10
  • PHP version: 5.5 FPM
Re: Error while creating CiviMail header
September 11, 2008, 01:47:31 pm
This seems to be a result of more stringent constraints on html rather than a bug

Neil

Brainwrap

  • Guest
Re: Error while creating CiviMail header
September 17, 2008, 10:48:26 am
I keep getting the same error message ("suspicious activity"). I've successfully sent out several mailings, but now it keeps giving me that error every time I try to get past Step 3 (it'll let me compose the message, but I can't get to the Test Mailing page).

This happened under 2.1 Beta 3 and is still happening under 2.1 Beta 4.

Neil Adair

  • I post occasionally
  • **
  • Posts: 78
  • Karma: 4
  • CiviCRM version: 4.5.8
  • CMS version: Drupal 7
  • MySQL version: MariaDB 10
  • PHP version: 5.5 FPM
Re: Error while creating CiviMail header
September 17, 2008, 11:00:37 am
I found that if I stripped down the html to a minimum CiviMail would accept it. Not a bad idea anyway if you don't want emails to end up in spam folders.

Neil

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: Error while creating CiviMail header
September 17, 2008, 02:00:03 pm

we've added intrusion detection code in the 2.1 version of CiviCRM (www.php-ids.org). For html elements it uses htmlpurifier and returns back a score. For sufficiently high scores we abort the operation

You can tweak the levels at: CRM/Core/IDS.php

at some point, we'll make those levels configurable and log all attempts in the DB that generated some warning (we currently log them in CiviCRM.log)

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

Brainwrap

  • Guest
Re: Error while creating CiviMail header
September 17, 2008, 02:28:23 pm
Quote from: Donald Lobo on September 17, 2008, 02:00:03 pm

we've added intrusion detection code in the 2.1 version of CiviCRM (www.php-ids.org). For html elements it uses htmlpurifier and returns back a score. For sufficiently high scores we abort the operation

You can tweak the levels at: CRM/Core/IDS.php

at some point, we'll make those levels configurable and log all attempts in the DB that generated some warning (we currently log them in CiviCRM.log)

Ah-hah! That seems to have done the trick; I bumped it from 50 to 100 and it worked this time. Thanks!

However, the settings seem to be way off--the HTML message I was sending was basically just a couple of paragraphs of text, one email link and one URL link, with a couple of bold-faced lines. Hardly the sort of code which should have been setting anything off...

petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Re: Error while creating CiviMail header
December 17, 2008, 04:26:31 pm
Oddly I had this problem saving due to having (in Text field) a phone number formatted as
Phone: +64 (4) 801 XXXX


When I changed to
Phone: +64 4 801 5812

So maybe avoid brackets?
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • 2.1 Release Testing »
  • Error while creating CiviMail header

This forum was archived on 2017-11-26.