• I keep getting an error on the following line. Any clues?

    Fatal error: Out of memory (allocated 34340864) (tried to allocate 11164 bytes) in /homepages/20/d159566430/htdocs/jericocom/store/wallpapers/wp-admin/includes/image.php on line 147

    I have a php.ini file in the wp-admin folder with these lines

    memory_limit = 32M
    upload_max_filesize = 32M

    and its still not working.

Viewing 8 replies - 1 through 8 (of 8 total)
  • so set it higher, 64M

    Have you confirmed that the php.ini is actually being read and the changes applied? create a phpinfo file, open it in a browser and check, if youre doubting.

    Thread Starter Vast HTML

    (@erichamby)

    according to my phpinfo file

    memory_limit = 40M
    upload_max_filesize = 20M

    any other ideas.

    http://vasthtml.com/wallpapers/phpinfo.php

    Hi
    I have the same fatal error message… in image.php on line 147:
    $image = imagecreatefromstring( file_get_contents( $file ) );

    The line right above that I changed to a higher memory as well: @ini_set(‘memory_limit’, ‘100M’);

    The file I’m uploading is a jpeg file 5,228 KB in size.

    When I go back to the Media gallery, I can view the image fine but I am wondering why that fatal error message comes up? Is this something that I resolve?

    Here is my phpinfo values…
    upload_max_filesize = 50M
    post_max_size = 50M
    memory_limit = 100M
    realpath_cache_size = 32k

    Thanks for any ideas you might have
    Mandy :-{

    I meant to say, is this something that can be resolved?

    Sorry for the typo

    Thread Starter Vast HTML

    (@erichamby)

    hmm i guess no one knows

    I’m having this exact same problem right now.

    set it higher.

    Setting it higher will only temporarily solve the problem, but you will run out of memory when you continue to upload images to the image.php file. The only work around is to create a way to use multiple image.php files, and as they fill up, wordpress automatically moves onto the next one.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Fatal error: Out of memory (image.php on line 147)’ is closed to new replies.