close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Image File Upload Problem

Thread began 8/26/2010 9:00 am by vincent.rycx336448 | Last modified 8/27/2010 7:12 am by Jason Byrnes | 961 views | 4 replies |

vincent.rycx336448

Image File Upload Problem

Hi,
I cannot upload files larger than 1M. from my websites to my server.

This is the message I get.

Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 3452 bytes) in /home1/arhezoin/public_html/webassist/file_manipulation/helperphp.php on line 865

This is the content of my php.ini file

post_max_size = 5M
upload_max_filesize = 5M
max_execution_time = 600
max_input_time = 600
memory_limit = 40M

Thanks for the help.

Vince

Sign in to reply to this post

Jason ByrnesWebAssist

are these image files?

are you doing any resizing?

if you are resizing the images, the GD library will need to use a considerable amount of memory.

add the following to line 1 of the page to increase the memory limit setting:

php:
<?php

ini_set
('memory_limit''256M');
?>
Sign in to reply to this post

vincent.rycx336448

That makes it work on that server.
I have another site hosted by 1and1.com, where I can't make the application work.
It seems that I cannot allocate more than 40M memory.
Does that make sense ?

Sign in to reply to this post

vincent.rycx336448

I got a reply from 1and1.com.
They will not provide for more than 30M on share hosting.
Not much to do I guess.

Vince

Sign in to reply to this post

Jason ByrnesWebAssist

yes, unfortunately this will mean the image resizing in file upload will not work with 1and1.

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