Howdy, Stranger!

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

#2038 error ...
  • Hello,

    I have a problem with my uploadify. I tought it was working but sometimes it fails at certain files. I'm uploading mp3 files +-100MB.

    The error I getting is IOerror:undefined. Sometimes it works perfectly! could it have any thing to do with the filename ?

    Here is my code

    Script code

    $('#mp3').uploadify({
    'uploader' : 'http://www.tracklister.net/assets/javascript/uploadify/uploadify.swf',
    'script' : 'http://www.tracklister.net/ajax/uploadmp3file/<tag:liveset_id />/<tag:accountid />/',
    'cancelImg' : 'http://www.tracklister.net/assets/javascript/uploadify/cancel.png',
    'auto' : true,
    'fileExt' : '*.mp3',
    'fileDesc' : 'Only Mp3 files allowed',
    'fileDataName' : 'mp3',
    'width' : 107,
    onComplete: function(event, queueID, fileObj, response, data) {
    var index = response.search(/error=/);

    if(index!=-1)
    {
    alert(response.replace(/error=/, \"\"));
    }
    else
    {
    $(\".uploadinformation\").html(response);
    alert(\"Thank you for uploading this liveset and making Tracklister a better place!\");
    }
    },
    onError: function (a, b, c, d) {
    if (d.status == 404)
    alert('Could not find upload script. Use a path relative to: '+'<?= getcwd() ?>');
    else if (d.type === \"HTTP\")
    alert('error '+d.type+\": \"+d.status);
    else if (d.type ===\"File Size\")
    alert(c.name+' '+d.type+' Limit: '+Math.round(d.sizeLimit/1024)+'KB');
    else
    alert('error '+d.type+\": \"+d.text);
    }
    });
    });
    // ]]></script>


    .htaccess file
    RewriteEngine On
    RewriteBase /

    php_value max_execution_time 7200
    php_value max_input_time 7200

    php_value memory_limit 64M
    php_value file_uploads On

    php_value upload_max_filesize 500M
    php_value post_max_size 500M

    ##STILL NEEDS 404 REDIRECTION##


    RewriteCond %{REQUEST_FILENAME} -f
    RewriteRule ^(.*)$ - [L]

    RewriteRule ^assets/(.*) index.php?module=assets&amp;filepath=$1 [L]
    RewriteRule ^(.*)/(.*)/(.*)/(.*)/(.*)/ index.php?module=$1&amp;action=$2&amp;param1=$3&amp;param2=$4&amp;param3=$5 [L]
    RewriteRule ^(.*)/(.*)/(.*)/(.*)/ index.php?module=$1&amp;action=$2&amp;param1=$3&amp;param2=$4 [L]
    RewriteRule ^(.*)/(.*)/(.*)/ index.php?module=$1&amp;action=$2&amp;param1=$3 [L]
    RewriteRule ^(.*)/(.*)/ index.php?module=$1&amp;action=$2 [L]
    RewriteRule ^(.*)/ index.php?module=$1 [L]



    Thanks in advance!
  • Looks like I also get a HTTP error. I use MOD_REWRITE. Some people don't have any problems and they can upload. Anybody an idea?

    [EDIT]
    On linux I get

    --> Error object
    info: 413
    type: HTTP

    On Windows (Virtualbox) (worked few times)
    --> Error object
    error: #2038
    type: IOError