CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviReport (Moderator: Dave Greenberg) »
  • Warning related to permissions within Drupal and Reports
Pages: [1]

Author Topic: Warning related to permissions within Drupal and Reports  (Read 722 times)

NASACT

  • I post frequently
  • ***
  • Posts: 289
  • Karma: 9
    • National Association of State Auditors, Comptrollers and Treasurers
  • CiviCRM version: 4.2.2
  • CMS version: Drupal 7
  • MySQL version: 5.1.58 (ubuntu)
  • PHP version: 5.3.5
Warning related to permissions within Drupal and Reports
September 14, 2012, 07:35:06 am
I get the following warning when accessing

Warning: array_flip() [function.array-flip]: Can only flip STRING and INTEGER values! in DrupalDefaultEntityController->load() (line 178 of /XXX/includes/entity.inc).

If I change the access report permission to anonymous in drupal then the warning goes away. If I restrict access to authenticated or just admin the warning reappears.

I tried playing with the left and right columns for the ACL Roles within each report but for the life of me I cannot figure out which side is which. Is the right side the approved and the left side the denied or is it the other way around? I tried both ways and only made the warning appear twice at the top of the page rather than once.

Any idea what in reports could be the source of the warning?

Thanks!
-AJ
My GChat - azon21@gmail.com -  This is where you can find me most days!

NASACT

  • I post frequently
  • ***
  • Posts: 289
  • Karma: 9
    • National Association of State Auditors, Comptrollers and Treasurers
  • CiviCRM version: 4.2.2
  • CMS version: Drupal 7
  • MySQL version: 5.1.58 (ubuntu)
  • PHP version: 5.3.5
Re: Warning related to permissions within Drupal and Reports
September 14, 2012, 07:39:38 am
Sorry should clarify this is when I go to the reports section within CiviCRM that I see this at the top of the page. I first noticed this and posted it in the 4.1 testing sub-forum located here:

http://forum.civicrm.org/index.php?topic=23214.0
-AJ
My GChat - azon21@gmail.com -  This is where you can find me most days!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviReport (Moderator: Dave Greenberg) »
  • Warning related to permissions within Drupal and Reports

This forum was archived on 2017-11-26.