HTTP ERROR image upload, solution that resolved your problems ? What worked ?
-
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 = 100MOR
—— 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 300OR
—— Install the plugin Default to GD
https://github.com/getsource/default-to-gdOR
—— Check /wp-content/uploads permissions and set them to 755
ANY OTHER SOLUTION WORKED FOR YOU ?
- The topic ‘HTTP ERROR image upload, solution that resolved your problems ? What worked ?’ is closed to new replies.