I'm unable to access the permissions area within the People section of the admin in Drupal. In case I'm doing something or in case there's an easy fix, I thought I'd ask. Anyone else have this issue? I haven't been able to find this issue listed elsewhere. Although I may not fully understand how to navigate the issues areas of these modules, etc.

Comments

kjv1611’s picture

I got the same issue - NO issues on a Beta release test site, but I've got the same issue on a new site, and this is using the supposed to be "stable" release.

Any thoughts - anybody?

John_B’s picture

I had the same this morning, it cleared up after I deleted module soundmananger2 (which anyway in the dev version was generating a warning and could not be disabled via the UI).

For completeness I mention I also deleted module contemplate, but I have no reason to suspect it.

So maybe not the fault of the stable release of Drupal, in my case it was my risk as I was running a dev module.

Digit Professionals specialising in Drupal, WordPress & CiviCRM support for publishers in non-profit and related sectors

gezzbanger’s picture

Same here. Drupal 7.0
'admin/people/permissions' is white screening and php logs show the error message as above;
Fatal error: ....modules/user/user.admin.inc on line 697.

Anyone have any ideas on debugging the source??
Thanks, I'm kinda stuck without permissions.
I guess its a case of switching off modules one by one.

Thanx.

gezzbanger’s picture

Buggy module 'beacon9_social'.

cajmcmahon’s picture

In my case I got "Fatal error: Unsupported operand types in /modules/user/user.admin.inc on line 696" after I installed and activated Open Web Statistics (7.x-1.x-dev).
Seems it might be a bug in the case of OWS: http://drupal.org/node/1228286#comment-4926166

mcmayer’s picture

Had the same problem and in my case it was the OWA module 7.x-1.0-alpha2 that needed de-activating.

caseyhewlett’s picture

I can verify this solution. It could be that OWA can't handle the way the user is configured for this page. So it kind of shrugs its shoulders and screws up everything.

epe’s picture

deactivated the owa module and the error is gone.
also, the owa module if activated and the site details are filles in, it doesnt have any function e.g. accesses are not being counted.

wranvaud’s picture

There's a bug report for this problem http://drupal.org/node/1228286 (it just happened to me)

Checdedon’s picture

Please can any one help me I'm unable to access the permissions area within the People section of the admin in Drupal

kjv1611’s picture

Try Disabling Modules, One at a Time..

Or you might be able to go to it via yoursitename.com/admin/people/permissions If I am remembering the path correctly. Whatever it is, you can try that without the #overlay portion of the path, and see if it works.

Another thing to check is in your web browser: make sure you don't have your site blocked with any script-blocking or possibly ad blocking addins/plugins/addons/whatever.

Also, try a different web browser to make sure it's not a browser related issue.

Otherwise, give a more detailed issue - don't just say "it's not working" - if you get an error message, post that. Give as much description as possible - what you did to get there, what browser you're using, perhaps even what add-on modules you've installed prior to this event, if any..

Checdedon’s picture

Thank you i have another error, i can not access any page on my localhost after enabling statuses and domain acces module when ever i load any page, i always get General error. 2006 MySQL server has gone away SELECT acl_id FROM {acl_user} WHERE uid=uid Array ( [uid]=&gt, 1 ) in acl _node_grant. I use drupal 7. 10 and my browser is firefox, please can anyone help me out

SocialNicheGuru’s picture

Statuses module caused this for me

http://SocialNicheGuru.com
Delivering inSITE(TM), we empower you to deliver the right product and the right message to the right NICHE at the right time across all product, marketing, and sales channels.

bossmac’s picture

hi did you solve this? thanks

SocialNicheGuru’s picture

Peanut Media module is another culprit. putting in their queue

http://SocialNicheGuru.com
Delivering inSITE(TM), we empower you to deliver the right product and the right message to the right NICHE at the right time across all product, marketing, and sales channels.

drupalshrek’s picture

I had exactly the same problem on Drupal 7.14. Investigating it, it happens when a module incorrectly defines an element outside of the correct array nesting. This means that instead of an array, the core code receives a single element. For example, below is a simplified version of the wrong code which the VChess module had, together with the correct version.

/**
 * VChess permissions
 */
function vchess_permission() {
  return array(
      'basic access' => array(
          'title' => t('Basic access'),
          'description' => t('Access basic VChess functions such as ability to create a game')),
      'reset games' => array(
          'title' => t('Reset games'),
          'description' => t('This enables someone to completely reset the games database. ')), 
          'restrict access' => TRUE,  //Note how this is incorrectly outside the 'reset games' array
  );
}

The right coding of the permissions is

/**
 * VChess permissions
 */
function vchess_permission() {
  return array(
      'basic access' => array(
          'title' => t('Basic access'),
          'description' => t('Access basic VChess functions such as ability to create a game')),
      'reset games' => array(
          'title' => t('Reset games'),
          'description' => t('This enables someone to completely reset the games database.'),
          'restrict access' => TRUE  // This is now correctly inside the 'reset games' permission
          )
  );
}

The ideal would be that Drupal core would trap this incorrect code and simply issue a friendly error message.

drupalshrek

jzornig’s picture

Thanks. It was exactly this problem in a D6 module that was being ported across to D7.

diego.pasc’s picture

You pointed me to the right direction.
My custom hook_permission wasn't correctly defined
Thanks.

john_chon’s picture

any people solve this problem ? i also got this error when i click on the permission pages, the permission is blank pages. already try what kjv1611 say but is the same can no work.

angel.angelio’s picture

OWA module was the problem, at least for me.