Answers.Body: <p>My fault. The issue seems to be caused by wrong Permission in Access settings in Report.</p>
  
  <p>Instead of using <strong>CiviCRM: View all contacts</strong> it was set to <strong>CiviReport: Access CiviReport</strong>.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-05-07T06:33:44.847Z
Answers.LastActivityDate: 2017-05-07T06:33:44.847Z
Answers.UserDisplayName: Aivars
Body: <p>I am requesting Reports via Cron to email:
  <a href="https://crm.xxx.lv/sites/all/modules/civicrm/bin/cron.php?pass=xxx&amp;name=xxx&amp;key=xxxx&amp;job=mail_report&amp;format=csv&amp;instanceId=70" rel="nofollow noreferrer">https://crm.xxx.lv/sites/all/modules/civicrm/bin/cron.php?pass=xxx&amp;name=xxx&amp;key=xxxx&amp;job=mail_report&amp;format=csv&amp;instanceId=70</a></p>
  
  <p>All reports work just fine, except for one which returns the following error when I run the address in browser.</p>
  
  <p>Before there was an identical report (Constituent Summary) which just disappeared from system somehow. When I created identical new report, this error came up.</p>
  
  <p>How can I solve it?</p>
  
  <p>CiviCRM 4.7.14. on Drupal</p>
  
  <p><a href="https://i.sstatic.net/ZDDCz.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/ZDDCz.png" alt="enter image description here"></a></p>
  
Tags: <reports><cron>
Title: Error: Warning: ini_set(): A session is active
ThreadText: # Error: Warning: ini_set(): A session is active
  
  (Asked by: username_0 on 2017-05-06)
  
  I am requesting Reports via Cron to email:
  <https://crm.xxx.lv/sites/all/modules/civicrm/bin/cron.php?pass=xxx&name=xxx&key=xxxx&job=mail_report&format=csv&instanceId=70>
  
  All reports work just fine, except for one which returns the following error when I run the address in browser.
  
  Before there was an identical report (Constituent Summary) which just disappeared from system somehow. When I created identical new report, this error came up.
  
  How can I solve it?
  
  CiviCRM 4.7.14. on Drupal
  
  [![enter image description here](https://i.sstatic.net/ZDDCz.png)](https://i.sstatic.net/ZDDCz.png)
  
  **Tags:** reports, cron
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2017-05-07. Score: 1
  
  My fault. The issue seems to be caused by wrong Permission in Access settings in Report.
  
  Instead of using **CiviCRM: View all contacts** it was set to **CiviReport: Access CiviReport**.
  
  
  ---
  
  