Codeigniter video upload |
[eluser]swgj19[/eluser]
I am following a tutorial on how to upload a video using the codeigniter framework. I thought this would be simple, but it is not working. Here is the site Tutorial that I am following in the tutorial. I did modify the code to fit my needs. Please look at my code and if you have time let me know what I am missing and why it is not working. I have two problems: 1) Error on upload size (Yes, I have adjusted size in controller and size in php.ini) Here is a pic of the problem 2) The video frame is showing, but the video on server is not showing. Here is all the code at this link Thank you for all your help..
[eluser]InsiteFX[/eluser]
PHP.INI File: Code: ; Whether to allow HTTP file uploads. I am looking into this for you swgj19
[eluser]swgj19[/eluser]
Thanks, I will also see what I can come up with and make the changes you showed.
[eluser]CroNiX[/eluser]
The error is saying your post_max_size is too small. It should be set greater than or equal to upload_max_filesize.
[eluser]InsiteFX[/eluser]
@swgj19 All fixed emailed you with link to my server for download.
[eluser]swgj19[/eluser]
@CroNiX: Thanks a million. You were absolutely correct. I kept on adjusting till the video said "upload success". I used 50000M for the post_max_size and the upload_max_size. @InsiteFX: Thanks buddy. I was so close, I did not know that with the CodeIgniter File Upload method, the method has to be named do_upload, instead of show_video. Works perfect. |
Welcome Guest, Not a member yet? Register Sign In |