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 CiviCase (Moderator: Dave Greenberg) »
  • Fatal Error When Merging Cases
Pages: [1]

Author Topic: Fatal Error When Merging Cases  (Read 1943 times)

denverdataman

  • I post occasionally
  • **
  • Posts: 93
  • Karma: 2
    • Denver DataMan Website
  • CiviCRM version: Several
  • CMS version: Drupal 6/7
Fatal Error When Merging Cases
December 31, 2011, 12:04:15 pm
I am trying to use the merge case function in CiviCase and I am getting a fatal error.

To reproduce the steps open two cases and then select a case to merge from  the Merge Case link.

Sorry. A non-recoverable error has occurred.
DB Error: syntax error

Here is the backtrace

/home/somesite/public_html/sites/all/modules/civicrm/CRM/Core/Error.php, backtrace, 159
, handle,
/home/somesite/public_html/sites/all/modules/civicrm/packages/PEAR.php, call_user_func, 931
/home/somesite/public_html/sites/all/modules/civicrm/packages/DB.php, PEAR_Error, 968
/home/somesite/public_html/sites/all/modules/civicrm/packages/PEAR.php, DB_Error, 564
/home/somesite/public_html/sites/all/modules/civicrm/packages/DB/common.php, raiseError, 1903
/home/somesite/public_html/sites/all/modules/civicrm/packages/DB/mysql.php, raiseError, 898
/home/somesite/public_html/sites/all/modules/civicrm/packages/DB/mysql.php, mysqlRaiseError, 327
/home/somesite/public_html/sites/all/modules/civicrm/packages/DB/common.php, simpleQuery, 1216
/home/somesite/public_html/sites/all/modules/civicrm/packages/DB/DataObject.php, query, 2424
/home/somesite/public_html/sites/all/modules/civicrm/packages/DB/DataObject.php, _query, 1610
/home/somesite/public_html/sites/all/modules/civicrm/CRM/Core/DAO.php, query, 152
/home/somesite/public_html/sites/all/modules/civicrm/CRM/Core/DAO.php, query, 879
/home/somesite/public_html/sites/all/modules/civicrm/CRM/Case/BAO/Case.php, executeQuery, 2267
/home/somesite/public_html/sites/all/modules/civicrm/CRM/Case/Form/CaseView.php, mergeCases, 482
/home/somesite/public_html/sites/all/modules/civicrm/CRM/Core/Form.php, postProcess, 250
/home/somesite/public_html/sites/all/modules/civicrm/CRM/Core/StateMachine.php, mainProcess, 167
/home/somesite/public_html/sites/all/modules/civicrm/CRM/Core/QuickForm/Action/Next.php, perform, 64
/home/somesite/public_html/sites/all/modules/civicrm/packages/HTML/QuickForm/Controller.php, perform, 203
/home/somesite/public_html/sites/all/modules/civicrm/packages/HTML/QuickForm/Page.php, handle, 103
/home/somesite/public_html/sites/all/modules/civicrm/CRM/Core/Controller.php, handle, 284
/home/somesite/public_html/sites/all/modules/civicrm/CRM/Case/Page/Tab.php, run, 121
/home/somesite/public_html/sites/all/modules/civicrm/CRM/Case/Page/Tab.php, view, 207
/home/somesite/public_html/sites/all/modules/civicrm/CRM/Core/Invoke.php, run, 224
/home/somesite/public_html/sites/all/modules/civicrm/drupal/civicrm.module, invoke, 451
, civicrm_invoke,
/home/somesite/public_html/includes/menu.inc, call_user_func_array, 503
/home/somesite/public_html/index.php, menu_execute_active_handler, 21

This site is running
CiviCRM 4.0.8 on Drupal 7.10
MySQL 5.1.56
PHP 5.2.17
Apache 2.2.19

Any help is very much appreciated. 
Steve Kessler
Owner and Lead Consultant of Denver DataMan

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Fatal Error When Merging Cases
December 31, 2011, 01:08:11 pm
Can you replicate this on http://sandbox.drupal.civicrm.org

Thanks
Kurund
Found this reply helpful? Support CiviCRM

denverdataman

  • I post occasionally
  • **
  • Posts: 93
  • Karma: 2
    • Denver DataMan Website
  • CiviCRM version: Several
  • CMS version: Drupal 6/7
Re: Fatal Error When Merging Cases
December 31, 2011, 01:40:31 pm
CiviCase does not appeared to be available. 

Steve Kessler
Owner and Lead Consultant of Denver DataMan

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Fatal Error When Merging Cases
December 31, 2011, 11:39:37 pm
There was some permission issue and is fixed now. Can you check now.

Kurund
Found this reply helpful? Support CiviCRM

denverdataman

  • I post occasionally
  • **
  • Posts: 93
  • Karma: 2
    • Denver DataMan Website
  • CiviCRM version: Several
  • CMS version: Drupal 6/7
Re: Fatal Error When Merging Cases
January 02, 2012, 07:53:28 pm
I cannot duplicate it.

There is something strange happening with my install. See the attached. There are 9 cases attached to this account and none of them snow on the listing. They also cannot be merged.  I think this is  related.  I am out of ideas on what it could be. 

Thanks,
Steve
Steve Kessler
Owner and Lead Consultant of Denver DataMan

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Fatal Error When Merging Cases
January 03, 2012, 10:30:11 pm
Can you see those case in Find Cases? Also check you db.

Kurund
Found this reply helpful? Support CiviCRM

denverdataman

  • I post occasionally
  • **
  • Posts: 93
  • Karma: 2
    • Denver DataMan Website
  • CiviCRM version: Several
  • CMS version: Drupal 6/7
Re: Fatal Error When Merging Cases
January 04, 2012, 10:23:14 pm
No they do not show up when I search.
Steve Kessler
Owner and Lead Consultant of Denver DataMan

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Fatal Error When Merging Cases
January 05, 2012, 12:41:22 am
If I had to guess, your db has few case entries and for some strange reason it is incomplete / broken hence not displayed correctly. So one options is to manually delete it from civicrm_case table.

Kurund
Found this reply helpful? Support CiviCRM

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviCase (Moderator: Dave Greenberg) »
  • Fatal Error When Merging Cases

This forum was archived on 2017-11-26.