Closed (fixed)
Project:
Module Grants
Version:
6.x-3.2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 Jan 2010 at 20:07 UTC
Updated:
18 Dec 2011 at 03:01 UTC
Hello,
I ran into your module while looking for a solution to allow non-users of an organic group to view posts made inside a private group. All of this in open atrium though.
I get these errors when trying to review a node inside a group:
* warning: array_fill() [function.array-fill]: Number of elements must be positive in /var/aegir/platforms/oab4/drupal-6.15/includes/database.inc on line 253.
* warning: implode() [function.implode]: Bad arguments. in /var/aegir/platforms/oab4/drupal-6.15/includes/database.inc on line 253.
* warning: array_keys() [function.array-keys]: The first argument should be an array in /var/aegir/platforms/oab4/drupal-6.15/modules/user/user.module on line 502.
* user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1 query: SELECT p.perm FROM role r INNER JOIN permission p ON p.rid = r.rid WHERE r.rid IN () in /var/aegir/platforms/oab4/drupal-6.15/modules/user/user.module on line 502.
I get "access denied" and those errors for anyone trying to view nodes in a group. Even user1 cant access nodes in a group.
I was trying to test this with node access user reference. Even without that module installed I get these errors.
Comments
Comment #1
rdeboerSorry, but I need a reproduceable test case to investigate further, like a list of modules enabled on your system and a description of what you click to get the error.
Comment #2
that0n3guy commentedHere is what will do it every time:
--Install open atrium: http://openatrium.com/sites/openatrium.com/files/atrium_releases/atrium-...
--Upload module_grants and enable in modules
--Create a group using user1, call it whatever you want, set as private.
--Hit save and BAMMM... errors... every time.
My thoughts are that is has something to do with spaces... specifically spaces_og. But I am far from an expert.
I thought I would show you this example: https://community.openatrium.com/issues/node/1233
It shows there is something different between using plain OG and OG with spaces...
Comment #3
jwmci commentedI'm getting fatal errors like the one below.
Fatal error: Cannot redeclare system_main_admin_page() (previously declared in /home3/coloraq8/public_html/cgpdrupal/sites/default/modules/atrium-1-0-beta4/modules/system/system.admin.inc:12) in /home3/coloraq8/public_html/cgpdrupal/modules/system/system.admin.inc on line 60
I would be happy to furnish further information. Tell me what you'd like.
John
Comment #4
jwmci commentedComment #5
rdeboerMaybe this Spaces patch will solve this issue #828262: Doesn't work with SPACES module ?
This patch has been checked in and will be available in 6.x-3.7
Comment #6
rdeboerNo more reports of this problem for 6 months. Closing.