Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-11845

Multi-lingual upgrade not working

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.3.0
    • Fix Version/s: 4.3.0
    • Component/s: None
    • Labels:
      None

      Description

      Column name 'label' not found error while upgrading civicrm to 4.3alpha1 for a multilingual site. Below is the backtrace

      $CRM_Queue_Page_AJAX_runNext_error = PEAR_Exception: "DB Error: "

      • ERROR TYPE: DB_Error
      • ERROR CODE: -1
      • ERROR MESSAGE: DB Error:
      • ERROR MODE: 16
      • ERROR USERINFO: 1054 ** Unknown column 'title' in 'field list' [DB Error: unknown error]
      • ERROR DEBUGINFO: 1054 ** Unknown column 'title' in 'field list' [DB Error: unknown error]
        #0 [internal function](): CRM_Core_Error::exceptionHandler(Object(DB_Error))
        #1 /var/www/drupal/sites/all/modules/civicrm/packages/PEAR.php(931): call_user_func((Array:2), Object(DB_Error))
        #2 /var/www/drupal/sites/all/modules/civicrm/packages/DB.php(972): PEAR_Error->PEAR_Error("DB Error: ", -1, 16, (Array:2), "1054 ** Unknown column 'title' in 'field list' [DB Error: unknown error]")
        #3 /var/www/drupal/sites/all/modules/civicrm/packages/PEAR.php(564): DB_Error->DB_Error(NULL, 16, (Array:2), "1054 ** Unknown column 'title' in 'field list' [DB Error: unknown error]")
        #4 /var/www/drupal/sites/all/modules/civicrm/packages/DB/common.php(1904): PEAR->raiseError(NULL, NULL, NULL, NULL, "1054 ** Unknown column 'title' in 'field list' [DB Error: unknown error]", "DB_Error", TRUE)
        #5 /var/www/drupal/sites/all/modules/civicrm/packages/DB/mysql.php(898): DB_common->raiseError(-19, NULL, NULL, NULL, "1054 ** Unknown column 'title' in 'field list'")
        #6 /var/www/drupal/sites/all/modules/civicrm/packages/DB/mysql.php(327): DB_mysql->mysqlRaiseError()
        #7 /var/www/drupal/sites/all/modules/civicrm/packages/DB/common.php(1216): DB_mysql->simpleQuery("INSERT INTO\n `civicrm_option_group` (`name`, `title`, `is_reserved`, `is_a...")
        #8 /var/www/drupal/sites/all/modules/civicrm/CRM/Utils/File.php(285): DB_common->query("INSERT INTO\n `civicrm_option_group` (`name`, `title`, `is_reserved`, `is_a...")
        #9 /var/www/drupal/sites/all/modules/civicrm/CRM/Upgrade/Form.php(159): CRM_Utils_File->sourceSQLFile("mysql://root:root@localhost/drupal_crm?new_link=true", "\n \n SELECT @workflow_id := MAX(id) FROM civicrm_option_value WHERE name =...", NULL, TRUE)
        #10 /var/www/drupal/sites/all/modules/civicrm/CRM/Upgrade/Form.php(299): CRM_Upgrade_Form->source("\n \n SELECT @workflow_id := MAX(id) FROM civicrm_option_value WHERE name =...", TRUE)
        #11 /var/www/drupal/sites/all/modules/civicrm/CRM/Upgrade/Form.php(323): CRM_Upgrade_Form->processLocales("/var/www/drupal/sites/all/modules/civicrm/CRM/Upgrade/Incremental/sql/4.3.alp...", "4.3.alpha1")
        #12 /var/www/drupal/sites/all/modules/civicrm/CRM/Upgrade/Incremental/php/FourThree.php(587): CRM_Upgrade_Form->processSQL("4.3.alpha1")
        #13 [internal function](): CRM_Upgrade_Incremental_php_FourThree::task_4_3_x_runSql(Object(CRM_Queue_TaskContext), "4.3.alpha1")
        #14 /var/www/drupal/sites/all/modules/civicrm/CRM/Queue/Task.php(79): call_user_func_array((Array:2), (Array:2))
        #15 /var/www/drupal/sites/all/modules/civicrm/CRM/Queue/Runner.php(186): CRM_Queue_Task->run(Object(CRM_Queue_TaskContext))
        #16 /var/www/drupal/sites/all/modules/civicrm/CRM/Queue/Page/AJAX.php(44): CRM_Queue_Runner->runNext(TRUE)
        #17 /var/www/drupal/sites/all/modules/civicrm/CRM/Queue/ErrorPolicy.php(80): {closure}

        ()
        #18 /var/www/drupal/sites/all/modules/civicrm/CRM/Queue/Page/AJAX.php(47): CRM_Queue_ErrorPolicy->call(Object(Closure))
        #19 [internal function](): CRM_Queue_Page_AJAX::runNext((Array:5))
        #20 /var/www/drupal/sites/all/modules/civicrm/CRM/Core/Invoke.php(260): call_user_func((Array:2), (Array:5))
        #21 /var/www/drupal/sites/all/modules/civicrm/CRM/Core/Invoke.php(70): CRM_Core_Invoke::runItem((Array:13))
        #22 /var/www/drupal/sites/all/modules/civicrm/CRM/Core/Invoke.php(52): CRM_Core_Invoke::_invoke((Array:5))
        #23 /var/www/drupal/sites/all/modules/civicrm/drupal/civicrm.module(405): CRM_Core_Invoke::invoke((Array:5))
        #24 [internal function](): civicrm_invoke("upgrade", "queue", "ajax", "runNext")
        #25 /var/www/drupal/includes/menu.inc(516): call_user_func_array("civicrm_invoke", (Array:4))
        #26 /var/www/drupal/index.php(21): menu_execute_active_handler()
        #27

        {main}

        Attachments

          Activity

            People

            • Assignee:
              pradeep.nayak Pradeep Nayak
              Reporter:
              pradeep.nayak Pradeep Nayak
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: