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 Profiles (Moderator: Dave Greenberg) »
  • Sorry. A non-recoverable error has occurred.
Pages: [1]

Author Topic: Sorry. A non-recoverable error has occurred.  (Read 1294 times)

janus

  • I’m new here
  • *
  • Posts: 16
  • Karma: 0
Sorry. A non-recoverable error has occurred.
January 18, 2011, 12:31:52 pm
Hi everybody,

Every now and then users get the Sorry. A non-recoverable error has occurred. error when they try to update their profiles. I do not know what evokes it but underneath is the backtrace. I am on CiviCRM 3.1.3 and Joomla 1.5.15.

/var/www/vhosts/sbcf.fr/httpdocs/administrator/components/com_civicrm/civicrm/CRM/Core/Error.php, backtrace, 257
/var/www/vhosts/sbcf.fr/httpdocs/administrator/components/com_civicrm/civicrm/CRM/Core/IDS.php, fatal, 233
/var/www/vhosts/sbcf.fr/httpdocs/administrator/components/com_civicrm/civicrm/CRM/Core/IDS.php, kick, 167
/var/www/vhosts/sbcf.fr/httpdocs/administrator/components/com_civicrm/civicrm/CRM/Core/IDS.php, react, 146
/var/www/vhosts/sbcf.fr/httpdocs/administrator/components/com_civicrm/civicrm/CRM/Core/Invoke.php, check, 79
/var/www/vhosts/sbcf.fr/httpdocs/administrator/components/com_civicrm/admin.civicrm.php, invoke, 72
/var/www/vhosts/sbcf.fr/httpdocs/administrator/components/com_civicrm/admin.civicrm.php, civicrm_invoke, 45
/var/www/vhosts/sbcf.fr/httpdocs/libraries/joomla/application/component/helper.php, require_once, 162
/var/www/vhosts/sbcf.fr/httpdocs/administrator/includes/application.php, renderComponent, 136
/var/www/vhosts/sbcf.fr/httpdocs/administrator/index.php, dispatch, 67
/var/www/vhosts/sbcf.fr/httpdocs/administrator/index2.php, include, 14

Cheers,
Adriaan

CiviTeacher.com

  • I live on this forum
  • *****
  • Posts: 1282
  • Karma: 118
    • CiviTeacher
  • CiviCRM version: 3.4 - 4.5
  • CMS version: Drupal 6&7, Wordpress
  • MySQL version: 5.1 - 5.5
  • PHP version: 5.2 - 5.4
Re: Sorry. A non-recoverable error has occurred.
January 18, 2011, 05:31:37 pm
I think IDS is the "intrusion detection system" http://php-ids.org/ 

It tries to identify and block hackers.  Probably your customers' input is interpreted as a hacking attempt.  In reality, they are almost definitely NOT hackers, but whatever.

I've brought up this issue with the team.  You should try to:

1. Theorize what exact input causes the error
2. Test and reliably reproduce the error
3. File a bug as "Issue Tracker" look in the top menu.

If you don't want to do #3 I will do if for you.  Send me a PM.
Try CiviTeacher: the online video tutorial CiviCRM learning library.

demeritcowboy

  • Ask me questions
  • ****
  • Posts: 570
  • Karma: 42
  • CiviCRM version: Always the latest!
  • CMS version: Drupal 6 mostly, still evaluating 7.
  • MySQL version: Mix of 5.0 / 5.1 / 5.5
  • PHP version: 5.3, usually on Windows
Re: Sorry. A non-recoverable error has occurred.
January 18, 2011, 06:06:13 pm
There's a setting in civicrm.settings.php to disable it. If there are no public forms on your site there's no reason to have it enabled. If you do have public forms then it depends.

See templates/CRM/common/civicrm.settings.php.tpl for the latest available settings.

janus

  • I’m new here
  • *
  • Posts: 16
  • Karma: 0
Re: Sorry. A non-recoverable error has occurred.
February 02, 2011, 08:04:35 am
I have figured out why this occurs: It happens when you add an URL to the default CiviCRM contact details so in the civicrm_contact table and home_url field.

Is this normal?
It can't be a bug that is not reported before can it?

Kind regards Adriaan.

CiviTeacher.com

  • I live on this forum
  • *****
  • Posts: 1282
  • Karma: 118
    • CiviTeacher
  • CiviCRM version: 3.4 - 4.5
  • CMS version: Drupal 6&7, Wordpress
  • MySQL version: 5.1 - 5.5
  • PHP version: 5.2 - 5.4
Re: Sorry. A non-recoverable error has occurred.
February 02, 2011, 05:40:45 pm
A few things,

1. You are using an older version of CiviCRM, which the core team are not going to be interested in debugging an older version of civicrm.

2. I cannot replicate the problem on the demo site here: http://drupal.demo.civicrm.org/civicrm/contact/view?reset=1&cid=102

3. You didn't mention how you are entering the data, whether it be through a contribution form, public profile, or the admin backend.  Either way, I cannot replicate the error.

I suggest you upgrade to CiviCRM 3.2 or 3.3
Try CiviTeacher: the online video tutorial CiviCRM learning library.

janus

  • I’m new here
  • *
  • Posts: 16
  • Karma: 0
Re: Sorry. A non-recoverable error has occurred.
February 05, 2011, 07:48:57 am
I have upgraded to CiviCRM 3.3.3 now:
 I have profiles with custom data and if I add an email to the default CiviCRM contact details (so in the civicrm_contact table and home_url field) either through a public profile or the admin backend I still get the same error.
Help, my clients are starting to tell me I should sort this out!
Cheers,
Adriaan

CiviTeacher.com

  • I live on this forum
  • *****
  • Posts: 1282
  • Karma: 118
    • CiviTeacher
  • CiviCRM version: 3.4 - 4.5
  • CMS version: Drupal 6&7, Wordpress
  • MySQL version: 5.1 - 5.5
  • PHP version: 5.2 - 5.4
Re: Sorry. A non-recoverable error has occurred.
March 22, 2011, 06:48:08 pm
the problem is that home_url is not the column where email goes, if you really meant you are trying to put 'email' in there.  or was that a typo?

Email has its own table entirely.  Please review the schema of the database. 

Also you could try creating a new profile.
« Last Edit: March 22, 2011, 06:49:55 pm by Stoob »
Try CiviTeacher: the online video tutorial CiviCRM learning library.

janus

  • I’m new here
  • *
  • Posts: 16
  • Karma: 0
Re: Sorry. A non-recoverable error has occurred.
April 06, 2011, 12:48:02 pm
Sorry Stoob, I meant url of course.

So I still get this error:
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 am on 3.3.3 now and I do not know why this happens. I know it is IDS but I do not know why. Can u point me to where I can change the settings? I know about the ini in the media/civicrm/templates_c/en_US/ConfigAndLog folder and the logs there but I need some info to be able to change all that.

The ini consists of

[General]
    filter_type         = xml
    filter_path         = /var/www/vhosts/sbcf.fr/httpdocs/administrator/components/com_civicrm/civicrm/packages/IDS/default_filter.xml
    tmp_path            = /var/www/vhosts/sbcf.fr/httpdocs/media/civicrm/upload/
    HTML_Purifier_Path  = IDS/vendors/htmlpurifier/HTMLPurifier.auto.php
    HTML_Purifier_Cache = /var/www/vhosts/sbcf.fr/httpdocs/media/civicrm/upload/
    scan_keys           = false
    exceptions[]        = __utmz
    exceptions[]        = __utmc
    exceptions[]        = widget_code
    exceptions[]        = html_message
    exceptions[]        = body_html
    exceptions[]        = msg_html
    html[]              = description
    html[]              = intro
    html[]              = thankyou_text
    html[]              = intro_text
    html[]              = body_text
    html[]              = footer_text
    html[]              = thankyou_text
    html[]              = thankyou_footer
    html[]              = new_text
    html[]              = renewal_text
    html[]              = help_pre
    html[]              = help_post
    html[]              = msg_html
    html[]              = confirm_title
    html[]              = confirm_text
    html[]              = confirm_footer_text
    html[]              = confirm_email_text
    html[]              = report_header
    html[]              = report_footer

janus

  • I’m new here
  • *
  • Posts: 16
  • Karma: 0
Re: Sorry. A non-recoverable error has occurred.
April 06, 2011, 01:17:48 pm
I have just looked at the log that is in the same folder as the ini and found that the url (but also email) and a lot of my custom field trigger the kick, ie the sorry error that is non-recoverable. There is a long list but I just copied 3 however all are rated as impact 132. Do you just increase the kick value? But that defeats the point of IDS. Where can I whitelist my profile fields? Come on guys, give a hand here. Cheers Adriaan.

 [1] => Array
        (
            [name] => website.1.url
            [value] => http://www.............
            [page] => /administrator/index2.php?option=com_civicrm&task=civicrm/contact/add&
            [userid] => 1
            [session] => f3377c9f148b45d04c35307b271be814
            [ip] => 212......
            [reaction] => 3
            [impact] => 132
        )

    [2] => Array
        (
            [name] => custom_41_13
            [value] => http://www.........
            [page] => /administrator/index2.php?option=com_civicrm&task=civicrm/contact/add&
            [userid] => 1
            [session] => f3377c9f148b45d04c35307b271be814
            [ip] => 212.......
            [reaction] => 3
            [impact] => 132
        )

    [3] => Array
        (
            [name] => custom_43_13.0
            [value] => adhésion/interactions cellulaires
            [page] => /administrator/index2.php?option=com_civicrm&task=civicrm/contact/add&
            [userid] => 1
            [session] => f3377c9f148b45d04c35307b271be814
            [ip] => 212.....
            [reaction] => 3
            [impact] => 132
        )

CiviTeacher.com

  • I live on this forum
  • *****
  • Posts: 1282
  • Karma: 118
    • CiviTeacher
  • CiviCRM version: 3.4 - 4.5
  • CMS version: Drupal 6&7, Wordpress
  • MySQL version: 5.1 - 5.5
  • PHP version: 5.2 - 5.4
Re: Sorry. A non-recoverable error has occurred.
April 07, 2011, 01:27:32 am
Sorry I don't understand IDS enough to make more recommendations.

Try CiviTeacher: the online video tutorial CiviCRM learning library.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Profiles (Moderator: Dave Greenberg) »
  • Sorry. A non-recoverable error has occurred.

This forum was archived on 2017-11-26.