Forum Moderators: coopster & phranque

Message Too Old, No Replies

Uploading larger files

getting timeout error when upload larger files

         

kadnan

10:54 am on Jan 25, 2003 (gmt 0)

10+ Year Member



i am trying to upload an mp3 file (4.5mB) on my own machine but i am getting time out error,when i upload some doc file i get no error,what should i do?even i set the max file size upto 7 MB in php.ini
thanx

Brett_Tabke

4:42 pm on Jan 27, 2003 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



There shouldn't be any difference between the two file types. When is the time-out error occurring? Right at the start, or is it after the file has sent some successfully?

If the error is right at the start where the upload never gets going, then there is a configuration error somewhere blocking the mp3. If it is after the file has sent half of itself, then the error is with the machine, full traffic, or a bad connection to the website.

scratch

7:34 am on Jan 28, 2003 (gmt 0)

10+ Year Member



I did a whole series of posts here trying to get my own upload to work, that might help if you can find them. --mine has been running for a few months now with no issues at all with up to 120 megs files being uploaded all the time.

some areas to check assuming it works for small files.

the form (max file size too small)

php.ini (max upload size, max post size and a few others-- you should not have a problem as it is usually 8m -- to check use a clean php.ini and search and replace the 8m with 120m as well as turn upload on)

timeout (in your server, you should override this in your script by setting the timeout)

cgi time out (if iis, and it dies after 3 minutes)(this is hard to find in a subtabbed area under the main subtabbed area, if IIS you should find my previous post where i went into more detail. IIS is not very user friendly at all)