Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Blocker
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.6.10
-
Fix Version/s: 4.6.10
-
Component/s: None
-
Labels:None
-
Documentation Required?:None
-
Funding Source:Core Team Funds
Description
$backTrace = #0 /var/www/sites/all/modules/civicrm/CRM/Core/Error.php(235): CRM_Core_Error::backtrace("backTrace", TRUE) #1 [internal function](): CRM_Core_Error::handle(Object(DB_Error)) #2 /var/www/sites/all/modules/civicrm/packages/PEAR.php(931): call_user_func((Array:2), Object(DB_Error)) #3 /var/www/sites/all/modules/civicrm/packages/DB.php(976): PEAR_Error->PEAR_Error("DB Error: already exists", 5, 16, (Array:2), "INSERT INTO civicrm_option_group (name , is_active ) VALUES ('safe_file_exten...") #4 /var/www/sites/all/modules/civicrm/packages/PEAR.php(564): DB_Error>DB_Error(5, 16, (Array:2), "INSERT INTO civicrm_option_group (name , is_active ) VALUES ('safe_file_exten...") #5 /var/www/sites/all/modules/civicrm/packages/DB/common.php(1905): PEAR>raiseError(NULL, 5, NULL, NULL, "INSERT INTO civicrm_option_group (name , is_active ) VALUES ('safe_file_exten...", "DB_Error", TRUE) #6 /var/www/sites/all/modules/civicrm/packages/DB/mysql.php(895): DB_common>raiseError(5, NULL, NULL, NULL, "1062 ** Duplicate entry 'safe_file_extension' for key 'UI_name'") #7 /var/www/sites/all/modules/civicrm/packages/DB/mysql.php(328): DB_mysql>mysqlRaiseError() #8 /var/www/sites/all/modules/civicrm/packages/DB/common.php(1216): DB_mysql->simpleQuery("INSERT INTO civicrm_option_group (name , is_active ) VALUES ('safe_file_exten...") #9 /var/www/sites/all/modules/civicrm/packages/DB/DataObject.php(2442): DB_common->query("INSERT INTO civicrm_option_group (name , is_active ) VALUES ('safe_file_exten...") #10 /var/www/sites/all/modules/civicrm/packages/DB/DataObject.php(1060): DB_DataObject->_query("INSERT INTO civicrm_option_group (name , is_active ) VALUES ('safe_file_exten...") #11 /var/www/sites/all/modules/civicrm/CRM/Core/DAO.php(450): DB_DataObject->insert() #12 /var/www/sites/all/modules/civicrm/CRM/Core/BAO/OptionGroup.php(107): CRM_Core_DAO->save() #13 /var/www/sites/all/modules/civicrm/CRM/Core/OptionValue.php(197): CRM_Core_BAO_OptionGroup::add((Array:4), NULL) #14 /var/www/sites/all/modules/civicrm/CRM/Admin/Form/Options.php(446): CRM_Core_OptionValue::addOptionValue((Array:9), (Array:4), 1, NULL) #15 /var/www/sites/all/modules/civicrm/CRM/Core/Form.php(345): CRM_Admin_Form_Options->postProcess() #16 /var/www/sites/all/modules/civicrm/CRM/Core/StateMachine.php(164): CRM_Core_Form->mainProcess() #17 /var/www/sites/all/modules/civicrm/CRM/Core/QuickForm/Action/Next.php(61): CRM_Core_StateMachine->perform(Object(CRM_Admin_Form_Options), "next", "Next") #18 /var/www/sites/all/modules/civicrm/packages/HTML/QuickForm/Controller.php(203): CRM_Core_QuickForm_Action_Next->perform(Object(CRM_Admin_Form_Options), "next") #19 /var/www/sites/all/modules/civicrm/packages/HTML/QuickForm/Page.php(103): HTML_QuickForm_Controller->handle(Object(CRM_Admin_Form_Options), "next") #20 /var/www/sites/all/modules/civicrm/CRM/Core/Controller.php(353): HTML_QuickForm_Page->handle("next") #21 /var/www/sites/all/modules/civicrm/CRM/Core/Page/Basic.php(395): CRM_Core_Controller->run() #22 /var/www/sites/all/modules/civicrm/CRM/Core/Page/Basic.php(174): CRM_Core_Page_Basic->edit(1, NULL) #23 /var/www/sites/all/modules/civicrm/CRM/Admin/Page/Options.php(229): CRM_Core_Page_Basic->run() #24 /var/www/sites/all/modules/civicrm/CRM/Core/Invoke.php(312): CRM_Admin_Page_Options->run((Array:4), NULL) #25 /var/www/sites/all/modules/civicrm/CRM/Core/Invoke.php(86): CRM_Core_Invoke::runItem((Array:13)) #26 /var/www/sites/all/modules/civicrm/CRM/Core/Invoke.php(54): CRM_Core_Invoke::_invoke((Array:4)) #27 /var/www/sites/all/modules/civicrm/drupal/civicrm.module(489): CRM_Core_Invoke::invoke((Array:4)) #28 [internal function](): civicrm_invoke("admin", "options", "safe_file_extension") #29 /var/www/includes/menu.inc(527): call_user_func_array("civicrm_invoke", (Array:3)) #30 /var/www/index.php(21): menu_execute_active_handler() #31