File Uploading Class - Large File Problems - 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: File Uploading Class - Large File Problems (/showthread.php?tid=51918) |
File Uploading Class - Large File Problems - El Forum - 05-23-2012 [eluser]chipp[/eluser] Hello Experts, I followed the examples on http://ellislab.com/codeigniter/user-guide/libraries/file_uploading.html for setting up a file upload form. I have it working correctly for small files such as jpg,txt,etc... I would like to use this form to upload .flv files that average a size greater than 150mb. I had to add flv to the mime config file and I can upload smaller .flv files of < 50mb. My issue is this: Using Google Chrome, I select a larger file (198mb) and start the upload. After awhile it comes back and says that I did not choose a file. I assume that the upload is timing out or something like that. Does anyone know how to correct this? (server config??, php config??) File Uploading Class - Large File Problems - El Forum - 05-23-2012 [eluser]gRoberts[/eluser] This is more likely to be a server configuration issue. Look at upload_max_filesize and other related ini settings that must be changed to accept larger file uploads. File Uploading Class - Large File Problems - El Forum - 05-23-2012 [eluser]weboap[/eluser] check your php.ini values for. Code: file_uploads - then check if you are using sessions that your sessions are not expiring. - check the $config['max_size']= '100'; then post some code of how you are trying to do it, so we can help. File Uploading Class - Large File Problems - El Forum - 05-23-2012 [eluser]chipp[/eluser] [quote author="weboap" date="1337786365"]check your php.ini values for. Code: file_uploads - then check if you are using sessions that your sessions are not expiring. - check the $config['max_size']= '100'; then post some code of how you are trying to do it, so we can help. [/quote] Thank you. I will check the values in the php.ini file. I did adjust the max_upload_size to support files around 200mb. I will see about adjusting some of those values relating to time because it seems like it is timing out due to the amount of time it is taking to upload a 200mb file. I am currently not using sessions but I will be putting this controller behind a login so I will be using them in the future. File Uploading Class - Large File Problems - El Forum - 05-23-2012 [eluser]weboap[/eluser] just make sure that post_max_size value is bigger than upload_max_filesize . File Uploading Class - Large File Problems - El Forum - 05-23-2012 [eluser]Unknown[/eluser] what localhost system do you use if xampp check you post_max_size in php.ini and change it to 128M or more. |