I'm getting this error when i try to use DOM with Uploadify to upload a 2.36mb txt file. I tried using UploadifyField::setVar to change the file size limit but that didn't seem to work either. Any ideas?
also on an easier note, I'm displaying these files to the frontend, what's the attribute to get the image that is specific to the filetype? (i.e pdf icon for pdf, word icon for word, excel for excel etc).
This may be because your PHP "upload_max_file_size" defaults to 2M.
Try increasing it e.g. by putting a "php.ini" file in your sapphire directory:
upload_max_filesize = 8M
Worked for me! :-)
* If you need something larger e.g. 16M, also add: post_max_size = 16M
* You may require a page refresh after adding sapphire/php.ini
* If using SS3 you need to put php.ini in your "framework" directory
* If you want to put your php.ini in your home directory, you may need to fiddle with your .htaccess - see Fixing memory size post