Tagged: http error
-
AuthorPosts
-
April 27, 2016 at 2:43 am #622659
I am getting an http error when uploading images. I followed your instructions:
– Make sure that your theme is up to date and runs the latest Version. In Enfolds case this is 3.5.4. This should by default fix all problems with this bug. (Updating your theme files)
– Also: make sure that you are not running any outdated plugins that could cause problems
– Clear your browser cache and reload the page a few times (hard refresh). If you get the same results then please try a different browser and/or machine to see if you get the same results. If not then you are getting cached results.
– If clearing your cache did not work then you could try to add the following code to the bottom of the themes functions.php fileI also have the latest WordPress 4.5.1
Nothing worked. I’ve included a temp admin login for you. Please let me know if you need anything else.
Thanks!
- This topic was modified 8 years, 6 months ago by devynspirit.
April 27, 2016 at 3:23 am #622669Hey devynspirit!
Thanks for getting in touch with us!
Please also try increasing your PHP memory: https://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP . Also increase the max upload file size: http://www.wpbeginner.com/wp-tutorials/how-to-increase-the-maximum-file-upload-size-in-wordpress/
Let me know if you need further assistance.
Cheers!
JordanApril 27, 2016 at 5:19 am #622712I’ve done both of these things and still getting http error when uploading images. Max memory for php =256MB and 64MB for upload size (that’s the max my host will do).
April 28, 2016 at 5:49 am #623483I am having the same problem, but not on every image.
April 28, 2016 at 3:23 pm #623826Hi!
Can you please try adding following code to Functions.php file in Appearance > Editor
add_filter( 'wp_image_editors', 'change_graphic_lib' ); function change_graphic_lib($array) {return array( 'WP_Image_Editor_GD', 'WP_Image_Editor_Imagick' );}
Cheers!
Yigit- This reply was modified 8 years, 6 months ago by Yigit.
April 28, 2016 at 6:42 pm #623939I realized that the images I was trying to upload were too big in size, so when I made re-sized them and made them smaller the issue resolved.
May 1, 2016 at 7:34 am #625248Hi,
Great, glad you found the cause of the problem. Please let us know if you should have any further problems on the topic.
Thanks,
RikardMay 5, 2016 at 1:36 pm #627809Yigit’s code in the functions.php worked!!! I tried everything before and size of photo made no difference for me.
My page editor looks weird also – even still.
I also couldn’t add the full width slider into my page – don’t know what’s going on.
May 9, 2016 at 4:14 am #628974Hi,
@Intell: Could you please provide a link to the site? Do you see any error in the browser console when you switch to the advance layout builder?Best regards,
IsmaelMay 9, 2016 at 7:37 am #629053Hi,
@Intell: Could you please provide a link to the site? Do you see any error in the browser console when you switch to the advance layout builder?Best regards,
IsmaelNope – that works fine.
The site having problems with image uploads & I had to use Vigit’s code to fix is on HostGator. This one site that wouldn’t upload images – you could use an image already in the media library just fine, but not upload one. After Vigit’s fix it works great.
I have other sites on the same HostGator account, running same exact content that did NOT have the image upload issue. The images that were missing returned upon installing new Enfold update.
On my VPS somewhere else, the same content on those sites didn’t have the image upload problem – they were fine after installing the latest version of Enfold all the way around.
HOWEVER!!!
On another site running all the same content – I can’t get the banner or another image to display on the home page!
Even if I create a new page & upload the saved template – nothing. Updated Enfold to latest & still nothing.
It has WP 4.5.2 on it. It’s also at HostGator – but the other sites at same HostGator account have their home page images (same exact template & content) after updating everything.
The login is below – please see if you can fix this issue.
Quite odd that the same exact theme, templates & content, with the same exact plugins on the same exact hosting account, running the same WP version would act up. Talk about a mystery!!
Thanks for your help!
May 11, 2016 at 12:50 am #630309HEY HEY HEY!!
THIS IS AN EMERGENCY!! WHY HAS MY PROBLEM (see above) BEEN IGNORED?
Repeat of the emergency:
“HOWEVER!!!
On another site running all the same content – I can’t get the banner or another image to display on the home page!
Even if I create a new page & upload the saved template – nothing. Updated Enfold to latest & still nothing.
It has WP 4.5.2 on it. It’s also at HostGator – but the other sites at same HostGator account have their home page images (same exact template & content) after updating everything.
The login is below – please see if you can fix this issue.
Quite odd that the same exact theme, templates & content, with the same exact plugins on the same exact hosting account, running the same WP version would act up. Talk about a mystery!!
Thanks for your help!”
May 11, 2016 at 3:49 am #630341Hi,
Sorry for the delay but we’re not ignoring the thread. We are going through every thread, first in, first out. Please be patient until we get to your thread. And bumping won’t help because it will push the thread back to the end of the queue. Regarding the issue, it’s happening because the theme version in the site is outdated, 3.3.2. Please update the theme to the latest version, 3.5.4.
Best regards,
IsmaelMay 11, 2016 at 4:33 am #630361OMG!! lol – I updated so many flippin’ sites – I thought I HAD done that already!!!
A thousand pardons!
May 12, 2016 at 9:31 am #631238April 21, 2017 at 7:59 am #781019I’m getting the HTTP error on image uploads now, too. My image sizes are small, 148kb fails.
I tried the functions.php fix that was offered elsewhere. That failed.
I see from three threads on your site that this issue has been occurring for at least two years. I have version 3.8.4.
This is really annoying. You must be pretty embarrassed.Have you got a resolution for this at all?
April 22, 2017 at 6:05 am #781532Hi,
No we are not embarrassed, your problems are likely not caused by the theme since uploading images is default WordPress functionality. If you should need any further help then please post a new thread including admin login details in private.
Best regards,
RikardMay 7, 2018 at 12:34 pm #952657Thank you Yigit,
I have the HTTP error on my site (WordPress-4.9.5 + Enfold-4.2.6)
and you code solve the issue.
Thank you very much.Best regards
May 7, 2018 at 4:42 pm #952749 -
AuthorPosts
- You must be logged in to reply to this topic.