Uploading large video files
i25 - August 12, 2009 - 17:15
I have two very large .flv video files that I need to upload into a CCK content type. Is there anyway to create the pieces of content without uploading the videos from the web interface, then upload the videos and attach them to this piece of content through the "back end?" I'm having trouble uploading them through the web interface Create Content function, I think because of the size. Any suggestions would be appreciated. Thanks.

Well you could look at the
Well you could look at the max upload size in your php.ini file
Other nice thing is to install the PECL Uploadprogress php plugin
http://pecl.php.net/package/uploadprogress
My php.ini file doesn't have
My php.ini file doesn't have anything about a max upload size. The only reference to upload is ./upload_tmp_dir = /t (have no idea what that means).
do a search for 'max'
do a search for 'max'
This is the only max I have
This is the only max I have in php.ini:
max_input_time = 60
I've also tried editing both php.ini and .htaccess following these instructions and I still get the "8MB" max upload note under the field where I upload the videos:
http://drupal.org/node/97193
Check CCK
Hi!
Check if there's a limitation under administer -> content types -> your content -> manage fields -> manage this field; look for File size restrictions.
Other simple checks are:
1. restart server to take the new setting
2. use this script to check if your modification with upload_max_filesize worked
<?php
phpinfo();
?>
Copy the code in a php file and run it in the browser on the same server.
3. Try changing the location of the php.ini file (copy it to theme folder or web root folder maybe?)
Ok, So I added the following
Ok,
So I added the following code to php.ini:
upload_max_filesize = 100M ;
post_max_size = 200M ;
I then ran the php info test and it still has upload_max_filesize as 8M.
Put php.ini in the root folder
Try to put the php.ini in the root folder. See more info here: http://drupal.org/node/125252
I just tried that it didn't
I just tried that it didn't help. Do I need the semi-colons at the end of the lines of code? I've noticed that nothing else has semi-colons in the php.ini file.
Is your server local?
Or are you using a hosting provider, because they might have additional restrictions.
Yes... I'm using GoDaddy.
Yes... I'm using GoDaddy.
I don't think Apache sees the change
Because if you make a change to php.ini, then you need to do a restart (/sbin/service httpd restart).
See here also http://help.godaddy.com/article/1409 (I think he's on dedicated though, you're probably on shared ?)
I found on another forum that the linux box for Godaddy accepts php5.ini custom. So try this: rename php.ini to php5.ini and run that info script again. Maybe it will work.
I would open a ticket with GoDaddy. I did it with HostGator and they were very happy to assist me.