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

Unable to switch on logging - Database Error Code: Incorrect table definition

    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

      The code is currently failing to enable log -

      Database Error Code: Incorrect table definition; there can be only one TIMESTAMP column with CURRENT_TIMESTAMP

      Reason is civicrm_contact table now also has modified_date column with default as CURRENT_TIMESTAMP in addition to log_date. And per mysql there could only be one.

        Attachments

          Activity

            People

            • Assignee:
              deepak Deepak Srivastava
              Reporter:
              deepak Deepak Srivastava
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: