Forum Moderators: coopster

Message Too Old, No Replies

Problems with large file upload

         

optik

10:16 am on Oct 6, 2009 (gmt 0)

10+ Year Member



I have a pretty complex form which is using AJAX and APC for a progress bar, it all works fine for files up to a few hundred MB but in tests I'm doing now for files around 600MB it doesn't work.

I have all the PHP settings like max upload/script timeouts in php.ini and htaccess for file uploads very high so that shouldn't be a problem and I've also set limitbodyrequest in apache to be very high.

I know the file has uploaded because once the APC driven progress bar reaches 100% the page is forwarded to another page.

The form is sent via javascript when the upload commences so it seems that although the file is being uploaded something is preventing the form being processed directly after that as it should, maybe there is some other timeout going on I don't know about?

optik

10:31 am on Oct 6, 2009 (gmt 0)

10+ Year Member



The plot thickens, I have checked the logs and there is actually a harmless PHP error regarding the use of the date function for the page the form is being sent to. I know this error wouldn't prevent the script from working as the page has been tested on smaller files.

So the page for processing the form is being called and the file is being uploaded, yet there is no trace of there being any data actually making to the form processing page.

I have no idea what's up now :(

optik

11:23 am on Oct 6, 2009 (gmt 0)

10+ Year Member



I just tested on a small file again and something is up, sorry my bad.