Posted by mouse77e on April 21, 2008 at 9:55am
Jump to:
| Project: | Avatar gallery |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (duplicate) |
Issue Summary
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 6400 bytes) in /.../modules/avatar_gallery/avatar_gallery.module on line 384
but line 384 says
$src_img = imagecreatefromjpeg($picfile);
Any ideas?
many thanks
Comments
#1
I receive this too and it actually prevents my members from signing up or being assigned a role as they never get sent their confirmation e-mail.
I am using this in conjunction with Avatar Gallery 2 and it worked great until my site went live and as soon as members started signing up I started getting some errors like this
* warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: gd-jpeg: JPEG library reports unrecoverable error: in /home/iamasa/public_html/sites/all/modules/avatar_gallery/avatar_gallery.module on line 384.
* warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: 'files/pictures/picture-103.jpg' is not a valid JPEG file in /home/iamasa/public_html/sites/all/modules/avatar_gallery/avatar_gallery.module on line 384.
* warning: imagesx(): supplied argument is not a valid Image resource in /home/iamasa/public_html/sites/all/modules/avatar_gallery/avatar_gallery.module on line 396.
* warning: imagesy(): supplied argument is not a valid Image resource in /home/iamasa/public_html/sites/all/modules/avatar_gallery/avatar_gallery.module on line 397.
* warning: Division by zero in /home/iamasa/public_html/sites/all/modules/avatar_gallery/avatar_gallery.module on line 399.
* warning: Division by zero in /home/iamasa/public_html/sites/all/modules/avatar_gallery/avatar_gallery.module on line 403.
* warning: Division by zero in /home/iamasa/public_html/sites/all/modules/avatar_gallery/avatar_gallery.module on line 404.
* warning: imagecopyresampled(): supplied argument is not a valid Image resource in /home/iamasa/public_html/sites/all/modules/avatar_gallery/avatar_gallery.module on line 421.
* warning: imagedestroy(): supplied argument is not a valid Image resource in /home/iamasa/public_html/sites/all/modules/avatar_gallery/avatar_gallery.module on line 443.
I deleted picture -103.jpeg and stopped receiving that error but found that no-one could sign up on the site
I have set the max memory in my php.ini to 128 MB and this error persists...
I would love to get this working again so any help would be greatly appreciated
Thanks
#2
This is a duplicate of #175470: SIte goes blank. (Fatal error: Allowed memory size of 50331648 bytes exhausted - line 384 or 439)
The errors in #1 are a different issue so a new issue should be created for that. I'd say there is a chance you need to upgrade your GD library to GD2. That will probably solve #1's problem.