Answers.Body: <p>Go to <code>/admin/people/permissions</code> and look for the CiviReport permissions.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-01-16T09:41:14.487Z
Answers.Text: no CiviReport in the list of permissions
Answers.UserDisplayName: MarkDQ
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-01-16T16:51:11.560Z
Answers.Text: Then check the Reports component is enabled at `/civicrm/admin/setting/component`
Answers.UserDisplayName: Aidan
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-01-20T01:17:25.897Z
Answers.Text: Aidan, I have done so, and it works now. Error message was pointing to a permission problem, while it seems to be a component disabled problem! What a waste of time to finally discover that the error message was... erroneous :(
Answers.UserDisplayName: MarkDQ
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-01-16T08:37:37.920Z
Answers.LastActivityDate: 2017-01-16T08:37:37.920Z
Answers.UserDisplayName: Aidan
Body: <p>As an administrator i go to</p>
  
  <pre> Contributions &gt; Contribution reports</pre>
  
  <p>but I am getting an error: access not allowed</p>
  
  <p>In the Drupal log:</p>
  
  <pre>cannot access civicrm/report/list</pre>
  
  <p>In the CiviCRM log:</p>
  
  <pre>Jan 06 17:00:24  [info] $Fatal Error Details = Array
  (
      [message] =&gt;  is not of type String
      [code] =&gt; 
  )
  
  Jan 06 17:00:24  [info] $backTrace = #0 &lt;path_to_civicrm&gt;/CRM/Core/Error.php(331): CRM_Core_Error::backtrace("backTrace", TRUE)
  #1 &lt;path_to_civicrm&gt;/CRM/Core/DAO.php(1399): CRM_Core_Error::fatal(" is not of type String")
  #2 &lt;path_to_civicrm&gt;/CRM/Core/DAO.php(1284): CRM_Core_DAO::composeQuery("\nSELECT v.id, v.label, v.value, v.name, v.weight, v.description\nFROM   civi...", (Array:2), TRUE)
  #3 &lt;path_to_civicrm&gt;/CRM/Core/OptionGroup.php(602): CRM_Core_DAO::executeQuery("\nSELECT v.id, v.label, v.value, v.name, v.weight, v.description\nFROM   civi...", (Array:2))
  #4 &lt;path_to_civicrm&gt;/CRM/Report/Utils/Report.php(423): CRM_Core_OptionGroup::getRowValues("report_template", NULL, "value")
  #5 &lt;path_to_civicrm&gt;/api/v3/Job.php(224): CRM_Report_Utils_Report::processReport((Array:3))
  #6 &lt;path_to_civicrm&gt;/Civi/API/Provider/MagicFunctionProvider.php(89): civicrm_api3_job_mail_report((Array:3))
  #7 &lt;path_to_civicrm&gt;/Civi/API/Kernel.php(161): Civi\API\Provider\MagicFunctionProvider-&gt;invoke((Array:9))
  #8 &lt;path_to_civicrm&gt;/Civi/API/Kernel.php(92): Civi\API\Kernel-&gt;runRequest((Array:7))
  #9 &lt;path_to_civicrm&gt;/api/api.php(23): Civi\API\Kernel-&gt;runSafe("job", "mail_report", (Array:3), NULL)
  #10 &lt;path_to_civicrm&gt;/CRM/Core/JobManager.php(134): civicrm_api("job", "mail_report", (Array:3))
  #11 &lt;path_to_civicrm&gt;/CRM/Core/JobManager.php(79): CRM_Core_JobManager-&gt;executeJob(Object(CRM_Core_ScheduledJob))
  #12 &lt;path_to_civicrm&gt;/CRM/Utils/System.php(1691): CRM_Core_JobManager-&gt;execute(FALSE)
  #13 [internal function](): CRM_Utils_System::executeScheduledJobs()
  #14 &lt;path_to_civicrm&gt;/CRM/Core/Invoke.php(276): call_user_func((Array:2))
  #15 &lt;path_to_civicrm&gt;/CRM/Core/Invoke.php(84): CRM_Core_Invoke::runItem((Array:12))
  #16 &lt;path_to_civicrm&gt;/CRM/Core/Invoke.php(52): CRM_Core_Invoke::_invoke((Array:3))
  #17 &lt;path_to_civicrm&gt;/drupal/civicrm.module(448): CRM_Core_Invoke::invoke((Array:3))
  #18 [internal function](): civicrm_invoke("admin", "runjobs")
  #19 /home/&lt;account_name&gt;/public_html/includes/menu.inc(527): call_user_func_array("civicrm_invoke", (Array:2))
  #20 /home/&lt;account_name&gt;/public_html/index.php(21): menu_execute_active_handler()
  #21 {main}</pre>
  
  <p>As an administrator i should have full access, but i do not see the place where i can check (or change) this "full access", nor allowing myself to access report/list.</p>
  
  <p>Thanks for all information and help!</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-01-16T08:41:13.990Z
Comments.Text: Can you fill in more details i.e version, screenshot etc ? Do you see any backtrace in civi log file `sites/default/files/civicrm/ConfigAndLog/<file_name>.log`?
Comments.UserDisplayName: jitendra - fuzion
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-01-16T10:53:45.977Z
Comments.Text: @jitendrapurchit, thx for reply. This backtrace is in the log file:
  
  Jan 06 17:00:24  [info] $Fatal Error Details = Array
  (
      [message] =>  is not of type String
      [code] => 
  )
  
  
  Jan 06 17:00:24  [info] $backTrace = #0 /home/<account_name>/public_html/sites/all/modules/civicrm/CRM/Core/Error.php(331): CRM_Core_Error::backtrace("backTrace", TRUE)
  #1 ...
  
  (continues to #21, but cannot be posted here...)
Comments.UserDisplayName: MarkDQ
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-01-16T10:56:14.313Z
Comments.Text: So can you update the question with the backtrace, civi version ?
Comments.UserDisplayName: jitendra - fuzion
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-01-16T13:14:25.047Z
Comments.Text: @jitendrapurchit
  
  mysql/mariadb 5.6.34-log
  php 5.6.29
  drupal 7.53
  civicrm 4.7.14
Comments.UserDisplayName: MarkDQ
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-01-16T13:17:41.430Z
Comments.Text: Can you paste the backtrace in the question ?
Comments.UserDisplayName: jitendra - fuzion
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-01-16T16:43:04.607Z
Comments.Text: The backtrace is about scheduled jobs and a mail report - not contribution reports so looks like two separate things although may be related.
Comments.UserDisplayName: Aidan
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-01-20T01:20:12.577Z
Comments.Text: @Aidan Then where to find the error logging of (what seems to be) the CiviReport problem?
Comments.UserDisplayName: MarkDQ
Tags: <drupal><permissions>
Title: Cannot access civicrm/report/list
ThreadText: # Cannot access civicrm/report/list
  
  (Asked by: username_0 on 2017-01-15)
  
  As an administrator i go to
  
  ```
   Contributions > Contribution reports
  ```
  
  but I am getting an error: access not allowed
  
  In the Drupal log:
  
  ```
  cannot access civicrm/report/list
  ```
  
  In the CiviCRM log:
  
  ```
  Jan 06 17:00:24  [info] $Fatal Error Details = Array
  (
      [message] =>  is not of type String
      [code] => 
  )
  
  Jan 06 17:00:24  [info] $backTrace = #0 <path_to_civicrm>/CRM/Core/Error.php(331): CRM_Core_Error::backtrace("backTrace", TRUE)
  #1 <path_to_civicrm>/CRM/Core/DAO.php(1399): CRM_Core_Error::fatal(" is not of type String")
  #2 <path_to_civicrm>/CRM/Core/DAO.php(1284): CRM_Core_DAO::composeQuery("\nSELECT v.id, v.label, v.value, v.name, v.weight, v.description\nFROM   civi...", (Array:2), TRUE)
  #3 <path_to_civicrm>/CRM/Core/OptionGroup.php(602): CRM_Core_DAO::executeQuery("\nSELECT v.id, v.label, v.value, v.name, v.weight, v.description\nFROM   civi...", (Array:2))
  #4 <path_to_civicrm>/CRM/Report/Utils/Report.php(423): CRM_Core_OptionGroup::getRowValues("report_template", NULL, "value")
  #5 <path_to_civicrm>/api/v3/Job.php(224): CRM_Report_Utils_Report::processReport((Array:3))
  #6 <path_to_civicrm>/Civi/API/Provider/MagicFunctionProvider.php(89): civicrm_api3_job_mail_report((Array:3))
  #7 <path_to_civicrm>/Civi/API/Kernel.php(161): Civi\API\Provider\MagicFunctionProvider->invoke((Array:9))
  #8 <path_to_civicrm>/Civi/API/Kernel.php(92): Civi\API\Kernel->runRequest((Array:7))
  #9 <path_to_civicrm>/api/api.php(23): Civi\API\Kernel->runSafe("job", "mail_report", (Array:3), NULL)
  #10 <path_to_civicrm>/CRM/Core/JobManager.php(134): civicrm_api("job", "mail_report", (Array:3))
  #11 <path_to_civicrm>/CRM/Core/JobManager.php(79): CRM_Core_JobManager->executeJob(Object(CRM_Core_ScheduledJob))
  #12 <path_to_civicrm>/CRM/Utils/System.php(1691): CRM_Core_JobManager->execute(FALSE)
  #13 [internal function](): CRM_Utils_System::executeScheduledJobs()
  #14 <path_to_civicrm>/CRM/Core/Invoke.php(276): call_user_func((Array:2))
  #15 <path_to_civicrm>/CRM/Core/Invoke.php(84): CRM_Core_Invoke::runItem((Array:12))
  #16 <path_to_civicrm>/CRM/Core/Invoke.php(52): CRM_Core_Invoke::_invoke((Array:3))
  #17 <path_to_civicrm>/drupal/civicrm.module(448): CRM_Core_Invoke::invoke((Array:3))
  #18 [internal function](): civicrm_invoke("admin", "runjobs")
  #19 /home/<account_name>/public_html/includes/menu.inc(527): call_user_func_array("civicrm_invoke", (Array:2))
  #20 /home/<account_name>/public_html/index.php(21): menu_execute_active_handler()
  #21 {main}
  ```
  
  As an administrator i should have full access, but i do not see the place where i can check (or change) this "full access", nor allowing myself to access report/list.
  
  Thanks for all information and help!
  
  **Tags:** drupal, permissions
  
  > **Comments:**
  > **username_1**: Can you fill in more details i.e version, screenshot etc ? Do you see any backtrace in civi log file `sites/default/files/civicrm/ConfigAndLog/<file_name>.log`?  
  > **username_0**: @jitendrapurchit, thx for reply. This backtrace is in the log file:  Jan 06 17:00:24  [info] $Fatal Error Details = Array (     [message] =>  is not of type String     [code] =>  )   Jan 06 17:00:24  [info] $backTrace = #0 /home/<account_name>/public_html/sites/all/modules/civicrm/CRM/Core/Error.php(331): CRM_Core_Error::backtrace("backTrace", TRUE) #1 ...  (continues to #21, but cannot be posted here...)  
  > **username_1**: So can you update the question with the backtrace, civi version ?  
  > **username_0**: @jitendrapurchit  mysql/mariadb 5.6.34-log php 5.6.29 drupal 7.53 civicrm 4.7.14  
  > **username_1**: Can you paste the backtrace in the question ?  
  > **username_2**: The backtrace is about scheduled jobs and a mail report - not contribution reports so looks like two separate things although may be related.  
  > **username_0**: @username_2 Then where to find the error logging of (what seems to be) the CiviReport problem?  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2017-01-16. Score: 1 | Accepted answer
  
  Go to `/admin/people/permissions` and look for the CiviReport permissions.
  
  > **Comments:**
  > **username_0**: no CiviReport in the list of permissions  
  > **username_2**: Then check the Reports component is enabled at `/civicrm/admin/setting/component`  
  > **username_0**: username_2, I have done so, and it works now. Error message was pointing to a permission problem, while it seems to be a component disabled problem! What a waste of time to finally discover that the error message was... erroneous :(  
  
  ---
  
  