 
	
		Tagged: hostgator
- 
		AuthorPosts
- 
		
			
				
January 13, 2015 at 11:39 am #378702I´m currently on Enfold version 3.0.4 and wordpress version 4.1, hosted at GoDaddy. When i try and upload an image the image uploads then after crunching i get an (http error). I have tried deactivating all my plugins and then error is still there. But if I deactivate the theme by choosing the default theme then the uploader works fine. I have also called GoDaddy support and they have also confirmed that this is an error with the theme. Please help as i would love to get this fixed ASAP. Regards Rob January 13, 2015 at 11:59 am #378713Hi grida! Do you mind creating a temporary admin login and posting it here privately so we can look into it? Best regards, 
 YigitJanuary 13, 2015 at 12:30 pm #378731This reply has been marked as private.January 14, 2015 at 7:47 am #379297Hi! Thank you for the info. Please make sure that the wp-content/uploads folder has the correct file permission. Regards, 
 IsmaelJanuary 14, 2015 at 11:49 am #379369As far as i can see the permissions are fine. The error only happens with your theme active and with images larger than a few kb. Rob January 15, 2015 at 7:10 pm #380294Hi! There’s a maximum upload size on the Media panel. Try to increase it. Refer to this link how: http://www.wpbeginner.com/wp-tutorials/how-to-increase-the-maximum-file-upload-size-in-wordpress/ Cheers! 
 YigitJanuary 15, 2015 at 10:02 pm #380485This is not the case as i have been uploading 50MB+ pdf files into the media panel. It is only a problem when uploading images and is only a problem when i have your theme active!!! January 16, 2015 at 9:57 am #380648Hey! Please refer to the following link for a possible fix: https://wordpress.org/support/topic/resolution-to-the-dreaded-http-error-during-media-uploads https://wordpress.org/support/topic/http-error-on-image-upload-still Cheers! 
 IsmaelJanuary 30, 2015 at 12:46 pm #388251Hi Guys, I am having a similar issue but my files are only kb in size. If i upload something that has large dimensions in px I get an error. If i reduce the size of the file in px it uploads fine. The difference between the two in ‘filesize’ is only a few kb. Can do you know why this may be the case? January 30, 2015 at 11:41 pm #388613Hi! Try removing some of the image sizes you don’t use in functions.php, line 117-128: $avia_config['imgSize']['widget'] = array('width'=>36, 'height'=>36); // small preview pics eg sidebar news $avia_config['imgSize']['square'] = array('width'=>180, 'height'=>180); // small image for blogs $avia_config['imgSize']['featured'] = array('width'=>1500, 'height'=>430 ); // images for fullsize pages and fullsize slider $avia_config['imgSize']['featured_large'] = array('width'=>1500, 'height'=>630 ); // images for fullsize pages and fullsize slider $avia_config['imgSize']['extra_large'] = array('width'=>1500, 'height'=>1500 , 'crop' => false); // images for fullscrren slider $avia_config['imgSize']['portfolio'] = array('width'=>495, 'height'=>400 ); // images for portfolio entries (2,3 column) $avia_config['imgSize']['portfolio_small'] = array('width'=>260, 'height'=>185 ); // images for portfolio 4 columns $avia_config['imgSize']['gallery'] = array('width'=>845, 'height'=>684 ); // images for portfolio entries (2,3 column) $avia_config['imgSize']['magazine'] = array('width'=>710, 'height'=>375 ); // images for magazines $avia_config['imgSize']['masonry'] = array('width'=>705, 'height'=>705 , 'crop' => false); // images for fullscreen masonry $avia_config['imgSize']['entry_with_sidebar'] = array('width'=>845, 'height'=>321); // big images for blog and page entries $avia_config['imgSize']['entry_without_sidebar']= array('width'=>1210, 'height'=>423 );Best regards, 
 JosueFebruary 17, 2015 at 9:16 pm #397797Please can you provide a fix for this ASAP, as I’m now in the last stages of developing the website and need to upload images to the site but this bug is making it impossible, I agree with eng257 and it seems to be an error to do with size in px rather that size in MB. February 17, 2015 at 9:42 pm #397815March 7, 2015 at 6:24 pm #407525I have the exact same issue as Grida. Exactly. Turn the theme off and uploads work fine. I even found that if I try to upload files from while using Enfold, I get the http error, and then when I leave Enfold, open a default theme, and go back to Enfold, the uploaded graphics are there. Obviously not a useful workaround. I am only having problems with png files, but this is very worrisome! Like eng257, I have found that if I upload a tiny png (under 15K), it uploads, but larger png files (100K and higher) simple give me the error message. I love Enfold, but I need to have this basic feature flawless. I also spoke with GoDaddy who confirmed all of the above. This is a serious issue! Please help! March 8, 2015 at 12:18 am #407596May 27, 2015 at 11:23 pm #450835Hi!! I’m having the exact same problem !! 
 we have a solution?May 28, 2015 at 12:03 am #450841May 28, 2015 at 7:38 pm #451390This reply has been marked as private.May 28, 2015 at 8:41 pm #451428That depends on your set-up (which image sizes you use and which you don’t), can you post a link to your site/blog? Best regards, 
 JosueJune 23, 2015 at 9:09 pm #463641I am having the same problem esactly June 23, 2015 at 10:54 pm #463686October 5, 2015 at 10:00 pm #514062Was a solution determined? I see those lines in the function.php file, but I need more detail on how to disable them WHILE using a child theme. Or alternatively, is there a better fix? I can give you a login if you like: http://auritt.com/home-2/ Thanks, Liz October 5, 2015 at 10:57 pm #514076Hi Liz! The issue is related to server limitations so it doesn’t happen to everyone, the fix can be applied via child them with the following code (child 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 );Best regards, 
 JosueOctober 6, 2015 at 7:34 pm #514707Thanks! This worked somewhat … I was able to upload but now I have an error: Division by zero in /home/content/p3pnexwpnas07_data03/82/2575682/html/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/slideshow.php on line 412I’m using GoDaddy btw. - 
		This reply was modified 10 years ago by losting. 
 October 6, 2015 at 10:10 pm #514811Hey! Try with this code instead: function ava_image_sizes() { remove_image_size('masonry'); remove_image_size('magazine'); remove_image_size('widget'); remove_image_size('featured'); remove_image_size('featured_large'); remove_image_size('extra_large'); remove_image_size('portfolio_small'); remove_image_size('gallery'); remove_image_size('entry_with_sidebar'); remove_image_size('entry_without_sidebar'); remove_image_size('square'); } add_action( 'after_setup_theme', 'ava_image_sizes', 11 );Best regards, 
 JosueOctober 6, 2015 at 10:18 pm #514819I think that works! Thanks! October 6, 2015 at 11:31 pm #514839You are welcome, glad to help :) Regards, 
 JosueDecember 8, 2015 at 6:35 am #548530Trying to get wordpress to allow me to upload images, can you possibly have a check can’t get the child functions to work…. December 8, 2015 at 11:36 am #548647Hey! I tried uploading an image and it did work as expected, what problem are you having exactly? Best regards, 
 JosueDecember 8, 2015 at 11:41 am #548651Only few, maybe 1 out of 5 images are possible to upload, regardless of size of type December 8, 2015 at 1:43 pm #548717Hi, Can you please check if the issue persists with the default WordPress theme activated? have you checked on a different computer? Regards, 
 Josue
- 
		This reply was modified 10 years ago by 
- 
		AuthorPosts
- The topic ‘Upload image giving http error (theme error)’ is closed to new replies.
