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 »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • CiviMail breaks after 4.1 upgrade on Drupal.
Pages: [1]

Author Topic: CiviMail breaks after 4.1 upgrade on Drupal.  (Read 1307 times)

majortom

  • I post occasionally
  • **
  • Posts: 50
  • Karma: 0
CiviMail breaks after 4.1 upgrade on Drupal.
February 20, 2012, 09:14:15 am
After upgrading to CiviCRM 4.1 from 4.0.8 (an installation that goes back as far as 1.3 or 1.4), CiviMail seems to be having problems.

Trying to schedule a message that was previously in Draft and Unscheduled Mailings (making no changes) to it now generates this error:

Code: [Select]
There is a validation error with your HTML input. Your activity is a bit suspicious, hence aborting
I have seen some references to IDS setting on the forum, but I cannot find an IDS entry in civicrm.settings.php, nor a ConfigAndLog directory. I also cannot find any log or other messages letting me know what is actually failing.

ken

  • I live on this forum
  • *****
  • Posts: 916
  • Karma: 53
    • City Bible Forum
  • CiviCRM version: 4.6.3
  • CMS version: Drupal 7.36
  • MySQL version: 5.5.41
  • PHP version: 5.3.10
Re: CiviMail breaks after 4.1 upgrade on Drupal.
February 20, 2012, 06:20:07 pm
Tom (or should I call you Major?),

Try doing ...

cd DRUPAL_ROOT
diff -u sites/default/civicrm.settings.php sites/all/modules/civicrm/templates/CRM/common/civicrm.settings.php.tpl | more

(your locations might vary.)

That will show you the differences between your settings file and the one that would be created if you did a fresh install.

Some of the differences will be local configuration settings and other benign stuff.

In addition, if you haven't been modifying civicrm.settings.php on each upgrade (and only a 'neat freak' would do that, right?  ;-) ), there'll be a number of new settings that are needed. perhaps applying those differences will ease your pain?

Ken

Dave Melkman

  • I’m new here
  • *
  • Posts: 13
  • Karma: 1
  • CiviCRM version: CiviCRM 4.0.5
  • CMS version: Drupal 7
  • MySQL version: 5.5.14
  • PHP version: 5.3.6
Re: CiviMail breaks after 4.1 upgrade on Drupal.
June 13, 2012, 03:47:14 am
Hi Tom,
Just wondering if this fixed your problem. 
We've recently had the same issue after upgrading from 4.0.5 to 4.12 and it happens when we have tokens in the email.
Having compared the civicrm.settings.php files there doesn't seem to be much difference.

For now I've increased the 'kick' threshold in civicrm/CRM/Core/IDS.php but it's not the ideal solution.

Thanks

emilyf

  • Ask me questions
  • ****
  • Posts: 696
  • Karma: 54
  • CiviCRM version: 2.x - 4.x
  • CMS version: Drupal 5, 6, 7
Re: CiviMail breaks after 4.1 upgrade on Drupal.
August 29, 2013, 08:59:08 am
Were either of you able to resolve this problem? I am having the same issue after an upgrade moving from Civi 4.2 on Drupal 6 to Civi 4.2 on Drupal 7 and cannot get this to work.

emilyf

  • Ask me questions
  • ****
  • Posts: 696
  • Karma: 54
  • CiviCRM version: 2.x - 4.x
  • CMS version: Drupal 5, 6, 7
Re: CiviMail breaks after 4.1 upgrade on Drupal.
August 29, 2013, 09:06:27 am
Ah - there is a way to disable IDS check in civicrm.settings.php in 4.2. Set this to 0 and I'm now good to go.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • CiviMail breaks after 4.1 upgrade on Drupal.

This forum was archived on 2017-11-26.