PDA

View Full Version : DTO Garage Fatal error: Allowed memory size of 31457280 bytes exhausted


Edgespeeder06
03-31-2011, 09:40 PM
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?


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:



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. :)

kh99
03-31-2011, 09:57 PM
It looks like at least one person has asked about that error in the mod thread, so you might want to read that.

Are you using the latest version of the mod? The one I looked at didn't have 678 lines in that file.

Edgespeeder06
03-31-2011, 10:07 PM
Oh thank you: v 1.3.0

Lynne
04-01-2011, 02:52 AM
Questions/Problems regarding modifications/styles need to be asked in the modification/style thread. That is where the support for modification/style is - not out here in the main forums. Please note that if a modification/style is unsupported (or even if it says it is supported), you may be on your own if you chose to install it.