ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Uploading mp4 gives me error in build in upload

July 27, 2012 11:51am

Subscribe [2]
  • #1 / Jul 27, 2012 11:51am

    vladyn

    176 posts

    When I try to upload a mp4 or wmf either through the build in upload on a weblog post I’m getting an error. When I try thought a file field - there is no problem. I have only one set up upload directory with all file types allowed and 500M limit to upload via php.ini. I’m running 1.6.9 of EE.

  • #2 / Jul 30, 2012 11:05am

    Shane Eckert

    7174 posts

    Hello vladyn,

    I am sorry to hear you are running into this problem.

    Do you have those file types defined in system/expressionengine/config/mimes.php? I am guessing that you do since the file field is successful, but can you double check?

    It sounds like maybe your limit is good but that maybe execute time is not.

    Check out these settings and compare with your settings.

    memory_limit
    This sets the maximum amount of memory in bytes that a script is allowed to allocate.
    Default size 5.3 in is “8M”

    post_max_size (must be greater than upload_max_filesize)
    Sets max size of post data allowed. This setting also affects file upload.
    Default size in 5.3 is “128M”

    upload_max_filesize
    The maximum size of an uploaded file.

    max_execution_time
    This sets the maximum time in seconds a script is allowed to run before it is terminated by the parser.
    Default setting in 5.3 is “30”

    You might try tweaking those settings for your needs.

    Please let me know how that goes.

    Cheers,

  • #3 / Jul 30, 2012 11:28am

    vladyn

    176 posts

    thanks Shane - I will check them, I didn;t know about the mimes.php, I just looked at the php.ini

  • #4 / Jul 30, 2012 3:39pm

    Shane Eckert

    7174 posts

    Hey vladyn,

    I am glad to help! Please let me know how it goes.

    Cheers,

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases