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) »
  • Dedupe/Finder.php error
Pages: [1]

Author Topic: Dedupe/Finder.php error  (Read 3190 times)

tpascubarat

  • Guest
Dedupe/Finder.php error
November 04, 2009, 03:43:01 pm
On our Joomla/CiviCRM site, after getting past the part where the form did not appear, I am now getting the following error:

Sorry. A non-recoverable error has occurred.

Strict rule for Individual does not exist

Return to home page.

Can someone tell me what could cause this?

After turning on Backtrace, I get this:

backTrace

/home/lifemessage/lifemessage.dreamhosters.com/administrator/components/com_civicrm/civicrm/CRM/Core/Error.php, backtrace, 256
/home/lifemessage/lifemessage.dreamhosters.com/administrator/components/com_civicrm/civicrm/CRM/Dedupe/Finder.php, fatal, 93
/home/lifemessage/lifemessage.dreamhosters.com/administrator/components/com_civicrm/civicrm/CRM/Profile/Form.php, dupesByParams, 525
, formRule,
/home/lifemessage/lifemessage.dreamhosters.com/administrator/components/com_civicrm/civicrm/packages/HTML/QuickForm.php, call_user_func, 1591
/home/lifemessage/lifemessage.dreamhosters.com/administrator/components/com_civicrm/civicrm/CRM/Core/Form.php, validate, 291
/home/lifemessage/lifemessage.dreamhosters.com/administrator/components/com_civicrm/civicrm/CRM/Profile/Form/Edit.php, validate, 262
/home/lifemessage/lifemessage.dreamhosters.com/administrator/components/com_civicrm/civicrm/CRM/Core/StateMachine.php, validate, 148
/home/lifemessage/lifemessage.dreamhosters.com/administrator/components/com_civicrm/civicrm/CRM/Core/QuickForm/Action/Next.php, perform, 63
/home/lifemessage/lifemessage.dreamhosters.com/administrator/components/com_civicrm/civicrm/packages/HTML/QuickForm/Controller.php, perform, 203
/home/lifemessage/lifemessage.dreamhosters.com/administrator/components/com_civicrm/civicrm/packages/HTML/QuickForm/Page.php, handle, 103
/home/lifemessage/lifemessage.dreamhosters.com/administrator/components/com_civicrm/civicrm/CRM/Core/Controller.php, handle, 249
/home/lifemessage/lifemessage.dreamhosters.com/administrator/components/com_civicrm/civicrm/CRM/Utils/Wrapper.php, run, 114
/home/lifemessage/lifemessage.dreamhosters.com/administrator/components/com_civicrm/civicrm/CRM/Core/Invoke.php, run, 312
, profile,
/home/lifemessage/lifemessage.dreamhosters.com/administrator/components/com_civicrm/civicrm/CRM/Core/Invoke.php, call_user_func, 176
/home/lifemessage/lifemessage.dreamhosters.com/components/com_civicrm/civicrm.php, invoke, 76
/home/lifemessage/lifemessage.dreamhosters.com/components/com_civicrm/civicrm.php, civicrm_invoke, 24
/home/lifemessage/lifemessage.dreamhosters.com/libraries/joomla/application/component/helper.php, require_once, 162
/home/lifemessage/lifemessage.dreamhosters.com/includes/application.php, renderComponent, 124
/home/lifemessage/lifemessage.dreamhosters.com/index.php, dispatch, 68

unrecoverable error
    Sorry. A non-recoverable error has occurred.

    Strict rule for Individual does not exist

    Return to home page.


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: Dedupe/Finder.php error
November 04, 2009, 05:34:02 pm

check the url similar to:

http://joomla.demo.civicrm.org/administrator/index2.php?option=com_civicrm&task=civicrm/admin/deduperules&reset=1

you should see a Strict rule for Individuals

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

tpascubarat

  • Guest
Re: Dedupe/Finder.php error
November 04, 2009, 06:35:14 pm
That fixed it.  Thank you!!!!!!!!

The Next Wave

  • I post occasionally
  • **
  • Posts: 111
  • Karma: -9
  • I'm just here to change the world.
  • CiviCRM version: 4.4.4
  • CMS version: Wordpress 3.8.1
  • MySQL version: 5.1.72-cll
  • PHP version: 5.4.25
Re: Dedupe/Finder.php error
June 08, 2013, 06:10:17 pm
Don-
There was no way to remove a custom dedupe rule in 4.3.3 for wordpress.
I did it in the database-
now I get this error when trying to add a new contact via contributions:

#0 /home/c0mm1sh/public_html/wp-content/plugins/civicrm/civicrm/CRM/Core/Error.php(308): CRM_Core_Error::backtrace() #1 /home/c0mm1sh/public_html/wp-content/plugins/civicrm/civicrm/CRM/Dedupe/Finder.php(117): CRM_Core_Error::fatal("Supervised rule for Individual does not exist") #2 /home/c0mm1sh/public_html/wp-content/plugins/civicrm/civicrm/CRM/Profile/Form.php(929): CRM_Dedupe_Finder::dupesByParams((Array:3), "Individual", "Supervised", (Array:0)) #3 [internal function](): CRM_Profile_Form::formRule((Array:7), (Array:0), Object(CRM_Profile_Form_Edit)) #4 /home/c0mm1sh/public_html/wp-content/plugins/civicrm/civicrm/packages/HTML/QuickForm.php(1598): call_user_func((Array:2), (Array:7), (Array:0), Object(CRM_Profile_Form_Edit)) #5 /home/c0mm1sh/public_html/wp-content/plugins/civicrm/civicrm/CRM/Core/Form.php(299): HTML_QuickForm->validate() #6 /home/c0mm1sh/public_html/wp-content/plugins/civicrm/civicrm/CRM/Profile/Form/Edit.php(375): CRM_Core_Form->validate() #7 /home/c0mm1sh/public_html/wp-content/plugins/civicrm/civicrm/CRM/Core/StateMachine.php(142): CRM_Profile_Form_Edit->validate() #8 /home/c0mm1sh/public_html/wp-content/plugins/civicrm/civicrm/CRM/Core/QuickForm/Action/Next.php(60): CRM_Core_StateMachine->perform(Object(CRM_Profile_Form_Edit), "next", "Next") #9 /home/c0mm1sh/public_html/wp-content/plugins/civicrm/civicrm/packages/HTML/QuickForm/Controller.php(203): CRM_Core_QuickForm_Action_Next->perform(Object(CRM_Profile_Form_Edit), "next") #10 /home/c0mm1sh/public_html/wp-content/plugins/civicrm/civicrm/packages/HTML/QuickForm/Page.php(103): HTML_QuickForm_Controller->handle(Object(CRM_Profile_Form_Edit), "next") #11 /home/c0mm1sh/public_html/wp-content/plugins/civicrm/civicrm/CRM/Core/Controller.php(316): HTML_QuickForm_Page->handle("next") #12 /home/c0mm1sh/public_html/wp-content/plugins/civicrm/civicrm/CRM/Utils/Wrapper.php(117): CRM_Core_Controller->run() #13 /home/c0mm1sh/public_html/wp-content/plugins/civicrm/civicrm/CRM/Core/Invoke.php(424): CRM_Utils_Wrapper->run("CRM_Profile_Form_Edit", "Create Profile", (Array:2)) #14 [internal function](): CRM_Core_Invoke::profile((Array:3)) #15 /home/c0mm1sh/public_html/wp-content/plugins/civicrm/civicrm/CRM/Core/Invoke.php(258): call_user_func((Array:2), (Array:3)) #16 /home/c0mm1sh/public_html/wp-content/plugins/civicrm/civicrm/CRM/Core/Invoke.php(70): CRM_Core_Invoke::runItem((Array:14)) #17 /home/c0mm1sh/public_html/wp-content/plugins/civicrm/civicrm/CRM/Core/Invoke.php(52): CRM_Core_Invoke::_invoke((Array:3)) #18 /home/c0mm1sh/public_html/wp-content/plugins/civicrm/civicrm.php(334): CRM_Core_Invoke::invoke((Array:3)) #19 [internal function](): civicrm_wp_invoke("") #20 /home/c0mm1sh/public_html/wp-includes/plugin.php(406): call_user_func_array("civicrm_wp_invoke", (Array:1)) #21 /home/c0mm1sh/public_html/wp-admin/admin.php(151): do_action("toplevel_page_CiviCRM") #22 {main}

Sorry but we are not able to provide this at the moment.
Supervised rule for Individual does not exist

The Next Wave

  • I post occasionally
  • **
  • Posts: 111
  • Karma: -9
  • I'm just here to change the world.
  • CiviCRM version: 4.4.4
  • CMS version: Wordpress 3.8.1
  • MySQL version: 5.1.72-cll
  • PHP version: 5.4.25
Re: Dedupe/Finder.php error
June 09, 2013, 05:07:37 am
Trying to make a rule- to then remove it-
I get this:
#0 /home/c0mm1sh/public_html/wp-content/plugins/civicrm/civicrm/CRM/Core/Error.php(148): CRM_Core_Error::backtrace()
#1 [internal function](): CRM_Core_Error::handle(Object(DB_Error))
#2 /home/c0mm1sh/public_html/wp-content/plugins/civicrm/civicrm/packages/PEAR.php(931): call_user_func((Array:2), Object(DB_Error))
#3 /home/c0mm1sh/public_html/wp-content/plugins/civicrm/civicrm/packages/DB.php(969): PEAR_Error->PEAR_Error("DB Error: unknown error", -1, 16, (Array:2), "CREATE INDEX dedupe_index_cntyidnum_12_7 ON civicrm_value_voters_1 (cntyidnum...")
#4 /home/c0mm1sh/public_html/wp-content/plugins/civicrm/civicrm/packages/PEAR.php(564): DB_Error->DB_Error(-1, 16, (Array:2), "CREATE INDEX dedupe_index_cntyidnum_12_7 ON civicrm_value_voters_1 (cntyidnum...")
#5 /home/c0mm1sh/public_html/wp-content/plugins/civicrm/civicrm/packages/DB/common.php(1905): PEAR->raiseError(NULL, -1, NULL, NULL, "CREATE INDEX dedupe_index_cntyidnum_12_7 ON civicrm_value_voters_1 (cntyidnum...", "DB_Error", TRUE)
#6 /home/c0mm1sh/public_html/wp-content/plugins/civicrm/civicrm/packages/DB/mysql.php(898): DB_common->raiseError(-1, NULL, NULL, NULL, "1089 ** Incorrect prefix key; the used key part isn't a string, the used leng...")
#7 /home/c0mm1sh/public_html/wp-content/plugins/civicrm/civicrm/packages/DB/mysql.php(327): DB_mysql->mysqlRaiseError()
#8 /home/c0mm1sh/public_html/wp-content/plugins/civicrm/civicrm/packages/DB/common.php(1216): DB_mysql->simpleQuery("CREATE INDEX dedupe_index_cntyidnum_12_7 ON civicrm_value_voters_1 (cntyidnum...")
#9 /home/c0mm1sh/public_html/wp-content/plugins/civicrm/civicrm/packages/DB/DataObject.php(2421): DB_common->query("CREATE INDEX dedupe_index_cntyidnum_12_7 ON civicrm_value_voters_1 (cntyidnum...")
#10 /home/c0mm1sh/public_html/wp-content/plugins/civicrm/civicrm/packages/DB/DataObject.php(1613): DB_DataObject->_query("CREATE INDEX dedupe_index_cntyidnum_12_7 ON civicrm_value_voters_1 (cntyidnum...")
#11 /home/c0mm1sh/public_html/wp-content/plugins/civicrm/civicrm/CRM/Core/DAO.php(155): DB_DataObject->query("CREATE INDEX dedupe_index_cntyidnum_12_7 ON civicrm_value_voters_1 (cntyidnum...")
#12 /home/c0mm1sh/public_html/wp-content/plugins/civicrm/civicrm/CRM/Core/BAO/SchemaHandler.php(403): CRM_Core_DAO->query("CREATE INDEX dedupe_index_cntyidnum_12_7 ON civicrm_value_voters_1 (cntyidnum...", FALSE)
#13 /home/c0mm1sh/public_html/wp-content/plugins/civicrm/civicrm/CRM/Contact/Form/DedupeRules.php(273): CRM_Core_BAO_SchemaHandler::createIndexes((Array:1), "dedupe_index", (Array:1))
#14 /home/c0mm1sh/public_html/wp-content/plugins/civicrm/civicrm/CRM/Core/Form.php(246): CRM_Contact_Form_DedupeRules->postProcess()
#15 /home/c0mm1sh/public_html/wp-content/plugins/civicrm/civicrm/CRM/Core/StateMachine.php(160): CRM_Core_Form->mainProcess()
#16 /home/c0mm1sh/public_html/wp-content/plugins/civicrm/civicrm/CRM/Core/QuickForm/Action/Next.php(60): CRM_Core_StateMachine->perform(Object(CRM_Contact_Form_DedupeRules), "next", "Next")
#17 /home/c0mm1sh/public_html/wp-content/plugins/civicrm/civicrm/packages/HTML/QuickForm/Controller.php(203): CRM_Core_QuickForm_Action_Next->perform(Object(CRM_Contact_Form_DedupeRules), "next")
#18 /home/c0mm1sh/public_html/wp-content/plugins/civicrm/civicrm/packages/HTML/QuickForm/Page.php(103): HTML_QuickForm_Controller->handle(Object(CRM_Contact_Form_DedupeRules), "next")
#19 /home/c0mm1sh/public_html/wp-content/plugins/civicrm/civicrm/CRM/Core/Controller.php(316): HTML_QuickForm_Page->handle("next")
#20 /home/c0mm1sh/public_html/wp-content/plugins/civicrm/civicrm/CRM/Core/Page/Basic.php(374): CRM_Core_Controller->run()
#21 /home/c0mm1sh/public_html/wp-content/plugins/civicrm/civicrm/CRM/Contact/Page/DedupeRules.php(125): CRM_Core_Page_Basic->edit(2, "11")
#22 /home/c0mm1sh/public_html/wp-content/plugins/civicrm/civicrm/CRM/Core/Invoke.php(292): CRM_Contact_Page_DedupeRules->run((Array:3), NULL)
#23 /home/c0mm1sh/public_html/wp-content/plugins/civicrm/civicrm/CRM/Core/Invoke.php(70): CRM_Core_Invoke::runItem((Array:13))
#24 /home/c0mm1sh/public_html/wp-content/plugins/civicrm/civicrm/CRM/Core/Invoke.php(52): CRM_Core_Invoke::_invoke((Array:3))
#25 /home/c0mm1sh/public_html/wp-content/plugins/civicrm/civicrm.php(334): CRM_Core_Invoke::invoke((Array:3))
#26 [internal function](): civicrm_wp_invoke("")
#27 /home/c0mm1sh/public_html/wp-includes/plugin.php(406): call_user_func_array("civicrm_wp_invoke", (Array:1))
#28 /home/c0mm1sh/public_html/wp-admin/admin.php(151): do_action("toplevel_page_CiviCRM")
#29 {main}

Suggestions? Please help.

The Next Wave

  • I post occasionally
  • **
  • Posts: 111
  • Karma: -9
  • I'm just here to change the world.
  • CiviCRM version: 4.4.4
  • CMS version: Wordpress 3.8.1
  • MySQL version: 5.1.72-cll
  • PHP version: 5.4.25
Re: Dedupe/Finder.php error
June 09, 2013, 05:13:14 am
SO here is the workaround.
I made a group- NULL, with zero contacts in it.
Made it supervised.
Then set the rule to apply to the group NULL.
No more errrors.

Wonky. But it worked.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Profiles (Moderator: Dave Greenberg) »
  • Dedupe/Finder.php error

This forum was archived on 2017-11-26.