Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #853494
    erobisn
    Participant

    I don’t know why I run into so many issues with uploading images. Half the time I get HTTP Errors on .pngs and .jpegs that are under 1000px.

    #853672
    Darshana
    Moderator

    Hi there,

    Thanks for writing in! There could be many factors for this issue. Please refer to the following resource (https://whatswp.com/fix-wordpress-http-error-image-uploads/).

    Also you may try increasing max_execution_time as mentioned here (https://kairaweb.com/support/topic/increase-the-wordpress-maximum-file-upload-size/).

    Basically you can contact your web hosting provider to resolve this type of issues.

    Hope that helps.

    #981312
    erobisn
    Participant

    Hi ThemeCo Support!
    I did end up contacting my web hosting. They directed me to this link:
    https://kairaweb.com/support/topic/increase-the-wordpress-maximum-file-upload-size/

    Unfortunately, I am unable to find a functions.php file for the X theme. Can you direct me towards this please??
    Thank you!

    #981637
    Rue Nel
    Moderator

    Hello There,

    Because this requires a template change, I’d advise that you setup a child theme. This allows you to make code changes that won’t be overwritten when an X update is released. After your child theme is setup, please review how we recommend making template changes in Customization Best Practices.

    once you already have your child theme active and ready, please insert this following code in your child theme’s functions.php file.

    @ini_set( 'upload_max_size' , '64M' );
    @ini_set( 'post_max_size', '64M' );
    @ini_set( 'max_execution_time', '300' );

    You can also do the other method like editing the htaccess if you have access to your ftp.

  • <script> jQuery(function($){ $("#no-reply-853494 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>