• This is a repeat issue, but none of the other threads have had a solution that helps me.

    I am using WordPress 4.7.3 running the Dani theme from Envato. When I try to upload my mp4 video file via the Media tab in the WP admin I get an HTTP error. The file upload worked fine for a smaller image that I tried to upload, it only errors out on the mp4 video upload.

    I have tried the following to fix this issue:
    1. Deactivating all plugins one by one and my current theme
    2. Installing this plugin – https://github.com/getsource/default-to-gd
    3. Adding the following line to .htaccess: SetEnv MAGICK_THREAD_LIMIT 1
    4. Adding the following code to functions.php:

       add_filter( 'wp_image_editors', 'change_graphic_lib' );
        function change_graphic_lib($array) {
        return array( 'WP_Image_Editor_GD', 'WP_Image_Editor_Imagick' );
        }

    None of these have solved my issue. Is there something else I can try to fix this? Please let me know! Thanks for the help.

    • This topic was modified 7 years, 11 months ago by erbanach.
    • This topic was modified 7 years, 11 months ago by erbanach.
    • This topic was modified 7 years, 11 months ago by erbanach.
Viewing 8 replies - 1 through 8 (of 8 total)
  • Hi,
    You are using the premium commerical theme. So i would suggest to contact Theme’s Author to get appropriate help at https://themeforest.net/item/dani-a-storming-portfolio-shop-wordpress-theme/17238971/support.

    Thanks
    Mohammad

    • This reply was modified 7 years, 11 months ago by mdshak.
    Thread Starter erbanach

    (@erbanach)

    I got this reply:

    Hello,

    thanks for purchasing my theme.
    This is not directly related to the the theme, but to your default wordpress or server settings.
    The theme has no impact on the media uploader.
    You should check you maximum upload size.

    Hi,
    The maximum upload size is controlled at the server-level, not by WordPress. Here are three ways you can increase the upload limit:

    1. If you can edit or override the system php.ini file, increase the maximum file and post sizes. For example, upload_max_filesize = 100M ; and post_max_size = 100M ;

    2. If you cannot edit or override the system php.ini file, add php_value upload_max_filesize 100M and php_value post_max_size = 100M to your .htaccess file.

    3. If neither of these work, it’s time to ask your hosting provider to increase the maximum file and post sizes on your account. Keep in mind that most decent hosting providers allow this, and If your hosting provider won’t accommodate you, perhaps it’s time to find a new hosting provider.

    Thanks
    Mohammad

    Erbanach, Did you resolve this issue at all. From what I can see here the advice was hardly on the ball. As I am experiencing a similar issue and like you cannot find anything in the threads other than this issue is and has been for years an ongoing problem. I can’t believe for example that file size was your issue because that always produces a file size limit message not an http error. There was absolutely no way this was a theme issue and directing you there was just a waste of time. Please let me know if and how you have resolved this. I would be grateful.

    i have increased upload_max_filesize, but still not work

    Running into this problem as well. Running WP 4.8 on a VPS and managed WP servers with all the right file sizes set in pop.ini.

    I am able to get the videos to upload using an ftp server like filezilla. From there I can use the direct link to the mp4 when adding it in to slider revolution as an example. Works great. However, it still won’t appear in your media library.

    Hope this solution works for you all. If you need more advice let me know.

    PlumpProdigy

    Please. I Have same problem. Is repeat issue. What is the final solution.
    Wordpress please, anwser.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘HTTP Error when uploading mp4 video file’ is closed to new replies.