Support » Networking WordPress » Image Errors Wp-includes/media.php

  • We are getting this error on one of our MU subdir sites with a particular template.

    Warning: imagecreatefromstring() [function.imagecreatefromstring]: Empty string or invalid image in /home/……/public_html/wp-includes/media.php on line 258
    Here is line 258
    $image = imagecreatefromstring( file_get_contents( $file ) );

    The template provider says its a wordpress file creating the issue. They indicated that the GD libaray was not functioning properly but the host TDM, indicated it was with a simple php file.

    We removed all 6-8 jpg images from the media folder on that subdirectory with no change.

    Any ideas or help would be greatly appreciated…

Viewing 5 replies - 1 through 5 (of 5 total)
  • Can you upload images in other sites?

    If so, what’s different between THAT site and the others?

    We have checked the subdir sites that are using this particular theme and no matter if they have images or not, they produce this error.

    Using that theme. Well, the real answer there is ‘That theme isn’t working right, talk to the theme devs.’

    Does the theme use TimThumb?

    Yes on timthumb …Here is what the host said:

    sounds like a permission issue..they also recently had a DDoS on the server….

    The module for the wordpress application you are mentioning in your latest reply is not familiar to us. Thus if the module has some requirements you should provide us with them so we can check if the module is compatible with the shared hosting environment on which your account is located.

    However since this is a module for the wordpress application we can assume that it is using the application requirements which are compatible with the environment.

    Regarding your inquiry for the mod_security this apache was enabled for the environment on which your account relies but we have disabled it.

    Thanks for your reply Ipstenu….

    It’s not DDoS, most likely. It’s the simple fact that TimThumb doesn’t work WELL on Multisite, if at all.

    How to Make TimThumb Work With WordPress Multisite

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Image Errors Wp-includes/media.php’ is closed to new replies.