Support Forum

Plupload File uploader IO error for large files

AC Antonina Cocilovo
Antonina Cocilovo
Member

When using the Plupload with larger files (e.g. 45mb) it displays an error. PHP memory/max timeout/max upload all have more than enough to handle this.

http://www.cchcorptaxnetwork.com.au

Error

4 Answers

New Answer

MP Mr Papa
Mr Papa
Member

what is the error??? 45MB image for processing will require much more than 45MB of php memroy – several hundred meg likely… but you might also have to increase the chunk file size of the uploader… but interested in error first…

AC Antonina Cocilovo
Antonina Cocilovo
Member

Hi, the error is in the image above. You can view it here as well.

http://www.techflare.com.au/uploads/error.png

Below are the relevant PHP settings.

  • max_execution_time 40000
  • max_file_uploads 40
  • max_input_time 40000
  • post_max_size 80M
  • memory_limit 1024M
  • upload_max_filesize 80M

You can also view all of these details here: http://www.cchcorptaxnetwork.com.au/info.php

Please let me know if you require further info. Thanks. 

MP Mr Papa
Mr Papa
Member

odd. have never seen that error before… its an internal server error and not a file uploader detected one… memory errors, chunking, etc type errors are caught by the file uploader… not even sure what to make of that cryptic/unhelpful message…

Is this IIS?

guess we could try chunking the file but havent ever had to do that… its not an internal file uploader limit per se, just tested an allmost 100MB file…

the file uploader uses plupload – a 3rd party app same as WP uses for its media uploader…  can you upload the same file when creating a new wp post? 

will search the plupload forums for similar…

MP Mr Papa
Mr Papa
Member

want to try adding chunking?  one line edit to the plugin…

so in sp-resources/forum-plugins/plupload/libarary/sp-plupload-forms.php…  find routine sp_plupload_script()

around line 209, find:

                    runtimes : ‘$runtimes’,
                    url : ‘$url’,

and after those two, lets add:

                    chunk_size: ‘1mb’,

and see if that does anything…