Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Flash 10.1 breaks uploadify?
  • Hello there
    It seems the brand new release of flash completely bugs uploadify, sometimes it kind of works but really slow when creating the file queue, other times uploads just fail, sometimes it just hangs the entire website. Tested on 5 machines with different operating system XP/Windows 7 and different browsers, Chrome, Mozilla, IE all latest versions.

    Downgrading to flash 10/9 solves the problem on all different machine configurations, so it definitely has to do with flash. Note this is not flash version 10.0 it's 10.1 the BRAND NEW one, very important because it seems to be working with 10.0 .

    Anyone else notice this?
    Including if you have Flash 10.1 and you test uploadify on their official site here, the "DEMO" it has the same problems so it's not any problem with custom jscript code or anything like that, this is a universal problem.

    Thanks in advance if anyone has any solution.
  • It seems that recompiling the swf file for Flash 10 helped us. I uploaded it here: http://rapidshare.com/files/408498008/uploadify.swf

    Hope that helps
  • I have this problem!

    Also just checked the demo on the uploadify site and get the same issue - IO error.

    Definitely a problem with the latest Flash player.

    Would love to hear from the developer on this if possible as I'm going to have to disable upload in my file manager now. :(
  • im sure it's a flash issue, try downgrading to flash version 10.0
    http://kb2.adobe.com/cps/142/tn_14266.html
  • I have this problem... well sorta. The files upload but after it completes i get the filename with an http error no code just the txt "http error" and it doesn't close the swf file. Demo works fine so i know its in my script... Im a complete newb to jquery. I didn't write this i'm just the poor sap that has to fix it.

    $(document).ready(function() {
    $('#uploadDocument').uploadify({
    'uploader': '/images/uploadify.swf',
    'script': '/account/m_uploaddocument_upload',
    'folder': '/account_documents/<?=$int_accountid?>',
    'scriptData': {'doctype': '<?=$str_doctype?>', 'accountid': '<?=$int_accountid?>', 'userid': '<?=$_SESSION['user']['userid']?>'},
    'fileDesc': 'Select Files To Upload',
    'cancelImg': '/images/cancel.png',
    'multi': true,
    'buttonImg': '/images/upload.png',
    'width': 191,
    'onAllComplete': function(e, d) {
    if (d.errors == 0) {
    reloaddocs('reload');
    $('div.uploaddocs-dialog').dialog("close");
    }
    else {
    return false;
    }
    }
    });
    });


    function m_uploaddocument_upload()
    {
    if (!empty($_FILES)) {

    $tempFile = str_replace(" ","_", $_FILES['Filedata']['tmp_name']);
    $targetPath = $_SERVER['DOCUMENT_ROOT'] . $_REQUEST['folder'] . '/';
    $targetFile = str_replace(" ","_", str_replace('//','/',$targetPath) . $_FILES['Filedata']['name']);

    //$fileTypes = str_replace('*.','',$_REQUEST['fileext']);
    //$fileTypes = str_replace(';','|',$fileTypes);
    //$typesArray = split('\|',$fileTypes);
    $fileParts = pathinfo($_FILES['Filedata']['name']);

    if (!isset($fileParts['extension']))
    {
    $fileParts['extension'] = '';
    }
    //if (in_array($fileParts['extension'],$typesArray)) {
    mkdir(str_replace('//','/',$targetPath), 0755, true);
    if (move_uploaded_file($tempFile,$targetFile)) {
    $arr_filetype = explode('_-_',$_REQUEST['doctype']);
    $arr_data = array();
    $arr_data['accountid'] = $_REQUEST['accountid'];
    $arr_data['userid'] = $_REQUEST['userid'];
    $arr_data['filename'] = $_FILES['Filedata']['name'];
    $arr_data['extention'] = strtolower($fileParts['extension']);
    $arr_data['path'] = $targetFile;
    $arr_data['uploadeddatetime'] = date("Y-m-d H:i:s");
    $arr_data['filetype'] = $arr_filetype[0];
    $arr_data['description'] = $arr_filetype[1];
    $this->db->insert('account_document_files', $arr_data);
    $this->output->set_output("1");
    }
    else {
    $this->output->set_output("Upload error!");
    }
    //} else {
    // $this->output->set_output('Invalid file type.');
    //}
    }
    }
  • No problems here. Tested with Flash 10,1,102,64, Mozilla, Mac OSX 10.4.x
  • Hasn't worked for me since flash 9 with firefox centos server with windows box.
  • This is because flash no longer passes the session. So you have to do it yourself. Sorta screws me because we use HTTP only cookies for authentication. Makes uploadify completely useless to us.