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) »
  • Developer Discussion »
  • APIs and Hooks (Moderator: Donald Lobo) »
  • Problem with filters on a custom search
Pages: [1]

Author Topic: Problem with filters on a custom search  (Read 672 times)

SarahG (FountainTribe)

  • Ask me questions
  • ****
  • Posts: 782
  • Karma: 29
  • CiviCRM version: 4.4.7
  • CMS version: Drupal 6, Drupal 7
  • MySQL version: 5.5
  • PHP version: 5.3
Problem with filters on a custom search
August 16, 2012, 06:35:00 am
I have written a custom search that only works when the user clicks the URL from the custom search page. ( the URL to my search is:  http://crmdev.uscj.org/civicrm/contact/search/custom?csid=25&reset=1 )    But if the user tries using any of the filters, then my custom search does not even get called.   The error message is : "Sorry. A non-recoverable error has occurred.
Could not get details for custom search."

Stack trace is:
Code: [Select]
/home/dev1/public_html/sites/all/modules/civicrm/CRM/Core/Error.php, backtrace, 288
/home/dev1/public_html/sites/all/modules/civicrm/CRM/Contact/Form/Search/Custom.php, fatal, 57
/home/dev1/public_html/sites/all/modules/civicrm/CRM/Core/Form.php, preProcess, 327
/home/dev1/public_html/sites/all/modules/civicrm/CRM/Core/QuickForm/Action/Display.php, buildForm, 97
/home/dev1/public_html/sites/all/modules/civicrm/packages/HTML/QuickForm/Controller.php, perform, 203
/home/dev1/public_html/sites/all/modules/civicrm/packages/HTML/QuickForm/Page.php, handle, 103
/home/dev1/public_html/sites/all/modules/civicrm/CRM/Core/Controller.php, handle, 292
/home/dev1/public_html/sites/all/modules/civicrm/CRM/Core/Invoke.php, run, 245
/home/dev1/public_html/sites/all/modules/civicrm/drupal/civicrm.module, invoke, 381
, civicrm_invoke,
/home/dev1/public_html/includes/menu.inc, call_user_func_array, 348
/home/dev1/public_html/index.php, menu_execute_active_handler, 18


Any ideas?
Did I help you? Please donate to the Civi-Make-It-Happen campaign  CiviCRM for mobile devices! 

SarahG (FountainTribe)

  • Ask me questions
  • ****
  • Posts: 782
  • Karma: 29
  • CiviCRM version: 4.4.7
  • CMS version: Drupal 6, Drupal 7
  • MySQL version: 5.5
  • PHP version: 5.3
Re: Problem with filters on a custom search
August 27, 2012, 03:56:21 pm
Made some progress with this.   I now only get the error when the result is unfiltered. ( ie all records).  If the user provides a filter, then it works.
Did I help you? Please donate to the Civi-Make-It-Happen campaign  CiviCRM for mobile devices! 

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion »
  • APIs and Hooks (Moderator: Donald Lobo) »
  • Problem with filters on a custom search

This forum was archived on 2017-11-26.