CodeIgniter Forums
problem with uploading large files - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: problem with uploading large files (/showthread.php?tid=40760)



problem with uploading large files - El Forum - 04-18-2011

[eluser]ebuoe[/eluser]
hello i've been unable to upload files larger than 1mb ... n i have these settings in my php.ini
post_max_size = 100M
upload_max_filesize = 100M

and i even increased the max_execution_time and max_input_time
it shows me this message "The file could not be written to disk"

what could be the problem any help would be appreciated


problem with uploading large files - El Forum - 04-18-2011

[eluser]danmontgomery[/eluser]
Try searching?

http://ellislab.com/forums/viewthread/114189/#821127

Be sure that you're not setting xss_clean on file uploads, other than that the only time that error message is shown is when PHP produces UPLOAD_ERR_CANT_WRITE, which I suspect is thrown because of a permissions problem.


problem with uploading large files - El Forum - 04-18-2011

[eluser]ebuoe[/eluser]
thanks but my read write permissions are set and it allows for images ... i only have this problem wen uploading a large file


problem with uploading large files - El Forum - 04-18-2011

[eluser]InsiteFX[/eluser]
Check your php.ini file thats were your file upload settings are defined!
Code:
; Maximum allowed size for uploaded files.
; http://php.net/upload-max-filesize
upload_max_filesize = 256M

InsiteFX


problem with uploading large files - El Forum - 04-20-2011

[eluser]ebuoe[/eluser]
i have followed every instruction possible .. it only works for small files but not large files can't understand d situation .. i have set the max upload file to very large figures