close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Fatal Error Message when attaching big file to UE4

Thread began 4/02/2010 11:01 pm by Nature Photographer | Last modified 4/13/2010 6:06 pm by Eric Mittman | 3057 views | 7 replies |

Nature Photographer

Fatal Error Message when attaching big file to UE4

I get an error message when I try to upload a image file in the range of 5MB to 25MB (which the php.ini file has been amended to cover) when attaching to UE form.

Message reads;

PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 24 bytes) in /home/username/public_html/webassist/email/mail_php.php on line 255


Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 7560673 bytes) in /home/username/public_html/webassist/database_management/wa_appbuilder_php.php on line 143

I'm not a developer so not sure why it's happen. I've attached the 2 files mentioned in the errors.

Thanks for your assistance.

Attached Files
php_files.zip
Sign in to reply to this post

Eric Mittman

This looks like a memory limitation of your php server. You should be able to adjust this setting in your php.ini file, it is set with the following name:

memory_limit

Based on the numbers that are reported it seems that your memory_limit might be set to 32MB. You should adjust this value so that it is high enough to accommodate the upload and scripts on your pages. You might be able to set this with an ini_set at the top of the page like this:

php:
ini_set("memory_limit", "128M");
Sign in to reply to this post

Nature Photographer

Thanks Eric, I'll Try that later!

I have a couple of other issues to fix first, after updating to eCart 5, I have made a bit of a mess to my site which I need to fix first.

Sign in to reply to this post

Eric Mittman

Let us know if you have any questions about any of the issues you are experiencing.

Sign in to reply to this post

Nature Photographer

php code amendment?

Thanks Eric,

Does the code you provided go at the top of the php.ini file or at the top of a different file?

Thanks

Sign in to reply to this post

Eric Mittman

The ini set code would go at the top of a php page in a php block like this:

php:
<?php

ini_set
("memory_limit""128M");
?>



If you have access to the ini file you could make this edit directly by looking for the memory_limit setting, then just update it to a larger value.

Sign in to reply to this post

Nature Photographer

Thanks Eric,

It seems to be working now after I increased the amount in the php.ini

I think I just forgot to allow memory for the script to run etc.

Sign in to reply to this post

Eric Mittman

I'm glad to hear that it is working now for you. There are a number of settings that you can control in the php.ini file. If you have access to it you should be in a good spot to make any updates to the php server that you need.

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