Tagged: 

Viewing 30 posts - 31 through 60 (of 67 total)
  • Author
    Posts
  • #548809

    Just uploaded the logo you can see in media using default theme but cannot do it with enfold. Can you download and then upload this logo using enfold?

    #549503

    I see, did you try the codes mentioned in this thread (in functions.php)?

    Regards,
    Josue

    #549504

    Yes, dont know if I did right, can you check quickly based on the ftp info I gave before? Might be something I am missing…

    #549509

    Ok, i’ve added it now using a plugin, check if the upload issue persists.

    #549515

    That did it, I can upload now. Thanks Josue!

    #549518

    You are welcome, glad to help :)

    Regards,
    Josue

    #577978

    Won’t work for me… :(

    I put this code in my child version of functions.php and it give me a error message

    <?php
    
    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', 'aa_image_sizes', 11 );
    
    ?>

    Can you take a look and see by yourself please ?
    By the way, i removed everything in the child version of functions.php because it crash the site.

    I put my credentials in private content.

    Thanks a lot.

    #579558

    Hey!

    please use this code instead:

    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 );
    

    Cheers!
    Andy

    #580508

    This code work well Solution

    Do you plan to fix the problem in the next update?

    Thanks.

    • This reply was modified 8 years, 10 months ago by nparent.
    #580665

    Glad you got this solved, although this is common issue it doesn’t occur to everyone because the source of it is caused by a server limitation (the server is unable to re-create the image that many sizes so we remove them with that code).

    Regards,
    Josue

    #581349

    It’s strange that a popular theme like Enfold and a popular hosting service like GoDaddy are not compatible together.

    By the way, due to the code, the thumbnail in the post list (wp-admin/edit.php) is displayed in full size.

    Seems that “add_image_size(‘widget’, 0, 0);” disable the normal thumbnail size of the image.

    I fix it by hiding it, but i hope it does not create another error on the site.

    //remove_image_size('widget');

    #581804

    It shouldn’t, the “fix” doesn’t require you to do remove ALL image sizes, just a few or the ones you don’t use.

    Regards,
    Josue

    #592816

    I have tried all of these PLEASE HELP!!!! I was supposed to launch this morning :(

    **URGENT**

    Godaddy managed wordpress server

    • This reply was modified 8 years, 9 months ago by neverstar.
    #594617

    Hi!

    please also contact your host about it. Does it work for you when using a default WordPress theme?

    Cheers!
    Andy

    #603231

    Hi,

    I’m having the http error issue. I’ve just updated my Enfold theme to the latest version and am still getting the error.

    I noticed the code being offered in this thread and wanted to try it but I am not using a child theme. Is it still fine for me to add this code?

    Would you be able to list the steps on how to add this code? Do I go to ‘appearance’ then ‘editor’?

    ***update*** I tried adding the code and it works! If someone could get back to me and let me know if it’s ok that I did that without using a child theme that would be great.

    Thanks,
    Gene

    • This reply was modified 8 years, 9 months ago by genealexander.
    #603634

    Hi Gene,

    So did it work on the child theme or the parent one? what code did you use and where did you place it?

    Best regards,
    Josue

    #604212

    Hi Josue,

    The code worked for me on the parent theme. I used the code that was offered in this thread posted by Andy (February 8, 2016 at 1:09 pm).

    I went to Appearance in the WP menu and then selected ‘Editor’. From there I located the ‘Theme Functions’ file (functions.php) which was located on the right sidebar Templates menu. I opened the file and scrolled to the bottom and pasted the code and everything worked from that point.

    Would you be able to comment on using Parent vs Child themes. If there is documentation you could refer me to or just give a brief comparison of why or when to use one over the other.

    Thanks,
    Gene

    #604377

    Hi!

    The idea of a child theme is to avoid losing custom code placed in functions.php when updating the main theme.

    Regards,
    Josue

    #609250

    Guys – this is a huge issue as more and more of us use Go Daddy managed wordpress… this needs to be addressed in future Enfold theme updates… please….

    #609253

    Help! I used the fix above and while it solves the upload issue, I get:

    Warning: Division by zero in /home/content/p3pnexwpnas08_data02/27/2854827/html/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/helper-slideshow.php on line 47

    displayed at the top of my web page!

    #609258

    I went up through this thread and saw Josue’s fix for the div by zero error message… that seems to have fixed my problem but this really feels like a workaround that should be addressed in theme development. Go Daddy is the world’s largest hosting provider and the theme should be 100% compatible, with all respect.
    Thank you

    #609263

    Same thing happened to me today ( WP Hosting at GoDaddy ) and I also used the code that was offered in this thread posted by Andy (February 8, 2016 at 1:09 pm). Worked like a charm!

    #610364

    Thanks for letting me know Josue. Still learning my way around wordpress!

    #610471

    Glad to hear it worked, let us know if you need further assistance with anything theme-related :)

    Cheers!
    Josue

    #614408

    Josue, as I use the theme and continue to upload images and build pages, I am really missing some of the sizes that the above code removes… it seems like eliminating them is a workaround… is there a more permanent solution that allows me to use more of the photo sizes without http errors?

    Thanks!
    Rob

    #614733

    Hi!

    It’s more of a server limitation so asking your provider to increase the processes your instance can handle would be a good start, alternatively you could try removing only the image sizes you don’t use.

    Cheers!
    Josue

    #615115

    Hi everyone,

    The best and simple way to fix that is by adding this plugin.
    https://github.com/getsource/default-to-gd
    There’s some instruction on the page.

    It’s an old plugin but work well for me with GoDaddy WP account.

    And it won’t be overwritten by next WP update. ;)

    Hope will help. Will work well for me.

    Cheers, ;)

    P.S – It not only an Enfold/GoDaddy problem.

    #615447

    That’s something new, thanks for sharing it @nparent.

    Cheers!
    Josue

    #615615

    I host with Media Temple (which IS GoDaddy, no matter how they try to spin it). I can confirm @nparent’s solution https://github.com/getsource/default-to-gd works for me.

    I have over 7 man hours into this silly issue.
    Am I relieved to have it working? YES.
    Do I think Enfold is the best thing to happen to WordPress? YES
    Should Enfold add a “Notice to GoDaddy/Media Temple hosted sites” clearly on the download page and install instructions page? YES

    Jeff

    #615616

    I just have a concern about installing a 4-year old plug to manage all my media… one that is not updated regularly with security patches etc and one that is not available in the Word Press Plugin Library….

    It really seems like Enfold should work with Go Daddy to at least give us some parameters of what to ask them to fix / change on their end… it almost seems like the uploads go faster than Go Daddy can handle and error out. If there were only a way to slow them down…

    UPDATE:

    I just found this discussion at WordPress support: https://wordpress.org/support/topic/media-files-cant-upload

    This comment seemed relevant so i tried this fix on my staging site:
    “This issue is being caused due to a restriction placed on your site by your web host. The reason why it appears with Minamaze and not other themes, is because Minamaze creates copied of each image you upload. The correct image size is then automatically used when needed to reduce page load speed time. As a result Minamaze needs longer to upload and create image copies.

    To fix this issue please speak to your webhost and ask them to increase the max_execution_time variable to 300 seconds. Alternatively, you can achieve this by editing your wp-config.php file for your domain. To do this please follow the steps below.

    Open wp-config.php in your sites main directory via FTP (or cPanel)
    Scroll to the line which reads /* That’s all, stop editing! Happy blogging. */
    Add the code set_time_limit(60); above the line /* That’s all, stop editing! Happy blogging. */ text
    This will override any conditions placed on your site by your host and you should now be able to upload images.”

    After modifying the wp-config.php file to 90 seconds (instead of 60) all pictures upload perfectly and it works like a charm!

    HOWEVER – the bad news is that on the staging site this broke the functionality of the Full Screen Slider and those pages just display a big white box where the slider used to be. Feels like we are getting closer to a solution with the above if we can make sure nothing else is broken by increasing the timeout.

    Can someone smarter than I am (most of you..) figure this out? (While the above support thread references a different theme, you’ll also see our beloved Enfold mentioned in the thread)

    Thanks!

    • This reply was modified 8 years, 8 months ago by goldengate415.
Viewing 30 posts - 31 through 60 (of 67 total)
  • The topic ‘Upload image giving http error (theme error)’ is closed to new replies.