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

Incremental upgrade for 2.2.7 fails with syntax error

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 2.2.7
    • Fix Version/s: 2.2.7
    • Component/s: Core CiviCRM
    • Labels:
      None

      Description

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

      [code] => -2
      [message] => DB Error: syntax error
      [mode] => 16
      [debug_info] => INSERT INTO civicrm_report_instance
      ( title, report_id, description, permission, form_values )
      VALUES
      ( 'Constituent Report (Summary)', 'contact/summary', 'Provides a list of address and telephone information for constituent records in your system.', 'a:2:{i:0 [nativecode=1064 ** You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''a:2:{i:0' at line 4]
      [type] => DB_Error
      [user_info] => INSERT INTO civicrm_report_instance
      ( title, report_id, description, permission, form_values )
      VALUES
      ( 'Constituent Report (Summary)', 'contact/summary', 'Provides a list of address and telephone information for constituent records in your system.', 'a:2:{i:0 [nativecode=1064 ** You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''a:2:{i:0' at line 4]
      [to_string] => [db_error: message="DB Error: syntax error" code=-2 mode=callback callback=CRM_Core_Error::handle prefix="" info="INSERT INTO civicrm_report_instance
      ( title, report_id, description, permission, form_values )
      VALUES
      ( 'Constituent Report (Summary)', 'contact/summary', 'Provides a list of address and telephone information for constituent records in your system.', 'a:2:{i:0 [nativecode=1064 ** You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''a:2:{i:0' at line 4]"]
      )

      I couldn't see anything obvious. For reference my mysql version is 5.0.45.

        Attachments

          Activity

            People

            • Assignee:
              kiran.jagtap Kiran Jagtap
              Reporter:
              demeritcowboy Dave D
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: