close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Upload Memory Error

Thread began 3/06/2010 2:44 pm by gkjpease399719 | Last modified 3/07/2010 2:21 pm by anonymous | 1097 views | 6 replies |

gkjpease399719

Upload Memory Error

PS3, Mac

I uploaded a basic photo (3072x2304 - 2,852,603 bytes - JPG) and was given the following error:

Fatal error: Out of memory (allocated 32768000) (tried to allocate 12288 bytes) in /homepages/20/d316463428/htdocs/WA_DigitalFilePro/HelperPHP.php on line 861

I did not find any thing specifically in the threads covering this error. It looks like I need to change line 861, but not sure what or how to do this.

Any suggestions? Thanks.

Sign in to reply to this post

anonymous

This is probably more likely do to an issue with your hosting provider where there is not enough memory allocated to your hosting account for some complex scripts that require more.

Who do you host through? And you should run a test php file to see what kind of memory is allowable. You may need to get your host to give you more memory.

Regards

Sign in to reply to this post

gkjpease399719

Thanks for the input. I use 1&1, a server recommended by WebAssist. Thus, I would find it strange that they would recommend a server with such limited capacity.

Also, please tell me how to run a test php file to see what kind of memory is allowable.

Given you are volunteering your expertise, I appreciate your help all the more. Thanks Again!

Sign in to reply to this post

balexander389215

I think you're looking for the phpinfo page. Open a simple text editor like notepad and past

<?php
phpinfo();
?>

Save as phpinfo.php and upload to your server. Then browse to this page through your browser.

Sign in to reply to this post

gkjpease399719

Using Textwrangler and searching for line 861 I found

$src = imagecreatefromjpeg($imageFilePath);

Not sure how this would create a memory error.

Sign in to reply to this post

gkjpease399719

Memory Error Solved

After talking to 1&1 support we agreed the issue was on my end.

After reducing the photo dimension size the upload was successful. A reduction from 2304x3072 to 439x716 works. Maybe the size could be larger, I have not tried. But this is where the issue lied.

Hope this solved problem helps anyone having the same issue.

Sign in to reply to this post

anonymous

It's not totally on your end... because of what you just described tells me that they have the PHP settings set to size lower than can handle a picture over 8 MB. And it also means (and probably for security and performance reasons) that they would not be willing to increase it. So, yes, on your end - you'll need to reduce the size of the files before uploading. But, I will say that some hosts will increase it for you and many even allow uploads up to 25 MB by default.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...