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 (Moderator: Dave Greenberg) »
  • Custom Search resetting for large result sets
Pages: [1]

Author Topic: Custom Search resetting for large result sets  (Read 892 times)

bpmccain

  • I post frequently
  • ***
  • Posts: 255
  • Karma: 5
  • CiviCRM version: 4.1
  • CMS version: Drupal 7.12
  • MySQL version: 5.2
  • PHP version: 5.2
Custom Search resetting for large result sets
May 20, 2013, 09:15:25 am
I'm having a strange issue, that I believe has just surfaced since we upgraded to 4.3 - but I'm not 100% sure of that.

We have a custom search that works fine for results sets of up to about 3500 contacts (exact number not yet determined). Above that however, the page custom search page just reloads with all the search parameters missing (as though I just hit refresh on the search page).

I've been trying to find out why for the last week and am completely stumped.

If I put a backtrace on Line 341 of CRM_Core_Selector_Controller and print_r($rows), I can see all of the results, regardless of the number of contacts - so I know at this point, everything is working, but I've been unable to work my way back from here. Below is my backtrace.

Code: [Select]
#0 /persistent/html/sites/all/modules/civicrm/CRM/Core/Selector/Controller.php(341): CRM_Core_Error::backtrace()
#1 /persistent/html/sites/all/modules/civicrm/CRM/Contact/Form/Search.php(956): CRM_Core_Selector_Controller->run()
#2 /persistent/html/sites/all/modules/civicrm/CRM/Contact/Form/Search/Custom.php(124): CRM_Contact_Form_Search->postProcess()
#3 /persistent/html/sites/all/modules/civicrm/CRM/Core/Form.php(246): CRM_Contact_Form_Search_Custom->postProcess()
#4 /persistent/html/sites/all/modules/civicrm/CRM/Core/QuickForm/Action/Refresh.php(75): CRM_Core_Form->mainProcess()
#5 /persistent/html/sites/all/modules/civicrm/packages/HTML/QuickForm/Controller.php(203): CRM_Core_QuickForm_Action_Refresh->perform(Object(CRM_Contact_Form_Search_Custom), "refresh")
#6 /persistent/html/sites/all/modules/civicrm/packages/HTML/QuickForm/Page.php(103): HTML_QuickForm_Controller->handle(Object(CRM_Contact_Form_Search_Custom), "refresh")
#7 /persistent/html/sites/all/modules/civicrm/CRM/Core/Controller.php(316): HTML_QuickForm_Page->handle("refresh")
#8 /persistent/html/sites/all/modules/civicrm/CRM/Core/Invoke.php(292): CRM_Core_Controller->run((Array:4), (Array:0))
#9 /persistent/html/sites/all/modules/civicrm/CRM/Core/Invoke.php(70): CRM_Core_Invoke::runItem((Array:12))
#10 /persistent/html/sites/all/modules/civicrm/CRM/Core/Invoke.php(52): CRM_Core_Invoke::_invoke((Array:4))
#11 /persistent/html/sites/all/modules/civicrm/drupal/civicrm.module(436): CRM_Core_Invoke::invoke((Array:4))
#12 [internal function](): civicrm_invoke("contact", "search", "custom")
#13 /persistent/html/includes/menu.inc(517): call_user_func_array("civicrm_invoke", (Array:3))
#14 /persistent/html/index.php(21): menu_execute_active_handler()
#15 {main}

Any thoughts? Thanks.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM (Moderator: Dave Greenberg) »
  • Custom Search resetting for large result sets

This forum was archived on 2017-11-26.