Hello,
Whenever I try to make any change to TAC I get this error:
Fatal error: Out of memory (allocated 81264640) (tried to allocate 25936 bytes) in /.../drupal/includes/image.inc on line 326
I thought that when upgrading to 5.2 it would be solved,but it isn't.
I have strong reasons to believe that this may be causing a serious problem in my site: anonymous users can't access to any type of nodes despite I checked their role permissions and granted "access content"
Whenever I make an update.php or try to make any change on TAC, anonymous can't access content any more.
In addition, I tried to deactivate the module via phpmyadmin (marked 0 in the taxonomy access control row into system table) and then uninstalling it via drupal utility, but things don't get solved.
I wish anyone can help me as soon as possible: it's a critical error.
Thank you
Comments
Comment #1
xurizaemon5.2 is quite old now - you could try upgrading to 5.8?
In your shoes, I would probably first try and resolve the memory issue, so as to avoid any upgrade issues which might arise, and might then leave you not knowing whether TAC or the upgrade caused your problem. Upgrading to 5.8 might fix it, or it might leave you struggling with some upgrade issue and suddenly you aren't sure if the gremlin is in 5.8 upgrade, or some other module incompatability, or ... you get the idea.
So, my suggested workarounds are:
1. If you're able, you can consider adjusting your available RAM to PHP. If you have control of your server environment, this may be an option. (You will need to understand both how to do this, and what the performance ramifications are, and I'll leave the responsibility of finding out how to you - please ask in the forums. Don't assume that giving PHP more RAM will increase the performance of your server until you've done some research.)
2. If that's not an option, or not a comfortable path for you, another workaround is to identify other memory hungry modules (80MB is a fair bit of RAM to have used) and disable them while you adjust TAC.
Hope that helps you some.
Comment #2
keve commentedTry using 5.x-2.x-dev version, it is totally redesigned for these kind of performance errors.
Comment #3
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #4
c-c-m commentedNo way, Keve. I installed 5.x-2.x-dev version but the problem persists:
Fatal error: Allowed memory size of 94371840 bytes exhausted (tried to allocate 25936 bytes) in /home/.../includes/image.inc on line 326
That's line 326:
return $open_func($file);And here's a piece of content:
Hope this can help.
Thank you
Comment #5
cpugeniusmv commentedWhich other modules do you have enabled?
Comment #6
c-c-m commentedThese are the enabled modules:
Ad 5.x-1.5
CCK 5.x-1.7
Image 5.x-1.9
Lightbox2 5.x-2.8
Private messages 5.x-3.0
Blogger 5.x-1.4
Admin Block 5.x-1.0
Advanced Forum 5.x-1.0-alpha8
Advanced Profile Kit 5.x-1.0-alpha4
BBCode 5.x-2.1
Code Filter 5.x-1.1
Custom Pagers 5.x-1.9
Google Analytics 5.x-1.6
Menu Trails 5.x-1.x-dev
Meta tags 5.x-1.9
Module Weight 5.x-1.x-dev
Pathauto 5.x-2.3
Quote 5.x-1.3
Quotes 5.x-1.5
Service links 5.x-1.1
TinyMCE 5.x-1.9
Token 5.x-1.11
Trackback 5.x-1.5
Update status 5.x-2.2
Video Filter 5.x-2.4
Webform 5.x-2.1.2
Panels 5.x-2.0-beta5
CAPTCHA 5.x-3.1
jQuery Update 5.x-2.0
Userpoints 5.x-3.7
Views 5.x-1.6
Fivestar 5.x-1.12
Hope this helps
XML Sitemap 5.x-1.6
Comment #7
c-c-m commentedIf I disable the "image" module and submodules, the error doesn't appear, but it seems that it's not working, because I whatever options I choose they're ignored. Additionally I need to use that module.
No ideas?
Comment #8
cpugeniusmv commentedThe memory issue is probably the fault of one of those image modules. I'd open up an issue in their queue.
#293398: permission changes not saving might be related to your problem with the options, but I haven't been able to reproduce that yet.
Comment #9
nargonne commentedI had this issue and I "fixed" it by reducing the image dimensions from like 2860x2221 to 600x466. Also note I have the Image Assist setting "Maximum inline image size allowed: 640x640".
The file size of the image was already pretty low at 180-KB.
An there is no image tool kit installed so using PHP's built-in image library GD2.
Comment #10
jenlamptonthis issue was not related to TAC, changing project.
And here's a handbook page on the White Screen Of Death (WSOD) and PHP memory errors that might help others: http://drupal.org/node/158043