• I have a Multiuse install with about 35 blogs – all are working fine

    one though is giving me errors that started today… I cannot upload images or add headers

    when adding a header -I get the following msg:

    Warning: imagecreatefromstring() [function.imagecreatefromstring]: Empty string or invalid image in /home/maindomain.com/public_html/wp-includes/media.php on line 254

    I have researched all over…

    I had my host increase the memory on php
    I have increased the memory for the blog with trouble
    I have host recompiling PHP and checking GD

    what else could it be?

Viewing 15 replies - 1 through 15 (of 17 total)
  • check the upload space on that blog.
    disable plugins on that blog.
    check and see if it put the image on the server and just didn’t make thumbnails.

    check and try the same action on another site too.

    Thread Starter talynndar

    (@talynndar)

    I checked the upload space and increased it to 50mb so only using around 8% now.

    I disabled all plugins and tested it that way – still did not work

    I tried on other sites and everything works fine.

    I seems to have uploaded images and headers someplace – as when i was messing around – I found them and deleted them.. but you are right did not create a usable image that I could see

    Start reading error logs. ??

    Thread Starter talynndar

    (@talynndar)

    error logs reveal nothing
    host rebuilt PHP and checked GD library

    I chekced media.php file and nothing different there from new clean copy

    still only affects one blog from 35

    I tried again turning off all plug ins…

    In a theme I can upload a background and that is fine
    but if I upload a header – with the option of edting thats where it errors

    I can upload an image in a post or a pic -and it will put the pic in – but shows size 0x0 and i cant edit the pic-

    I think has something to do with the imagecreate function in the media file – but after that thought -I dont know hwere to turn – any ideas?

    Same theme as the others?

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Thread Starter talynndar

    (@talynndar)

    yes same themes, tried various ones – even default. Which worked previously

    on themes that have background – can upload them.

    it seems to be limited to this one blog and to images uploaded that can be edited (cropped)

    will try plug in

    Thread Starter talynndar

    (@talynndar)

    yeah did not think the plugin would help – and did not – the issues it addresses has nothing to do with images…

    this is very common it seems – when I google entire error msg -TONS of sites appear in google witht his error msg showing – I am so surprised I am only one reporting ??

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Actually the hotfix DOES have some impact on images (which is why I suggested it ?? ). It was a shot in the dark, though.

    What version of PHP and GD libraries are we using here?

    Thread Starter talynndar

    (@talynndar)

    thanks was worth a shot…

    PHP was recompiled by host – I cant recall version or find it easily – but um last I checked was latest version – 5?

    GD Support => enabled
    GD Version => bundled (2.0.34 compatible)
    FreeType Support => enabled
    FreeType Linkage => with freetype
    FreeType Version => 2.4.4
    GIF Read Support => enabled
    GIF Create Support => enabled
    JPG Support => enabled
    PNG Support => enabled
    WBMP Support => enabled
    XBM Support => enabled

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Do you know how to make a phpinfo() page? If so, can you make one and tell us where it is?

    If it was working previous and now its not… then something changed on the server. new plugins, new server settings… we need some details to go on.

    Thread Starter talynndar

    (@talynndar)

    here is what shows in phpinfo – I think i did it right?

    register_globals = off allow_url_fopen = off expose_php = Off max_input_time = 60 variables_order = “EGPCS” extension_dir = ./ upload_tmp_dir = /tmp precision = 12 SMTP = relay-hosting.secureserver.net url_rewriter.tags = “a=href,area=href,frame=src,input=src,form=,fieldset=” [Zend] zend_extension=/usr/local/zo/ZendExtensionManager.so zend_extension=/usr/local/zo/4_3/ZendOptimizer.so rg_emulation=off

    Andrea – i did test a few plugins since deleted, then uploaded new themes – but not using them. Have tried it with all plugins off, have cache turned off. used basic theme twenty eleven – which worked early in day to upload a new header, then stopped.

    Host says no recent changes- because its only one blog of many its very confusing.

    Its almost like the allocated space for the blog ran out – but I checked and increased memory just in case ??

    all help is very much appreciated

    Its almost like the allocated space for the blog ran out – but I checked and increased memory just in case ??

    allocated space & memory are not the same thing.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    talynndar

    You make a php page called ‘phpinfo.php’ or something and the content of the page is:

    <?php
    
    phpinfo();
    
    ?>

    Then give us the link. (I will note – leaving a phpinfo page up indefinitely is a bad idea, but it can help a LOT for debugging).

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘imagecreatefromstring() [function.imagecreatefromstring]:’ is closed to new replies.