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 Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Major non-recoverable error after upgrading to 3.0
Pages: [1]

Author Topic: Major non-recoverable error after upgrading to 3.0  (Read 1246 times)

zuesty

  • I post occasionally
  • **
  • Posts: 31
  • Karma: 2
  • CiviCRM version: 4.1.1
  • CMS version: Joomla! 2.5.3
Major non-recoverable error after upgrading to 3.0
October 08, 2009, 06:00:38 pm
I just upgraded my fine-working 2.2.8 to 3.0. Everything went really well without any complications. Everything was working fine at first. I added a new set of custom data and a custom profile; everything was working fine after that as well. A day goes by and now when I login to the back-end of Joomla (1.5.10) and want to enter the CiviCRM dashboard I get the below error message.

I was able to finally figure out a way to reach the dashboard by directing my browser to http://.../administrator/index2.php?option=com_civicrm&task=civicrm/admin/setting&reset=1&sessionReset=2. When I enter the dashboard from there, some features work and some don't. For example I can do a contact search, view members of my groups, view my mailings... but I can't go into a constituent's profile or when I click on "home" I get the same error.

Your help and insight is greatly appreciated.

Quote
backTrace

/home8/whatnowa/public_html/administrator/components/com_civicrm/civicrm/CRM/Core/Error.php, backtrace, 146
, handle,
/home8/whatnowa/public_html/administrator/components/com_civicrm/civicrm/packages/PEAR.php, call_user_func, 912
/home8/whatnowa/public_html/administrator/components/com_civicrm/civicrm/packages/DB.php, PEAR_Error, 966
/home8/whatnowa/public_html/administrator/components/com_civicrm/civicrm/packages/PEAR.php, DB_Error, 574
/home8/whatnowa/public_html/administrator/components/com_civicrm/civicrm/packages/DB/common.php, raiseError, 1903
/home8/whatnowa/public_html/administrator/components/com_civicrm/civicrm/packages/DB/mysql.php, raiseError, 898
/home8/whatnowa/public_html/administrator/components/com_civicrm/civicrm/packages/DB/mysql.php, mysqlRaiseError, 327
/home8/whatnowa/public_html/administrator/components/com_civicrm/civicrm/packages/DB/common.php, simpleQuery, 1216
/home8/whatnowa/public_html/administrator/components/com_civicrm/civicrm/packages/DB/DataObject.php, query, 2394
/home8/whatnowa/public_html/administrator/components/com_civicrm/civicrm/packages/DB/DataObject.php, _query, 1587
/home8/whatnowa/public_html/administrator/components/com_civicrm/civicrm/CRM/Core/DAO.php, query, 144
/home8/whatnowa/public_html/administrator/components/com_civicrm/civicrm/CRM/Core/DAO.php, query, 897
/home8/whatnowa/public_html/administrator/components/com_civicrm/civicrm/CRM/Activity/BAO/Activity.php, singleValueQuery, 677
/home8/whatnowa/public_html/administrator/components/com_civicrm/civicrm/CRM/Contact/Page/View/DashBoard.php, getActivities, 138
/home8/whatnowa/public_html/administrator/components/com_civicrm/civicrm/CRM/Contact/Page/View/DashBoard.php, browse, 198
/home8/whatnowa/public_html/administrator/components/com_civicrm/civicrm/CRM/Core/Invoke.php, run, 209
/home8/whatnowa/public_html/administrator/components/com_civicrm/admin.civicrm.php, invoke, 45
/home8/whatnowa/public_html/administrator/components/com_civicrm/admin.civicrm.php, civicrm_invoke, 22
/home8/whatnowa/public_html/libraries/joomla/application/component/helper.php, require_once, 162
/home8/whatnowa/public_html/administrator/includes/application.php, renderComponent, 136
/home8/whatnowa/public_html/administrator/index.php, dispatch, 67
/home8/whatnowa/public_html/administrator/index2.php, include, 14

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

Database Error Code: The SELECT would examine more than MAX_JOIN_SIZE rows; check your WHERE and use SET SQL_BIG_SELECTS=1 or SET SQL_MAX_JOIN_SIZE=# if the SELECT is okay, 1104

Return to home page.

Error Details:

Array
(
    [callback] => Array
        (
            
  • => CRM_Core_Error
  • [1] => handle
            )

        
Code: [Select]
=> -1
    [message] => DB Error: unknown error
    [mode] => 16
    [debug_info] => select COUNT(DISTINCT(civicrm_activity.id)) as count from civicrm_activity
 
                  left join civicrm_activity_target at on
                            civicrm_activity.id = at.activity_id
                  left join civicrm_activity_assignment aa on
                            civicrm_activity.id = aa.activity_id
                  left join civicrm_activity_target as activity_target on
                            civicrm_activity.id = activity_target.activity_id
                  left join civicrm_activity_assignment as activity_assignment on
                            civicrm_activity.id = activity_assignment.activity_id                              
                  left join civicrm_contact sourceContact on
                            source_contact_id = sourceContact.id
         left join civicrm_contact targetContact on
                            activity_target.target_contact_id = targetContact.id
                  left join civicrm_contact assigneeContact on
                            activity_assignment.assignee_contact_id = assigneeContact.id
                  left join civicrm_option_value on
                            ( civicrm_activity.activity_type_id = civicrm_option_value.value )
                  left join civicrm_option_group on  
                            civicrm_option_group.id = civicrm_option_value.option_group_id
                  left join civicrm_case_activity on
                            civicrm_case_activity.activity_id = civicrm_activity.id
                  left join civicrm_case on
                            civicrm_case_activity.case_id = civicrm_case.id
                  left join civicrm_case_contact on
                            civicrm_case_contact.case_id = civicrm_case.id  where  ( source_contact_id = 1 or
                          at.target_contact_id = 1 or
                          aa.assignee_contact_id = 1 or
                          civicrm_case_contact.contact_id = 1 )
                   and civicrm_option_group.name = 'activity_type'
                   and (civicrm_option_value.component_id IS NULL OR civicrm_option_value.component_id IN (1, 2, 3, 4, 6, 8))
                   and is_test = 0  and 1 and  ((civicrm_case_activity.case_id Is Null) OR (civicrm_option_value.name <> 'Inbound Email' AND civicrm_option_value.name <> 'Email' AND civicrm_case_activity.case_id Is Not Null))  and  civicrm_activity.status_id = 1  [nativecode=1104 ** The SELECT would examine more than MAX_JOIN_SIZE rows; check your WHERE and use SET SQL_BIG_SELECTS=1 or SET SQL_MAX_JOIN_SIZE=# if the SELECT is okay]
    [type] => DB_Error
    [user_info] => select COUNT(DISTINCT(civicrm_activity.id)) as count from civicrm_activity
 
                  left join civicrm_activity_target at on
                            civicrm_activity.id = at.activity_id
                  left join civicrm_activity_assignment aa on
                            civicrm_activity.id = aa.activity_id
                  left join civicrm_activity_target as activity_target on
                            civicrm_activity.id = activity_target.activity_id
                  left join civicrm_activity_assignment as activity_assignment on
                            civicrm_activity.id = activity_assignment.activity_id                              
                  left join civicrm_contact sourceContact on
                            source_contact_id = sourceContact.id
         left join civicrm_contact targetContact on
                            activity_target.target_contact_id = targetContact.id
                  left join civicrm_contact assigneeContact on
                            activity_assignment.assignee_contact_id = assigneeContact.id
                  left join civicrm_option_value on
                            ( civicrm_activity.activity_type_id = civicrm_option_value.value )
                  left join civicrm_option_group on  
                            civicrm_option_group.id = civicrm_option_value.option_group_id
                  left join civicrm_case_activity on
                            civicrm_case_activity.activity_id = civicrm_activity.id
                  left join civicrm_case on
                            civicrm_case_activity.case_id = civicrm_case.id
                  left join civicrm_case_contact on
                            civicrm_case_contact.case_id = civicrm_case.id  where  ( source_contact_id = 1 or
                          at.target_contact_id = 1 or
                          aa.assignee_contact_id = 1 or
                          civicrm_case_contact.contact_id = 1 )
                   and civicrm_option_group.name = 'activity_type'
                   and (civicrm_option_value.component_id IS NULL OR civicrm_option_value.component_id IN (1, 2, 3, 4, 6, 8))
                   and is_test = 0  and 1 and  ((civicrm_case_activity.case_id Is Null) OR (civicrm_option_value.name <> 'Inbound Email' AND civicrm_option_value.name <> 'Email' AND civicrm_case_activity.case_id Is Not Null))  and  civicrm_activity.status_id = 1  [nativecode=1104 ** The SELECT would examine more than MAX_JOIN_SIZE rows; check your WHERE and use SET SQL_BIG_SELECTS=1 or SET SQL_MAX_JOIN_SIZE=# if the SELECT is okay]
    [to_string] => [db_error: message="DB Error: unknown error" code=-1 mode=callback callback=CRM_Core_Error::handle prefix="" info="select COUNT(DISTINCT(civicrm_activity.id)) as count from civicrm_activity
 
                  left join civicrm_activity_target at on
                            civicrm_activity.id = at.activity_id
                  left join civicrm_activity_assignment aa on
                            civicrm_activity.id = aa.activity_id
                  left join civicrm_activity_target as activity_target on
                            civicrm_activity.id = activity_target.activity_id
                  left join civicrm_activity_assignment as activity_assignment on
                            civicrm_activity.id = activity_assignment.activity_id                              
                  left join civicrm_contact sourceContact on
                            source_contact_id = sourceContact.id
         left join civicrm_contact targetContact on
                            activity_target.target_contact_id = targetContact.id
                  left join civicrm_contact assigneeContact on
                            activity_assignment.assignee_contact_id = assigneeContact.id
                  left join civicrm_option_value on
                            ( civicrm_activity.activity_type_id = civicrm_option_value.value )
                  left join civicrm_option_group on  
                            civicrm_option_group.id = civicrm_option_value.option_group_id
                  left join civicrm_case_activity on
                            civicrm_case_activity.activity_id = civicrm_activity.id
                  left join civicrm_case on
                            civicrm_case_activity.case_id = civicrm_case.id
                  left join civicrm_case_contact on
                            civicrm_case_contact.case_id = civicrm_case.id  where  ( source_contact_id = 1 or
                          at.target_contact_id = 1 or
                          aa.assignee_contact_id = 1 or
                          civicrm_case_contact.contact_id = 1 )
                   and civicrm_option_group.name = 'activity_type'
                   and (civicrm_option_value.component_id IS NULL OR civicrm_option_value.component_id IN (1, 2, 3, 4, 6, 8))
                   and is_test = 0  and 1 and  ((civicrm_case_activity.case_id Is Null) OR (civicrm_option_value.name <> 'Inbound Email' AND civicrm_option_value.name <> 'Email' AND civicrm_case_activity.case_id Is Not Null))  and  civicrm_activity.status_id = 1  [nativecode=1104 ** The SELECT would examine more than MAX_JOIN_SIZE rows; check your WHERE and use SET SQL_BIG_SELECTS=1 or SET SQL_MAX_JOIN_SIZE=# if the SELECT is okay]"]
)

[/quote]

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: Major non-recoverable error after upgrading to 3.0
October 08, 2009, 06:24:50 pm

this is fixed in 3.0.1

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

zuesty

  • I post occasionally
  • **
  • Posts: 31
  • Karma: 2
  • CiviCRM version: 4.1.1
  • CMS version: Joomla! 2.5.3
Re: Major non-recoverable error after upgrading to 3.0
October 08, 2009, 11:16:10 pm
Yes, it did. Thank you.  ;D

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Major non-recoverable error after upgrading to 3.0

This forum was archived on 2017-11-26.