I am having an issue with my DTO Garage mod on njstangers . org and I am not sure why since I haven't altered it. Is there really an actual spot to increase the size?
Quote:
Fatal error: Allowed memory size of 31457280 bytes exhausted (tried to allocate 7312 bytes) in /home/stangers/public_html/forum/includes/functions_dto_garage_common.php on line 678
|
At the location specified above, this is what I have:
Quote:
669 function open_image($mime_type, $src) {
670
671 if(stristr($mime_type, 'gif')) {
672
673 $image = imagecreatefromgif($src);
674
675 } elseif(stristr($mime_type, 'jpeg')) {
676
677 @ini_set('gd.jpeg_ignore_warning', 1);
678 $image = imagecreatefromjpeg($src);
679
680 } elseif( stristr($mime_type, 'png')) {
681
682 $image = imagecreatefrompng($src);
|
Any advice as to what is going wrong would be appreciated, Google didn't help me on this one.