Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #94264
    kimasei
    Participant

    Hello, I’m new to WordPress and not sure if this is the theme issue. Been troubleshooting this issue for days.

    I’m trying to upload my images(not using any plugin) but some of the images are successfully uploaded but some are not. They keep coming with a Http Error.

    #94270
    Pratik
    Participant

    Hi @kimasei,

    This is not the theme issue. It is memory issue in your server. The memory is being exhausted while you upload the image. To resolve this, you can use following methods:
    1. If you have access to your PHP.ini file, change the line in PHP.ini
    If your line shows 32M try 64M:
    memory_limit = 64M ; Maximum amount of memory a script may consume (64MB)
    2. If you don’t have access to PHP.ini try adding this to an .htaccess file:
    php_value memory_limit 64M
    3. Try adding this line to your wp-config.php file:
    Increasing memory allocated to PHP
    define('WP_MEMORY_LIMIT', '64M');
    4. Talk to your host.

    Regards,
    Pratik

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘HTTP Error while uploading image’ is closed to new replies.