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

upgrade bug on civicrm_phone conversion

    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:

      Description

      Latest problem with upgrade appears to be that the log_phone table has not had the phone_numeric added to it duing the upgrade- although the trigger has been recreated

      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/x html1/DTD/xhtml1-strict.dtd">
      <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">

      <head>
      <title></title>
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
      <base href="https://www.breastfeeding.asn.au/sites/all/modules/civicrm/" />
      <style type="text/css" media="screen">@import url(https://www.breastfeeding.as n.au/sites/all/modules/civicrm/css/civicrm.css);</style>
      <style type="text/css" media="screen">@import url(https://www.breastfeeding.as n.au/sites/all/modules/civicrm/css/extras.css);</style>
      </head>
      <body>
      <div id="crm-container" lang="en" xml:lang="en">
      <div class="messages status no-popup"> <div class="icon red-icon alert-icon"></ div>
      <span class="status-fatal">Sorry but we are not able to provide this at the mom ent.</span>
      <div class="crm-section crm-error-message"></div>
      <hr style="solid 1px" />
      <div class="crm-section crm-error-message">DB Error: no such field</div>
      <div class="crm-accordion-wrapper collapsed crm-fatal-error-deta ils-block" onclick="toggle(this);";>
      <div class="crm-accordion-header">
      Error Details </div><!-- /.crm-accordion-header -->
      <div class="crm-accordion-body">
      <div class="crm-section">Add itional Details: <p><pre>Array
      (
      [callback] => Array
      (
      [0] => CRM_Core_Error
      [1] => handle
      )

      [code] => -19
      [message] => DB Error: no such field
      [mode] => 16
      [debug_info] => UPDATE civicrm_phone SET phone_numeric = civicrm_strip_no n_numeric(phone) [nativecode=1054 ** Unknown column 'phone_numeric' in 'field li st']
      [type] => DB_Error
      [user_info] => UPDATE civicrm_phone SET phone_numeric = civicrm_strip_non _numeric(phone) [nativecode=1054 ** Unknown column 'phone_numeric' in 'field lis t']
      [to_string] => [db_error: message="DB Error: no such field" cod e=-19 mode=callback callback=CRM_Core_Error::handle prefix="" info=&qu ot;UPDATE civicrm_phone SET phone_numeric = civicrm_strip_non_numeric(phone) [na tivecode=1054 ** Unknown column 'phone_numeric' in 'field list']"]
      )
      </pre></p><p></p></div>
      </div><!-- /.crm-accordion-body -->
      </div><!-- /.crm-accordion-wrapper -->
      <p><a href="http://staging.breastfeeding.asn.au/" title="Main Menu">Retu rn to home page.</a></p>
      </div>
      </div>
      <script language="JavaScript">
      function toggle( element ) {
      var className = element.className;
      if ( className == 'crm-accordion-wrapper collapsed crm-fatal-error-details- block')

      { element.className = 'crm-accordion-wrapper crm-fatal-error-details-bloc k'; }

      else

      { element.className = 'crm-accordion-wrapper collapsed crm-fatal-error-det ails-block'; }

      }
      </script>

      </body>
      </html>
      Drush command terminated abnormally due to an unrecoverable error. [error]

        Attachments

          Activity

            People

            • Assignee:
              eileen Eileen McNaughton
              Reporter:
              eileen Eileen McNaughton
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: