Welcome Guest, Not a member yet? Register   Sign In
How to remove error of uploading limit
#1

[eluser]Milind[/eluser]
hello friends

I am trying to upload video in my application but i got an error as follow
"POST Content-length of 207791702 byt exceeds the limit of 33554432 "
Actually i alredy increases upload file limit in php.inf to 1000M and i upload only 8mb size file and its extension is .mp4

pls help me
#2

[eluser]taju.joseph[/eluser]
try creating a file called .htaccess and upload to your ftp root with the following code
php_value upload_max_filesize “50M”

or try with ini_set("upload_max_filesize",30); in the index.php file
#3

[eluser]pistolPete[/eluser]
I think you have to raise the post_max_size setting.
Which php version are you using?
#4

[eluser]Milind[/eluser]
my php version is 5.2.4 and I already it set to 32MB.
Now I have to successed to upload mp3 file upto 1.75MB but when i should upload mpeg-4 that mean mp4 file has same size it show this error "The filetype you are attempting to upload is not allowed." what is exact i do for vedio uploading upto 30MB size clips please guid me
#5

[eluser]pistolPete[/eluser]
Did you setup
Code:
$config['allowed_types'] = 'mp3|mp4';
?

What's the mime type for mp4 in ./system/application/config/mimes.php?

What mime type does your browser send when uploading? Have a look at this topic (it's about mp3 uploading but similar): http://ellislab.com/forums/viewthread/108110/
#6

[eluser]Milind[/eluser]
I think mime type for mp4 in ./system/application/config/mimes.php is mpeg or mp4v-es i confuse now pls tell how should verify type for mp4 in mime.php
#7

[eluser]Milind[/eluser]
right now i see file property in which there extesion is mpeg-4 not such key world(mpeg-4) found in mime.php file should i have to add in it ?
#8

[eluser]Milind[/eluser]
hello friend i add mp4 extension in my mimes.php file and its work .Now I have to convert uploaded vedio into.flv for that I have installed ffmpeg into my machine successfully but with the help of that i can’t create instance for ffmpeg_movie()and it give me error "Can't open movie file funny dogs.wmv" please tell where is ffmpeg_movie() class file so i include it

Pls help me...
#9

[eluser]pistolPete[/eluser]
Have a look at http://ellislab.com/forums/viewreply/543100/
#10

[eluser]Milind[/eluser]
Hi pistol
Actually I already follows all instruction as told on
http://ellislab.com/forums/viewthread/58362/ thread and my ffmpeg is installed on window-xp in this installtion i copied some file in following manner but in all steps i never found ffmpeg_movie class file

php_ffmpeg.dll -> CTongueHP\ext
avcodec-51.dll -> C:WINDOWS\system32
avformat-51.dll -> C:WINDOWS\system32
avutil-49.dll -> C:WINDOWS\system32
pthreadGC2.dll -> C:WINDOWS\system32

Will you please explain me in brief what i have to do exactly




Theme © iAndrew 2016 - Forum software by © MyBB