Tagged: 

Viewing 30 posts - 1 through 30 (of 67 total)
  • Author
    Posts
  • #378702

    I´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

    #378713

    Hi grida!

    Do you mind creating a temporary admin login and posting it here privately so we can look into it?

    Best regards,
    Yigit

    #378731
    This reply has been marked as private.
    #379297

    Hi!

    Thank you for the info. Please make sure that the wp-content/uploads folder has the correct file permission.

    Regards,
    Ismael

    #379369

    As 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

    #380294

    Hi!

    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!
    Yigit

    #380485

    This 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!!!

    #380648
    #388251

    Hi 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?

    #388613

    Hi!

    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,
    Josue

    #397797

    Please 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.

    #397815

    Hi!

    Login provided here is no longer working, please re-check.

    Cheers!
    Josue

    #407525

    I 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!

    #407596

    Hey @rasa,

    Did you already try this? just disable the ones you don’t use.

    Best regards,
    Josue

    #450835

    Hi!!

    I’m having the exact same problem !!
    we have a solution?

    #450841

    Hi @fernandobb,

    Have you already tried the solutions suggested here?

    Regards,
    Josue

    #451390
    This reply has been marked as private.
    #451428

    That 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,
    Josue

    #463641

    I am having the same problem esactly

    #463686

    Hola,

    Has probado esto ya?

    Saludos,
    Josue

    • This reply was modified 9 years, 2 months ago by Josue.
    #514062

    Was 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

    #514076

    Hi 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,
    Josue

    #514707

    Thanks! 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 412

    I’m using GoDaddy btw.

    • This reply was modified 8 years, 11 months ago by losting.
    #514811

    Hey!

    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,
    Josue

    #514819

    I think that works! Thanks!

    #514839

    You are welcome, glad to help :)

    Regards,
    Josue

    #548530

    Trying to get wordpress to allow me to upload images, can you possibly have a check can’t get the child functions to work….

    #548647

    Hey!

    I tried uploading an image and it did work as expected, what problem are you having exactly?

    Best regards,
    Josue

    #548651

    Only few, maybe 1 out of 5 images are possible to upload, regardless of size of type

    #548717

    Hi,

    Can you please check if the issue persists with the default WordPress theme activated? have you checked on a different computer?

    Regards,
    Josue

Viewing 30 posts - 1 through 30 (of 67 total)
  • The topic ‘Upload image giving http error (theme error)’ is closed to new replies.