close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Not recieving file more than 4mb

Thread began 6/15/2011 5:34 pm by ceo.anisnap426869 | Last modified 6/24/2011 2:28 pm by Kumel | 3097 views | 12 replies |

ceo.anisnap426869

Not recieving file more than 4mb

I had purchased universal mail 4 few weeks back.. Its gud.. i m happy with it.. Onli 1 prob.. Donno y... I not receiving email whn my user attch file more dan 4.mb.. whr as i rcv 3mb files ... i checked my php.ini all upload size file n etc s above 20mb.. So please help.. I just dont rcv any email when users sends me picture above 4.mb..

Sign in to reply to this post

Jason ByrnesWebAssist

there are a few PHP settings that effect upload file size.

it sounds like you need to adjust the following settings in the php.ini:
upload_max_filesize
post_max_size
memory_limit
max_input_time
max_execution_time

where the email is not sending on large files, I'm guessing the post_max_size or max_execution_time are the culprits, but check the others as well.

see the following page for more details:
wap_upload.asp?page=php2

Sign in to reply to this post

Kumel

Help.

i checked my php.ini file.. its as follow

upload_max_filesize-20M
post_max_size-22M
memory_limit-128M
max_input_time-60
max_execution_time-30

Sign in to reply to this post

Jason ByrnesWebAssist

the max input and max execution time settings are in seconds. your settings:
max_input_time-60
max_execution_time-30


will have the script time out after 30 seconds. If it takes longer than 30 seconds to upload the file, it will time out, I suspect this is the problem.

the max input time of 60 seconds will also cause issues if it takes longer than 60 seconds for the client to transfer the file to the server.

Sign in to reply to this post

Kumel

ohk.

K.. so wat can be da max value for max_execution_time?

Sign in to reply to this post

Jason ByrnesWebAssist

there is no maximum value.

setting the value to 0 will set the max execution time to infinity.

Sign in to reply to this post

Kumel

I told my hosting co to change it. they said its not possible to change... max_execution_time value is 30. So is thr anythng can be done? any proxy o hack o smthng ? please help

Sign in to reply to this post

Kumel

JASON PLEASE HELP ME IN THIS.. I not able to recieve files which are large.. as u said abt max_execution_time is 30 value in my server it cannot be changed.. so whn my user upload dr pict its goes to sucess page.. so they ll feel dat da file is upload.. but i dont recieve.. so is thr any way to take them to a FAILURE.PHP page whn da email isnt sent to me..?

Sign in to reply to this post

Jason ByrnesWebAssist

In the universal Email server behavior, set the trigger for sending the message to All Upload Successful.

you can show a message that the upload failed by adding the following code to your page:

php:
<?php if ($_SERVER["REQUEST_METHOD"] == "POST" && (!WA_DFP_AllUploadsSuccess()))     { ?>

File Upload failed.
<?php ?>
Sign in to reply to this post

Kumel

Help.

Jason.. ty abt dat.. now when it cross max_extn_time it n new page cums full white with this text -
Fatal error: Allowed memory size of 25165824 bytes exhausted (tried to allocate 8803233 bytes) in /home/anisneod/public_html/webassist/email/mail_php.php on line 276

So instead of this error can i make custom error page? nd then if da file fails to upload den it must go to failure.php o smthng like dat.. PLEASE HELP SOON
THANK YOU

Sign in to reply to this post
loading

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