IO Error when trying to upload photos

  • Unknown's avatar

    I don’t suppose you have any info for people who can’t even get that far? I definitely see a small fill-in box with a button beside it when I hit the Add Media button, but that instantly turns into the “Choose image to upload” button, which does nothing whatsoever but turn red when I click it. The process stops at that point.

  • Unknown's avatar

    nothing unusual. I tried all different types of files (gifs, jpegs, etc.)

  • raincoaster: does anything new appear in your browser’s Javascript error console when you click the button? (In Firefox, Tools/Error Console – you might have to Clear it first)

  • Unknown's avatar

    Nothing whatsoever new happens when I click the button. Nothing new shows up in the Javascript error console then. However, a TON of stuff shows up when I click the Add an Image button in the first place. Dozens of errors. Would it be useful if I were to copy and paste them here?

  • raincoaster: send them to support please.

  • Unknown's avatar

    Any idea how to copy them, other than typing them all out? I can’t seem to highlight more than one, and Control C control V doesn’t seem to work.

  • Unknown's avatar

    Correction; it works. Am copying and will email and then go to bed.

  • Unknown's avatar

    Hi raincoaster,
    did you get any reply?

    tellyworth (or anybody else from wp):
    do you have any news for my friend himbeertoni?

  • Unknown's avatar

    Yes, we’ve been working on it back and forth via email. Still not really sure what’s up.

  • Unknown's avatar

    I’ve posted a workaround that works with Linux/Ubuntu and should work with Mac too:

    A Workaround for Uploading Pictures/Media to Your WordPress Blog for Ubuntu/Linux AMD 64 Users…

    Cheers!

    WCS

  • Unknown's avatar

    please let us (me or himbeertoni) know, as soon as you get any solution.

  • Unknown's avatar

    PS: I believe the workaround should work for windoze too if it’s installed on a 64 bit system…

    Cheers!

    WCS

  • Unknown's avatar

    That looks good, westcoastsuccess. I can’t test it on this machine, but I’ll test that tomorrow with Windows.

    aquemini, try his workaround:

    A Workaround for Uploading Pictures/Media to Your WordPress Blog for Ubuntu/Linux AMD 64 Users…

  • Unknown's avatar

    Some progress: since my original post on Sunday, I now get a “IO Error #2038”.

    Hmmm…

    Thanks also to raincoaster for all of your suggestions; at least we are narrowing down the options.
    M
    (still pulling my hair out!)

  • Unknown's avatar

    I hear ya. Hopefully this will be resolved sooner rather than later, but it’s been three days and counting. I’m using Photobucket at the moment and I hate it.

  • Unknown's avatar

    just posted a question on widgets.
    sorry but i have to ask the same for photos as well: i tried uploading a photo, impossible. i land to the last step, done with errors. then no photo. very weird.
    hopefully this will be sorted out soon.
    (sorry, but i have about zero technical / IT skills which is why i rely on wordpress…)
    thanks,
    http://onfoodandwine.wordpress.com/

  • Unknown's avatar

    Work around the upload error with your images by using Flickr or Photobucket and taking that URL and putting it in the Image Icon pop-up box. No need to use the uploader at all. Flickr and Photobucket accounts are free and easy to register for, but don’t put nudes in your Photobucket account or they’ll delete it. I think the place is run by Mormons or something.

  • Unknown's avatar

    right. thanks for that. i had flickr (didn’t know about photobucket, but i guess better for it?!) – so will try the url copy/paste
    thanks.
    http://onfoodandwine.wordpress.com/

  • Unknown's avatar

    I have the same I/O error (complete with shiny new number – 2038) so for now I use Smugmug which costs a few dollars a year but it makes linking to your photo (in several sizes) a breeze and gives a service way beyond the free photo sites.

    And I promise they are not my relatives.

    It would be nice to have the image upload feature back though.

    I am using a netgear ADSL router with Network Address Translation and all ports locked down so it is a pretty effective hardware firewall. I wonder what kit andreea77 and my fellow sufferers are using?

  • Unknown's avatar

    These are simply JavaScript errors. I couldn’t see them in Firebug, but they did show up in CompanionJS. Anyhow, just make the following changes in your code (someone should probably commit this back to the trunk as well):

    wp-admin/includes/media.php – line 817
    from:
    [code]debug: false,[/code]
    to:
    [code]'debug': false[/code]

    wp-includes/js/swfupload/handler.js – line 97
    from:
    [code]jQuery('#media-item-' + this.id).children('.describe').css({backgroundColor:'#fff'}).end()
    .animate({backgroundColor:'#ffc0c0'}, {queue:false,duration:50})
    .animate({minHeight:0,height:36,}, 400, null, function(){jQuery(this).children('.describe').remove()})
    .animate({backgroundColor:'#fff'}, 400)
    .animate({height:0}, 800, null, function(){jQuery(this).remove();updateMediaForm();});[/code]
    to:
    [code]jQuery('#media-item-' + this.id).children('.describe').css({'backgroundColor':'#fff'}).end().animate({'backgroundColor':'#ffc0c0'}, {'queue':false,'duration':50}).animate({'minHeight':0,'height':36}, 400, null, function(){jQuery(this).children('.describe').remove()}).animate({'backgroundColor':'#fff'}, 400).animate({'height':0}, 800, null, function(){jQuery(this).remove();updateMediaForm();});[/code]

    The two issues were object keys lacking quote enclosement and trailing commas at the end of arrays. The lack of quotes assumes an object rather than a string which results in a key “undefined” being set. The trailing comma at the end of an array assumes another element index to follow which never does which seems to cancel the array.

    Happy uploading!

  • The topic ‘IO Error when trying to upload photos’ is closed to new replies.