[SOLVED] Neo Upload Wizard Memory Issue

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
jugo
New Member
New Member
Posts: 6
Joined: Fri Apr 02, 2010 4:56 pm

[SOLVED] Neo Upload Wizard Memory Issue

Post by jugo »

Problem uploading images using Neo Upload Wizard.

I am getting this error:  
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 3200 bytes) in /home/lhcc/public_html/cms/modules/NeoUpload/classes/Thumbnail.class.php  on line 355
I have my php_memory_limit set to 64M in config.php.

Any suggestions?
Last edited by jugo on Sun Apr 25, 2010 8:05 pm, edited 1 time in total.
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Location: The Netherlands
Contact:

Re: Neo Upload Wizard Memory Issue

Post by Rolf »

Hi jugo

When uploading and resizing multiple images, you need a large php_memory_limit. Try to increase it...

But it is also very good possible, your webhost doesn't allow increasing this.
Check your System Information if the value changes after increasing the value in the config.php.

Regards, Rolf
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
jugo
New Member
New Member
Posts: 6
Joined: Fri Apr 02, 2010 4:56 pm

Re: Neo Upload Wizard Memory Issue

Post by jugo »

Rolf wrote: Hi jugo

When uploading and resizing multiple images, you need a large php_memory_limit. Try to increase it...

But it is also very good possible, your webhost doesn't allow increasing this.
Check your System Information if the value changes after increasing the value in the config.php.

Regards, Rolf

How large does it need to be.  I have it set at 64.  I have my host looking into it because according to the error message it's capped at 32 even thought the php.ini says 64.  I can't really see it needing more than that... would it?
jugo
New Member
New Member
Posts: 6
Joined: Fri Apr 02, 2010 4:56 pm

Re: Neo Upload Wizard Memory Issue

Post by jugo »

Got it...

For some reason the limit is set in the Thumbnail.Class.php file.... around line #149

Code: Select all

var $memory_limit='32M';
I changed it there.  maybe they need to modify the line to look at the config.php for the setting instead of hardcoding it.
Post Reply

Return to “Modules/Add-Ons”