Video Uploads

2 views
Skip to first unread message

Shepstar

unread,
Nov 23, 2009, 3:33:11 PM11/23/09
to Pixie
Is it possible to upload other files then images?
In FTP there are different files folders but it seems if I try to
upload a movie, it won't work. It just starts and never does anything
more.

rm

unread,
Nov 23, 2009, 5:30:57 PM11/23/09
to Pixie
I did some testing locally, and it worked for me. In admin/admin/
modules/mod_filemanager.php, you may want to ensure:

1) on line 47, make sure you have a large enough size limit

2) on line 19 and line 61, make sure that the file extension your file
is using is listed

3) on line 73, you can also ensure that your extension is in that list
as well

You may also find that your file was indeed uploaded successfully but
it has landed in the 'other' folder rather than the 'video' folder.
And even though I am working locally, I also find that larger files
seem to take an eternity to upload.

Shepstar

unread,
Nov 28, 2009, 8:11:09 AM11/28/09
to Pixie
Hy rm,

looked everything up. Everything should be ok that way. This time I
got a server time out error. The movie only has 9 MB. But still
nothing happens.

Scott

unread,
Nov 28, 2009, 8:56:04 AM11/28/09
to Pixie
Pixie supports the following file uploads:

".png", ".jpg", ".gif", ".zip", ".mp3", ".pdf", ".exe", ".rar",
".swf", ".vcf", ".css", ".dmg", "php", ".doc", ".xls", ".xml", ".eps",
".rtf", ".iso", ".psd", ".txt",
".ppt",".mov",".flv",".avi",".m4v",".mp4"

If you are having trouble uploading videos I would make sure you have
the correct write permissions on the "video" folder using your FTP
app. If that is all OK, you might wish to overwrite a couple PHP
settings using your .htaccess file. For example adding:

php_value upload_max_filesize "200M"
php_value post_max_size "200M"

will ensure that your file size limits are capable for files upto
200mb.

Scott

rm

unread,
Nov 28, 2009, 9:00:26 AM11/28/09
to Pixie
Also, from <http://www.php.net/manual/en/features.file-upload.common-
pitfalls.php>:

The MAX_FILE_SIZE item cannot specify a file size greater than the
file size that has been set in the upload_max_filesize in the php.ini
file. The default is 2 megabytes.

If a memory limit is enabled, a larger memory_limit may be needed.
Make sure you set memory_limit large enough.
If max_execution_time is set too small, script execution may be
exceeded by the value. Make sure you set max_execution_time large
enough.

Note: max_execution_time only affects the execution time of the script
itself. Any time spent on activity that happens outside the execution
of the script such as system calls using system(), the sleep()
function, database queries, time taken by the file upload process,
etc. is not included when determining the maximum time that the script
has been running.

Warning: max_input_time sets the maximum time, in seconds, the script
is allowed to receive input; this includes file uploads. For large or
multiple files, or users on slower connections, the default of 60
seconds may be exceeded.

If post_max_size is set too small, large files cannot be uploaded.
Make sure you set post_max_size large enough.
Reply all
Reply to author
Forward
0 new messages