Howdy, Stranger!

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

HTTP ERROR
  • Hello there, i just update uploadify to the last version and i have an issue... when i upload files it's all ok but the queue doesnt hide... instead of that i have a msg over the progress bar (already completed) and say HTTP ERROR (this msg is just to the right of the name fali and size,

    i.e.: mypicture.png (0.70KB) - HTTP Error
    progress bar (completed)


    Do you know why is this?? plz help... thanx in advance.. i love this plugind :D
  • use onError to determine what the HTTP error is
  • can u give me an example of onError function plz? thnx in advance
  • Hi

    Add the following where you set up uploadify

    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.info);
    else if (d.type === \"File Size\")
    alert(c.name + ' ' + d.type + ' Limit: ' + Math.round(d.sizeLimit / 1024) + 'KB');
    else
    alert('error ' + d.type + \": \" + d.info);
    }
  • Hi, I am using uploadify latest version with ruby on rails 3.0.3 project. Seems all r fine, except after the file uploading panel show 100% complete with file name and the size, the alert shows "error HTTP:undefined". Can anybody help me regarding this, I only wanted to know what's that meaning by HTTP:undefined.