Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #622350

    I am rebuilding my site that was hacked. I have my site on a new web host and am working on uploading images that were on the previous Enfold site. I’m not sure why I am getting the HTTP error when I upload some but not other images. Here are links to the screenshots of the error. File size is set for 64MB. Files that aren’t uploading are in the 100KB range, so I don’t think it’s a file upload maximum size issue.
    Not sure where to go from here. This is happening on both of the Enfold sites that I’m working on recreating.

    http://screencast.com/t/QjXat4VX

    http://screencast.com/t/ewiyerHY8O

    http://screencast.com/t/A0d3Xq7Rfo

    #622355

    Hey MennoPlace,

    Does this also happen when changing to the default WordPress Theme?

    Best regards,
    Kriesi

    #622361

    No. I switched to Twenty Fifteen and was able to upload a file that was over 100KB.
    http://screencast.com/t/Huc2O8uUp7

    #622362

    Actually was 79KB, but was one that I couldn’t upload within Enfold theme:
    http://screencast.com/t/t5Uh8qEznLq

    #622535

    Hey!

    I just read that wordpress 4.5 might be causing this and that wordpress 4.5.1 introduced a fix for media uploads: https://wordpress.org/news/2016/04/wordpress-4-5-1-maintenance-release/

    Would you mind trying to update to 4.5.1 and let me know if that works?

    Regards,
    Kriesi

    #624849

    I am having the issue with WP 4.5.1 as well.

    I am with Godaddy Managed WP.

    I found a solution that worked for me in my functions.php:

    function ava_image_sizes() {
    add_image_size(‘masonry’, 0, 0);
    add_image_size(‘magazine’, 0, 0);
    add_image_size(‘widget’, 0, 0);
    add_image_size(‘featured’, 0, 0);
    add_image_size(‘featured_large’, 0, 0);
    add_image_size(‘extra_large’, 0, 0);
    add_image_size(‘portfolio_small’, 0, 0);
    add_image_size(‘gallery’, 0, 0);
    add_image_size(‘entry_with_sidebar’, 0, 0);
    add_image_size(‘entry_without_sidebar’, 0, 0);
    add_image_size(‘square’, 0, 0);
    }
    add_action( ‘after_setup_theme’, ‘ava_image_sizes’, 11 );

    I found it here:

    https://kriesi.at/support/topic/upload-image-giving-http-error-theme-error/

    My hero Josue!!

    Thank you Josue!!

    #624901

    Hi,
    since this is not a permanent solution and will be removed with the next update, (ans also removes all thumbnails that are generated and necessary for the theme):

    Would you mind posting me your login data for wordpress as well as your FTP data in the “private data” field?
    I will see if I can find a fix that works better.

    Apparently this is an issue with GoDaddy, we have had some users reporting it now…

    Best regards,
    Kriesi

    #626531

    Over the last week or so I have been struggling with the same problems while uploading images.

    I have finally found a workable solution, adding this to my .htaccess file at the root of my WordPress installation just before the # BEGIN WordPress line:

    SetEnv MAGICK_THREAD_LIMIT 1

    It does work in my case, and there are many other references of this WP 4.5 huge bug:

    https://wordpress.org/support/topic/http-error-when-uploading-images-17/page/2
    https://wordpress.org/support/topic/http-error-uploading-and-uploads-greyed-out
    http://www.inmotionhosting.com/support/edu/wordpress/http-image-error

    Hope this helps!

    #626943

    Hi,

    Thanks for the tip @nightjar, much appreciated :-)

    Regards,
    Rikard

    #651371

    Nightjar’s solution does not work for me.

    I’m running the latest versions of WP and Enfold.

    A jpg file that is 1910 x 1273 and 363 kb will just not upload.

    Reduced the image to 1910 x 1015 and 282 kb and the file did upload.

    From my tests it seems to be a dimensions issue, not a file size issue.

    Sean

    #652436

    Hi,

    What is value of the upload_max_filesize php directive? Please post the url to the site and the login credentials. We would like to check it.

    Best regards,
    Ismael

Viewing 11 posts - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.