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

Fatal error on Contribution logging summary report (possibly remove - see comment)

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.7.4
    • Fix Version/s: 4.7.27
    • Component/s: None
    • Labels:
    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      None
    • Funding Source:
      Contributed Code

      Description

      On testing some changes to make sure they hadn't damaged the logging/contribution/summary report I found it was already broken with this message

      Database Error Code: 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 'FROM civicrm_temp_civireport_logsummary entity_log_civireport WHERE (1) GROUP BY' at line 1, 1064
      Additional Details:
      Array
      (
      [callback] => Array
      (
      [0] => CRM_Core_Error
      [1] => handle
      )

      [code] => -2
      [message] => DB Error: syntax error
      [mode] => 16
      [debug_info] =>
      FROM civicrm_temp_civireport_logsummary entity_log_civireport
      WHERE (1)
      GROUP BY log_civicrm_entity_log_date, log_civicrm_entity_log_type_label, log_civicrm_entity_log_conn_id, log_civicrm_entity_log_user_id, log_civicrm_entity_altered_contact_id
      ORDER BY log_civicrm_entity_log_date DESC LIMIT 0, 50 [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 'FROM civicrm_temp_civireport_logsummary entity_log_civireport
      WHERE (1)
      GROUP BY' at line 1]
      [type] => DB_Error
      [user_info] =>
      FROM civicrm_temp_civireport_logsummary entity_log_civireport
      WHERE (1)
      GROUP BY log_civicrm_entity_log_date, log_civicrm_entity_log_type_label, log_civicrm_entity_log_conn_id, log_civicrm_entity_log_user_id, log_civicrm_entity_altered_contact_id
      ORDER BY log_civicrm_entity_log_date DESC LIMIT 0, 50 [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 'FROM civicrm_temp_civireport_logsummary entity_log_civireport
      WHERE (1)
      GROUP BY' at line 1]
      [to_string] => [db_error: message="DB Error: syntax error" code=-2 mode=callback callback=CRM_Core_Error::handle prefix="" info="
      FROM civicrm_temp_civireport_logsummary entity_log_civireport
      WHERE (1)
      GROUP BY log_civicrm_entity_log_date, log_civicrm_entity_log_type_label, log_civicrm_entity_log_conn_id, log_civicrm_entity_log_user_id, log_civicrm_entity_altered_contact_id
      ORDER BY log_civicrm_entity_log_date DESC LIMIT 0, 50 [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 'FROM civicrm_temp_civireport_logsummary entity_log_civireport
      WHERE (1)
      GROUP BY' at line 1]"]
      )

        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: