• I keep getting the Error message HTTP Error come up when I try to upload images. Sometimes they will upload if I resize them but this only works occasionally. It might take one image of a certain size and then kick out the next one even though it is the same size. I am at a loss as to what to do.

    I have already been in touch with the host any they can’t find a problem and say it is a wordpress issue.

    Can anyone help?

Viewing 15 replies - 46 through 60 (of 75 total)
  • I really laughing ??
    Encoding who do not know how ?
    The solution is very simple thing to do

    You Cpanel , v.s Plesk panel your web site php Versiyon ??
    this error Php 5.4 and it’s in the version under
    To get rid of the problem Cpanel Select Php versiyon and Current PHP version: 5.6 5.7 5.8 5.9 or 7.0 :))))

    Spend a nice day

    I AM running PHP version 5.6, still no good.

    EDIT: I just swtiched it too PHP 7 and again, no luck.

    Hello all
    Struggling with brand new site new 4.5.1 version from WP.org so after trying so many things including talking to my server support for hours yesterday (literally) this what I have:

    – Running on PHP 5.6
    – all content lying on root although the domain as such is a sub-domain (the actual domain in redirected to another folder that is also lying on root as we want to keep things alive)
    – brand new version from www.remarpro.com (US) uploaded via ftp
    – database is working fine and interacting well
    – I uploaded a basic .htaccess (and got other pages to run smoothly) via ftp

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress

    – I have added
    define(‘WP_MEMORY_LIMIT’, ’64MB’);` to the wp-config file as this was suggested in another forum

    – I have changed permissions to 775 and tried 777

    Basically it seem like WP does not want to speak to root..
    (note the old site -joomla – is running separately and perfectly in other folder two levels down i.e. root/temp/joomla-folder and all hidden files where moved over to this folder as well)

    I do not get http error but “cannot move” cannot create etc”

    Any ideas..? Pretty please..

    Encountered this problem when I upgraded to 4.5.1.
    Solution1 fixed it. Thanks!

    Solution 1 worked for me.

    natalieg925 your step by step approach was very helpful.

    Thanks.

    .. to add to above I now have this in functions.php

    <?php
    add_filter( 'wp_image_editors', 'change_graphic_lib' );
    
    function change_graphic_lib($array) {
    return array( 'WP_Image_Editor_GD', 'WP_Image_Editor_Imagick' );
    }

    but I would not change it from WP-admin I had to change the file and upload it via https://ftp..

    Hi jweb

    Keep in mind changing code from backend editor was always Risky so please use FTP or Cpanel.

    @hi natalieg925

    Thank you for explanation but never changed code from back end it’s very risky sometimes so.

    Thanks

    Hi Ahir

    Thank you – well I could not even if I tried .. – just taking backup and considering uploading a 4.4.2 wp and see if that works (again)..

    So far none of the solutions have worked for my site, but I’m still glad to have found this thread. At least I have a better understanding of what the issue is. Thank you to everyone that’s attempted to find a solution because I’d surely be lost otherwise.

    I have many sites, spread across three servers. They are all suffering from lack of ability to upload any image larger than 130kb

    all started when”upgrading” to 4.5.1

    I have tried all the fixes here to no avail. I have contacted the different hosts and am not getting a lot of satisfaction there either.

    Surely I am not the only one out there who is blocked by this problem? Starting to think the only answer is to retrograde my sites and upload old backups! Come on WordPress gurus, give me and the hosting peeps a clue!

    For me the fixed was server/host side.

    —>ini_set() has been disabled for security reasons<—

    Add the php.ini file to public html, wp-admin and wp-includes folders.

    1. Login to your domain via regular or secure FTP (FTP over TLS/SSL – Auth TLS Explicit highly recommended)

    2. Create blank file named php.ini

    3. Edit php.ini file then add following lines (please copy and paste each line separately – 5 lines in total):

    extension=pdo.so
    extension=pdo_sqlite.so
    extension=sqlite.so
    extension=pdo_mysql.so
    disable_functions = show_source, system, shell_exec, passthru, exec, phpinfo, popen, proc_open, allow_url_fopen, ini_alter, proc_terminate, proc_get_status, proc_nice, escapeshell, eshellarg, escapeshellcmd, dl, symlink

    4. Save file

    5. Set php.ini permissions to 600. It will lock configuration file. You may set 600 permissions via File Manager – right click on php.ini file then select “Change Permissions” > 600.

    add in theme`s functions.php

    add_filter( 'wp_image_editors', 'change_graphic_lib' );
    
    function change_graphic_lib($array) {
     return array( 'WP_Image_Editor_GD', 'WP_Image_Editor_Imagick' );
     }

    solution 1 worked for me on my WP 4.5.1

    Ok for those of you who haven’t solved this, double check your memory limit with your host.

    I had another look at my PHP.INI settings in my control panel and my memory limit was 120M. I’ve now upgraded my package as I was on an old package and I have 512M now and I have no more issues.

    I did figure out a workaround while I was being upgraded. I have a ‘under construction’ theme which I used a while back. I applied this theme and tried to upload a picture bigger then 1024px and it uploaded fine.

    I’m guessing the theme I was using is using too much of my PHP Memory limit causing the error as there wasn’t enough going around. So disabling that theme for the under construction one which obviously used less memory aloud me to upload bigger pictures.

    tried solution one. put he code in at the top…nothing happened went to delete it and now its crashed my entire dashboard. I cant get in.

    it reads this when I try to access my dashboard..now what??

    Parse error: syntax error, unexpected ‘}’ in /var/sites/u/urbangypset.com/public_html/wp-content/themes/topshop-premium/functions.php on line 167

    I’m also suffering this issue. None of the quoted fixes seem to work.

Viewing 15 replies - 46 through 60 (of 75 total)
  • The topic ‘HTTP Error. when uploading images’ is closed to new replies.