Results 1 to 2 of 2

Thread: How to fix this new fatal error

  1. #1
    Thread Starter
    Junior Member kk8ete's Avatar
    Join Date
    Feb 2010
    Posts
    47
    Thanks
    0
    Thanked 1 Time in 1 Post

    Question How to fix this new fatal error

    Hi all,
    I have an error on my classipress site.
    When my users (when they want to add an image) or me (on backoffice > media), there is this error :
    "Fatal error: Out of memory (allocated 32243712) (tried to allocate 2592 bytes) in [...]/htdocs/wp-includes/media.php on line 253"

    It appear when the picture is a jpg/jpeg with more than 500k.
    When i want to upload a GIF = no problem !

    I have try to use a solution that i have find on the forum and i had make several modification on my php.ini file, wp-config.php, wp-setting.php but the problem is still here !

    When i look on my file : media.php and line 253 :
    I see : $image = imagecreatefromstring( file_get_contents( $file ) );

    Do you know i can fixe this strange error ?

    Thanks a lot !

  2. #2
    pepsi's Avatar
    Join Date
    Mar 2009
    Location
    New Zealand
    Posts
    14,883
    Thanks
    91
    Thanked 804 Times in 718 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. how to fix this Fatal error:
    By izem013 in forum Help Using ClassiPress
    Replies: 3
    Last Post: December 19th, 2011, 11:59 AM
  2. Fatal error: Cannot redeclare...
    By rstancato in forum Report ClassiPress Bugs
    Replies: 5
    Last Post: August 22nd, 2010, 08:21 AM
  3. Fatal Error message
    By PattyValente in forum Help Using ClassiPress
    Replies: 0
    Last Post: December 31st, 1969, 07:00 PM