• Hello,

    Can I know if there is always a solution to the HTTP ERROR on image upload ?

    And what solution worked for you ?

    I found these solutions:

    —— ADD TO .htacess one of these codes

    SetEnv MAGICK_THREAD_LIMIT 1

    OR

    AddType x-mapp-php5 .php

    OR

    <IfModule mod_security.c>
    SecFilterEngine Off
    SecFilterScanPOST Off
    </IfModule>

    OR

    # Exclude the file upload and WP CRON scripts from authentication
    <FilesMatch “(async-upload\.php|wp-cron\.php|xmlrpc\.php)$”>
    Satisfy Any
    Order allow,deny
    Allow from all
    Deny from none
    </FilesMatch>

    OR

    —— ADD TO php.ini

    file_uploads = On
    post_max_size = 100M
    max_execution_time 300
    max_input_time 300
    upload_max_filesize = 100M

    OR

    —— ADD TO function.php

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

    OR

    —— ADD TO wp-config.php

    define(‘WP_MEMORY_LIMIT’, ’64MB’);

    OR

    php_value upload_max_filesize 64M
    php_value post_max_size 64M
    php_value max_execution_time 300
    php_value max_input_time 300

    OR

    —— Install the plugin Default to GD
    https://github.com/getsource/default-to-gd

    OR

    —— Check /wp-content/uploads permissions and set them to 755

    ANY OTHER SOLUTION WORKED FOR YOU ?

Viewing 2 replies - 1 through 2 (of 2 total)
  • My suggestion: Avoid unusual punctuation in your images’ titles.

    Apostrophe’s, in particular, can stop an image from uploading. Rename such files and generally try to keep image names simple.

    (Some of the solutions listed above seem unsafe, probably unnecessary, and some could break or otherwise compromise a website.)

    • This reply was modified 7 years, 10 months ago by websta.
    Thread Starter makeonlineshop

    (@makeonlineshop)

    Thank you, what solution above should not be used ?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘HTTP ERROR image upload, solution that resolved your problems ? What worked ?’ is closed to new replies.