Fatal error: Out of memory (allocated 31457280) (tried to allocate 11648 bytes)

Started by djliquid, September 13, 2011, 07:31:09 AM

Previous topic - Next topic

djliquid

FML!

Fatal error: Out of memory (allocated 31457280) (tried to allocate 11648 bytes) in /homepages/1/db#/htdocs/jeanag.com/administrator/components/com_virtuemart/helpers/img2thumb.php on line 132


Lines 130-138 of img2thumb.php (132 is in bold)


case "jpg":
if( function_exists("imagecreatefromjpeg") ) {
[b]$orig_img = imagecreatefromjpeg($filename);[/b]
} else {
$app = JFactory::getApplication();
$app->enqueueMessage('This server does NOT suppport auto generating Thumbnails by jpg');
exit;
}
break;


Example:

http://jeanag.com/index.php/shop/cart

Milbo

Also, simuar here, no one had this problem yet and  there are some people around using a lot images. Take a look on the bottom of the page of the media uploader. For me it displays: "Supported filetypes for thumbnail creation GIF, JPG, PNG, WBMP". Is your extension listed?
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

djliquid

Quote from: Milbo on September 13, 2011, 09:14:11 AM
Also, simuar here, no one had this problem yet and  there are some people around using a lot images. Take a look on the bottom of the page of the media uploader. For me it displays: "Supported filetypes for thumbnail creation GIF, JPG, PNG, WBMP". Is your extension listed?

mine are just jpegs - and less than 800px x 800px at largest, as far as I remember. it has made them for the products just not the thumbnail previews. they are writable and all...  :(

djliquid

QuoteWarning: imagejpeg() [function.imagejpeg]: Unable to open '/homepages/1/db#/htdocs/jeanag.com/images/stories/virtuemart/product/resized/bluesetback3_72_144x144.jpg' for writing: Permission denied in /homepages/1/db#/htdocs/jeanag.com/administrator/components/com_virtuemart/helpers/img2thumb.php on line 292

I get this error on the category pages where the thumbnail should be.
Example:
http://jeanag.com/index.php/shop/sets

but the actual item is fine.
http://jeanag.com/index.php/shop/sets/Bralet-set

kobiavr

i have the same problem...

Fatal error: Out of memory (allocated 69206016) (tried to allocate 14728 bytes) in /home/hadiber/public_html/administrator/components/com_virtuemart/helpers/img2thumb.php on line 132

sincera

Hi I got exactly same problem with img2thumb.php.
I'm using VM 2.0 and I already allow the maximum memory size to 32MB is there any way to fix it?