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

Core error if you try to turn on logging & don't have enough permissions

    Details

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

      Description

      If you go to turn on logging here civicrm/admin/setting/misc without sufficient SQL permissions on your account you get a CORE error - probably just needs a more graceful permission check & message (note that logging shows as being on afterwards in the UI)

      Database Error Code: Access denied; you need the SUPER privilege for this operation, 1227
      Additional Details:

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

      [code] => a515ac9c2796ca0e23adbe92c68fc9fc
      [message] => DB Error: a515ac9c2796ca0e23adbe92c68fc9fc
      [mode] => 16
      [debug_info] => DROP TRIGGER IF EXISTS civicrm_acl_after_insert [nativecode=1227 ** Access denied; you need the SUPER privilege for this operation]
      [type] => DB_Error
      [user_info] => DROP TRIGGER IF EXISTS civicrm_acl_after_insert [nativecode=1227 ** Access denied; you need the SUPER privilege for this operation]
      [to_string] => [db_error: message="DB Error: a515ac9c2796ca0e23adbe92c68fc9fc" code=0 mode=callback callback=CRM_Core_Error::handle prefix="" info="DROP TRIGGER IF EXISTS civicrm_acl_after_insert [nativecode=1227 ** Access denied; you need the SUPER privilege for this operation]"]
      )

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: