Hello,

I've been setting up a Drupal 7 site over the past few days, and just as I thought I had it just right, I got an ugly surprise: My permissions page is broken, and I can't seem to be able to get it back up. When I go to .../admin/people/permissions, I get a very plain page that sez "You are here". (see http://cckevm.ca/PermissionsPage.png for a screen shot).

My Users and Roles pages are ok, but not permissions. I've disabled everything but bare bones core, but still no joy.

How can I fix this, short of starting over?

Comments

afaaro’s picture

Try to clear the cache pointing to Performance > Clear Cache

Skidz’s picture

That's the first thing I did. I progressively disabled modules and themes, clearing caches each time, until I was down to bare bones D7. No luck.

krabbe’s picture

On my drupal 7.2 installation I don't see the table with all the permissions on "admin/people/permissions".
The screen looks like this: www.server.tyfoo.de/permissions.jpg

If I go to a single role and edit the permissions (i.e.: admin/people/permissions/1), everything is fine. The table with a single column is there and I can edit the permissions.

amiv’s picture

It's likely that this is an out-of-memory issue, it was on my site.

To find out if that is what it is, enable PHP error reporting, as explained here.

If that is the problem, then you'll see some sort of PHP out of memory exception below the text which you have been seeing up until now.

To give PHP more memory, follow these steps:

  • memory_limit = 128M to your system's main php.ini file (recommended, if you have access. In case you don't, you can try to upload your own php.ini file in the root folder of your Drupal installation, but bear in mind that this will only have an effect if PHP is running as CGI)
  • ini_set('memory_limit', '128M'); in your sites/default/settings.php file (this doesn't work on all servers)
  • php_value memory_limit 128M in your .htaccess file in the Drupal root (this only works if PHP is running as an Apache module)

After that, it ought to be working again.

cesareaugusto’s picture

I got a very similar error. Addressing my browser to www.site.tld/admin/people/permissions I got HTTP 500 error (Internal Server Error). It seems that page doesn't exist at all. How could I fix this? I already got a high PHP memory limit set at 512M. Thanks in advance!

TipiT’s picture

I just created a same problem for my site. Checking the apache error log the last thing executing devel_theamer modules serialize-function before running out of memory. Atleast disabling devel_themer solves the problem.

capysara’s picture

I had this issue and resolved it by increasing the maximum execution time in my php.ini. https://www.drupal.org/node/66105