Closed (fixed)
Project:
Node access user reference
Version:
6.x-1.4
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
25 Feb 2009 at 08:25 UTC
Updated:
22 Feb 2012 at 08:05 UTC
I use this module with view_own and TAC lite.
I can use this module and grant access to node references users in CCK but i can't change the permissions in http://mysite/admin/user/permissions.
Here is the error :
Fatal error: Allowed memory size of 52428800 bytes exhausted (tried to allocate 1509010 bytes) in /var/www/cedricm/includes/form.inc on line 2056
This page usually take long to load as i have around 10 different user roles and many additional modules installed ( around 15 ).
What can i do ?
Comments
Comment #1
danielb commentedDoes disabling this module solve your problem?
Comment #2
PePiToO commentedyes it did but i really need your module so i found a way to go around it and use admin/user/persmissions/N to display only the permissions role by role...
Setting permissions this way get so long to do though
Comment #3
danielb commentedSorry I don't understand the problem.
Comment #4
danielb commentedThis module only adds one permission to that list - I don't think it should cause this problem.
You don't have any other output on the page that could add to the memory? Often a giant drupal_set_message or another piece of themed output like a block will cause this.
Comment #5
danielb commentedComment #6
Ghostthinker commentedHallo,
Try to increase your php memory limit. There are many ways to do that, here is a quick one:
in your settings file, add:
Comment #7
danielb commented^ good idea, I've had to do this on most of my sites for other reasons anyway.
Comment #8
danielb commentedComment #10
stefan81 commentedStrangely, I have the same issue.
When I access the node edit page,
as an user who should have the edit permission granted through this module, I get a blank page.
The error message below is generated by the error log of my local server, running under php 5.3.2
(Running with php 5.2.13 get no error at all)
However, the memory seems to be no problem.
If I access the page as master admin I can see the site properly,
as I already have the appropriate permissions granted through drupal core, I guess.
Any clue how this issue could be solved?
Comment #11
stefan81 commentedAccording to the error log, the error is happening here:
Comment #12
stefan81 commentedOk, sorry. It was a stupid issue.
The problem actually was rooted at: Node access node reference.
The page had a node reference referencing to itself.
This generated a loop.
Thank you for this great module!!