Have a question about CiviCRM? Get it answered quickly at the new CiviCRM Stack Exchange Q+A siteThis 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 Upgrade Tasks[Error: Upgrade DB to 4.3.alpha1]Error Field Error ValueType DB_ErrorCode -1Message DB Error: unknown errorMode 16UserInfo ALTER TABLE civicrm_membership_type DROP FOREIGN KEY FK_civicrm_membership_autorenewal_msg_id [nativecode=1025 ** Error on rename of './chautaar_chautaardr7_crm/civicrm_membership_type' to './chautaar_chautaardr7_crm/#sql2-3003-27ab9ed' (errno: 152)]DebugInfo ALTER TABLE civicrm_membership_type DROP FOREIGN KEY FK_civicrm_membership_autorenewal_msg_id [nativecode=1025 ** Error on rename of './chautaar_chautaardr7_crm/civicrm_membership_type' to './chautaar_chautaardr7_crm/#sql2-3003-27ab9ed' (errno: 152)]PEAR_Exception: DB Error: unknown error in unknown on line unknown- DB_Error: DB Error: unknown error in unknown on line unknownException trace# Function Location0 CRM_Core_Error::exceptionHandler(Object(DB_Error)) unknown:unknown1 call_user_func(Array, Object(DB_Error)) /home/chautaar/public_html/sites/all/modules/civicrm/packages/PEAR.php:9312 PEAR_Error->PEAR_Error('DB Error: unknow…', -1, 16, Array, 'ALTER TABLE civi…') /home/chautaar/public_html/sites/all/modules/civicrm/packages/DB.php:9693 DB_Error->DB_Error(-1, 16, Array, 'ALTER TABLE civi…') /home/chautaar/public_html/sites/all/modules/civicrm/packages/PEAR.php:5644 PEAR->raiseError(null, -1, null, null, 'ALTER TABLE civi…', 'DB_Error', true) /home/chautaar/public_html/sites/all/modules/civicrm/packages/DB/common.php:19055 DB_common->raiseError(-1, null, null, null, '1025 ** Error on…') /home/chautaar/public_html/sites/all/modules/civicrm/packages/DB/mysql.php:8986 DB_mysql->mysqlRaiseError() /home/chautaar/public_html/sites/all/modules/civicrm/packages/DB/mysql.php:3277 DB_mysql->simpleQuery('ALTER TABLE civi…') /home/chautaar/public_html/sites/all/modules/civicrm/packages/DB/common.php:12168 DB_common->query('ALTER TABLE civi…') /home/chautaar/public_html/sites/all/modules/civicrm/packages/DB/DataObject.php:24219 DB_DataObject->_query('ALTER TABLE civi…') /home/chautaar/public_html/sites/all/modules/civicrm/packages/DB/DataObject.php:161310 DB_DataObject->query('ALTER TABLE civi…') /home/chautaar/public_html/sites/all/modules/civicrm/CRM/Core/DAO.php:15511 CRM_Core_DAO->query('ALTER TABLE civi…', false) /home/chautaar/public_html/sites/all/modules/civicrm/CRM/Core/DAO.php:91712 CRM_Core_DAO::executeQuery('ALTER TABLE civi…', Array, true, null, false, false) /home/chautaar/public_html/sites/all/modules/civicrm/CRM/Upgrade/Incremental/php/FourThree.php:77913 CRM_Upgrade_Incremental_php_FourThree->task_4_3_alpha1_checkDBConstraints() /home/chautaar/public_html/sites/all/modules/civicrm/CRM/Upgrade/Incremental/php/FourThree.php:19314 CRM_Upgrade_Incremental_php_FourThree->upgrade_4_3_alpha1('4.3.alpha1') /home/chautaar/public_html/sites/all/modules/civicrm/CRM/Upgrade/Form.php:57015 CRM_Upgrade_Form::doIncrementalUpgradeStep(Object(CRM_Queue_TaskContext), '4.3.alpha1', '4.2.7', '4.3.2', '/tmp/civicrm-pos…') unknown:unknown16 call_user_func_array(Array, Array) /home/chautaar/public_html/sites/all/modules/civicrm/CRM/Queue/Task.php:7917 CRM_Queue_Task->run(Object(CRM_Queue_TaskContext)) /home/chautaar/public_html/sites/all/modules/civicrm/CRM/Queue/Runner.php:18618 CRM_Queue_Runner->runNext(true) /home/chautaar/public_html/sites/all/modules/civicrm/CRM/Queue/Page/AJAX.php:4419 {closure}() /home/chautaar/public_html/sites/all/modules/civicrm/CRM/Queue/ErrorPolicy.php:8020 CRM_Queue_ErrorPolicy->call(Object(Closure)) /home/chautaar/public_html/sites/all/modules/civicrm/CRM/Queue/Page/AJAX.php:4721 CRM_Queue_Page_AJAX::runNext(Array) unknown:unknown22 call_user_func(Array, Array) /home/chautaar/public_html/sites/all/modules/civicrm/CRM/Core/Invoke.php:25823 CRM_Core_Invoke::runItem(Array) /home/chautaar/public_html/sites/all/modules/civicrm/CRM/Core/Invoke.php:7024 CRM_Core_Invoke::_invoke(Array) /home/chautaar/public_html/sites/all/modules/civicrm/CRM/Core/Invoke.php:5225 CRM_Core_Invoke::invoke(Array) /home/chautaar/public_html/sites/all/modules/civicrm/drupal/civicrm.module:43626 civicrm_invoke('upgrade', 'queue', 'ajax', 'runNext') unknown:unknown27 call_user_func_array('civicrm_invoke', Array) /home/chautaar/public_html/includes/menu.inc:51728 menu_execute_active_handler() /home/chautaar/public_html/index.php:21